Skip to content

Search bar tweaks#4571

Merged
Holzhaus merged 5 commits intomixxxdj:mainfrom
ronso0:search-tweaks
Jan 1, 2022
Merged

Search bar tweaks#4571
Holzhaus merged 5 commits intomixxxdj:mainfrom
ronso0:search-tweaks

Conversation

@ronso0
Copy link
Copy Markdown
Member

@ronso0 ronso0 commented Dec 17, 2021

Previously, WTrackTableView set the global keyboard shortcut Esc which would always move focus to the tracks table.
Thus Esc closes the search bar popup BUT also immediately removes the focus from the search bar, which made me grumble too often...

This PR removes the Esc shortcut and uses the FocusWidget signals instead (added in #4369 ). Actually kinda straight forward, except with the search bar where I had to use a trick to not capture every Esc keypress. See the inline description.

@github-actions github-actions Bot added the ui label Dec 17, 2021
@ronso0 ronso0 added the library label Dec 17, 2021
Comment thread src/widget/wlibrarysidebar.cpp Outdated
Comment thread src/widget/wsearchlineedit.cpp Outdated
Comment thread src/widget/wlibrarysidebar.cpp Outdated
Comment thread src/widget/wlibrarysidebar.cpp Outdated
Comment thread src/widget/wlibrarysidebar.cpp Outdated
Comment thread src/widget/wlibrarysidebar.cpp Outdated
@ronso0
Copy link
Copy Markdown
Member Author

ronso0 commented Dec 22, 2021

The last changes (thanks @Swiftb0y) are in a fixup commit. Will squash it after the final LGTM

@ronso0
Copy link
Copy Markdown
Member Author

ronso0 commented Dec 26, 2021

Oki do, who'll press merge? : )

@Holzhaus
Copy link
Copy Markdown
Member

Holzhaus commented Jan 1, 2022

I didn't review this myself, but two green checkmarks should suffice :D

@Holzhaus Holzhaus merged commit 0e39c00 into mixxxdj:main Jan 1, 2022
@ronso0 ronso0 deleted the search-tweaks branch January 1, 2022 21:59
@daschuer daschuer added this to the 2.4.0 milestone Jun 21, 2022
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.

5 participants