|
From: Enno R. <enn...@gm...> - 2023-07-12 18:15:22
|
On 12-Jul-23 15:00, je...@fo... wrote: > On 2023-07-11 13:45, Enno Rehling wrote: > > I made a note of this problem. The issue is difficult and may some > time to fix. So it's not a problem with how I create my popup? At least that means I can stop trying to fix it :-) I forgot to mention this is with the stable version of Fox (1.6.57). > Of course, the reason its not a widely expressed problem is that the > popup must have been popped up with the mouse, and thus one would > typically then use the mouse to use the popup menu, rather than > switch to the keyboard. The same thing happens when I open the popup with the keyboard (I have a SEL_KEYPRESS handler that listens for Shift-F10). > The problem is what happens if you have a sub-pupup. Grabbing the > sub-popup would have to know where to revert the grab to when unpopped. I don't have a sub-popup, I only have this one context menu, which does not spawn any further ones. > However, some popup menus may be either poppup up via context right- > click, and sometimes from pulldown menu. > > The pulldown menus get their key events delivered via the normal > focus-chain from the top-window. There are some interactions. Yes, cursor key navigation in FXMenuBar pulldown menus seems to work as expected. It's only when I open a menu with runModalWhileShown that it doesn't. Enno. |