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

(fix/UX) Track menu: Left key in Search related & Crates menus closes them again #13602

Open
wants to merge 1 commit into
base: 2.5
Choose a base branch
from

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented Aug 26, 2024

If a QWidgetAction in either Search related & Crates menu is focused, Left/Right keys are translated to Up/Down which prevents closing the submenus with Left key like in other submenus.
(in the Crates menu left works as soon as the New Crate button is reached)

Fix:

Translate Left to Esc to close this submenu.
Call hide() of the respective sumenu.

For fixing the crates menu this should actually go to 2.4 ("Search related Tracks" has QWidgetActions only in 2.5), but since we're going to release that shortly before 2.5 I think it's okay to merge the double fix to 2.5-beta

@github-actions github-actions bot added the ui label Aug 26, 2024
@ronso0 ronso0 added this to the 2.5.0 milestone Sep 6, 2024
@ronso0 ronso0 force-pushed the trackmenu-left-close-submenu branch from bba8f41 to 693c17e Compare September 9, 2024 22:17
@ronso0 ronso0 changed the title (fix/UX) Track menu: translate Left key to Esc in Search related & Crates menus (fix/UX) Track menu: Left key in Search related & Crates menus closes them again Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant