Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Submenu on Shortcut #42

Open
2 tasks
Zren opened this issue Mar 19, 2021 · 0 comments
Open
2 tasks

Open Submenu on Shortcut #42

Zren opened this issue Mar 19, 2021 · 0 comments

Comments

@Zren
Copy link
Owner

Zren commented Mar 19, 2021

As mentioned in Issue #1.

  • Open Submenu on Shortcut.
    • 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.
  • Display mnemonics when holding Alt.

This requires changes upstream in KWin to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant