
Glenn McIntosh via luv-main <luv-main@luv.asn.au> writes:
More seriously - if you set 'ui.popup.disable_autohide' to 'true' in firefox config (about:config), presumably the menus remain?
Yes, that does help...
This isn't a solution, because it means you have to escape out of firefox menus, but it would be interesting to see if there was some interaction with this autohide code. It seems at least one other person is seeing a bug here https://support.mozilla.org/en-US/questions/1273349
Yes, that sounds familiar also. I thought maybe it was related to using i3, but he is using OSX...
I'm assuming that for some reason firefox is thinking that the menu is losing focus. You could possibly use 'xev' and 'xprop -spy' to monitor the misbehaving firefox window you've opened from emacs/notmuch, see if there are any unexpected events?
I am not making any sense of xev output. It is hard to know at what point the menu disappears. Before or after that LeaveNotify? (assume this is focus related). I am not seeing any mouse events. So wonder if I am not getting the right window id. But 0x5000003 it looks right: $ xwininfo xwininfo: Please select the window about which you would like information by clicking the mouse in that window. xwininfo: Window id: 0x5000003 "Dropdown Menus in Firefox Wont Stay Open | Firefox Support Forum | Mozilla Support - Mozilla Firefox" Absolute upper-left X: 3202 Absolute upper-left Y: 786 Relative upper-left X: 2 Relative upper-left Y: 0 Width: 1276 Height: 1560 Depth: 24 Visual: 0x2b Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x5000002 (not installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +3202+786 -2+786 -2-22 +3202-22 -geometry 1276x1560-0-20 On mouse down (nothing appears): PropertyNotify event, serial 22, synthetic NO, window 0x5000003, atom 0x15f (_NET_WM_USER_TIME), time 59001725, state PropertyNewValue On mouse up (menu appears and disappears): VisibilityNotify event, serial 22, synthetic NO, window 0x5000003, state VisibilityPartiallyObscured LeaveNotify event, serial 22, synthetic NO, window 0x5000003, root 0x1e4, subw 0x0, time 59008478, (1163,56), root:(4365,842), mode NotifyNormal, detail NotifyNonlinear, same_screen YES, focus YES, state 0 Expose event, serial 22, synthetic NO, window 0x5000003, (806,53), width 364, height 1, count 20 Expose event, serial 22, synthetic NO, window 0x5000003, (1172,53), width 19, height 1, count 19 Expose event, serial 22, synthetic NO, window 0x5000003, (806,54), width 363, height 1, count 18 Expose event, serial 22, synthetic NO, window 0x5000003, (1173,54), width 18, height 1, count 17 Expose event, serial 22, synthetic NO, window 0x5000003, (806,55), width 362, height 1, count 16 Expose event, serial 22, synthetic NO, window 0x5000003, (1174,55), width 17, height 1, count 15 Expose event, serial 22, synthetic NO, window 0x5000003, (806,56), width 361, height 1, count 14 Expose event, serial 22, synthetic NO, window 0x5000003, (1175,56), width 16, height 1, count 13 Expose event, serial 22, synthetic NO, window 0x5000003, (806,57), width 360, height 1, count 12 Expose event, serial 22, synthetic NO, window 0x5000003, (1176,57), width 15, height 1, count 11 Expose event, serial 22, synthetic NO, window 0x5000003, (806,58), width 359, height 1, count 10 Expose event, serial 22, synthetic NO, window 0x5000003, (1177,58), width 14, height 1, count 9 Expose event, serial 22, synthetic NO, window 0x5000003, (806,59), width 358, height 1, count 8 Expose event, serial 22, synthetic NO, window 0x5000003, (1178,59), width 13, height 1, count 7 Expose event, serial 22, synthetic NO, window 0x5000003, (806,60), width 357, height 1, count 6 Expose event, serial 22, synthetic NO, window 0x5000003, (1179,60), width 12, height 1, count 5 Expose event, serial 22, synthetic NO, window 0x5000003, (806,61), width 356, height 1, count 4 Expose event, serial 22, synthetic NO, window 0x5000003, (1180,61), width 11, height 1, count 3 Expose event, serial 22, synthetic NO, window 0x5000003, (806,62), width 4, height 602, count 2 Expose event, serial 22, synthetic NO, window 0x5000003, (1187,62), width 4, height 602, count 1 Expose event, serial 22, synthetic NO, window 0x5000003, (806,664), width 385, height 4, count 0 EnterNotify event, serial 22, synthetic NO, window 0x5000003, root 0x1e4, subw 0x0, time 59008479, (1163,56), root:(4365,842), mode NotifyNormal, detail NotifyNonlinear, same_screen YES, focus YES, state 0 KeymapNotify event, serial 22, synthetic NO, window 0x0, keys: 38 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LeaveNotify event, serial 22, synthetic NO, window 0x5000003, root 0x1e4, subw 0x0, time 59008483, (1163,56), root:(4365,842), mode NotifyNormal, detail NotifyNonlinear, same_screen YES, focus YES, state 0 VisibilityNotify event, serial 22, synthetic NO, window 0x5000003, state VisibilityUnobscured Expose event, serial 22, synthetic NO, window 0x5000003, (806,53), width 385, height 615, count 0 EnterNotify event, serial 22, synthetic NO, window 0x5000003, root 0x1e4, subw 0x0, time 59008483, (1163,56), root:(4365,842), mode NotifyNormal, detail NotifyNonlinear, same_screen YES, focus YES, state 0 KeymapNotify event, serial 22, synthetic NO, window 0x0, keys: 4294967268 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -- Brian May <brian@linuxpenguins.xyz> https://linuxpenguins.xyz/brian/