Skip to content

Key navigation fixes in player window input fields (fixes #3039, #3206) #4587

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

Merged
merged 2 commits into from
Jun 8, 2024

Conversation

svobs
Copy link
Contributor

@svobs svobs commented Aug 17, 2023


Description:

  1. Adds a check for arrow keys to text input fields, so that they always navigate inside the text instead of activating menu items.
  2. Updates all the Quick Settings controls which should never have keyboard focus to refuse first responder status, so that pressing TAB or SHIFT+TAB in a text field doesn't create an unusable glowing focus ring around one of them.

@svobs svobs changed the title Key navigation fixes in player window input fields (fixes #3206) Key navigation fixes in player window input fields (fixes #3039, #3206) Aug 17, 2023
@svobs svobs force-pushed the pr-fix-sidebar-text-arrow-nav branch from a04c4e4 to 777edba Compare August 23, 2023 06:30
@svobs svobs force-pushed the pr-fix-sidebar-text-arrow-nav branch 2 times, most recently from d0362d6 to 38cbe41 Compare January 11, 2024 10:47
@svobs
Copy link
Contributor Author

svobs commented Jan 11, 2024

Rebased + scaled down the changes so that only the text field issue is now addressed. The fix for table navigation was only halfway there anyway.

More detail:
• Add check for arrow keys in text fields to MainWindow & send to the
  text field instead of handling as mpv binding
• Change views in sidebars to refuse first responder so that tabbing out
  of a text field doesn't add an unwanted focus ring around them.
@svobs svobs force-pushed the pr-fix-sidebar-text-arrow-nav branch from 38cbe41 to 8e13236 Compare May 29, 2024 05:35
@svobs
Copy link
Contributor Author

svobs commented May 29, 2024

Rebased to fix merge problems + improved commit msg.

@uiryuu uiryuu merged commit b3d248c into iina:develop Jun 8, 2024
@uiryuu
Copy link
Member

uiryuu commented Jun 8, 2024

Thanks!

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

Successfully merging this pull request may close these issues.

Arrow keys in input fields in Quick Settings should not affect playback Arrow keys skip time instead of characters when in settings input field
2 participants