Re: [PATCH 2/4] Fix drop-down menus in the git-gui dialogs.
From: Eygene Ryabinkin <hidden>
Date: 2016-06-15 22:43:03
Shawn, good day. Thu, Apr 05, 2007 at 11:32:26AM -0400, Shawn O. Pearce wrote:
quoted
OK, I will try to find the other workaround, but I have no Mac OS X at hand (they are a bit expensive to me), so I hope you will find some time to test the new approaches, if I will come up with any.That's fine. I'd be happy to retest something. If I understood your problem description right, this bug doesn't appear on either Cygwin's Tcl/Tk implementation or my Mac OS X implementation. Maybe this is one of those things that we just have to do conditionally per OS.
I was not tested this under Cygwin. But the wrong list behaviour I got is appearing only in dialogs. I am not getting this in the gitk: there are many drop-down menus in the main window. All of them are disappearing once I depress the mouse button no matter where the cursor is. So this issue can be dialog-specific, but I believe that the main window and dialog windows are handled by Tcl/Tk on the same footing. Thought, I do not 100% sure.
If that's the case, maybe we should also consider making our own local variant of tk_optionMenu (a wrapper of sorts) that sets our font_ui, and does this grab fix on your platform.
I think this would be the last hope. I will try to understand the problem a bit deeper first. Thank you! -- Eygene