You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Figure out how to detect when decoration->windowId changes so I can update AppMenuModel->winId as KWin reuses the decorations I think. It will sometimes show the menu for Dolphin over top a SublimeText window.
SublimeText has mnemonics, and opens app submenus at the top left of the window (relative (0,0)). So I'll probably need to adjust the position during an aboutToOpen signal or something. Or update it's position during updateButtonGeometry.
The shortcut opens the LIM submenu instead of the Global Menu in Sublime Text, which is a good sign.
Decorations don't recieve KeyEvents afaik. So it's not possible to detect Alt pressed. I don't think it's possible to detect a menu shortcut either. Gtk menus open (in the wrong spot), but Qt menus don't at all.
decoration->windowIdchanges so I can updateAppMenuModel->winIdas KWin reuses the decorations I think. It will sometimes show the menu for Dolphin over top a SublimeText window.QMenuBaror implement:DecoratedButton::hoverEnterEvent(0,0)). So I'll probably need to adjust the position during anaboutToOpensignal or something. Or update it's position duringupdateButtonGeometry.Alt.Escto closeFeatures