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

mac/dialog: release all input keys when modal steals key input #15884

Merged
merged 2 commits into from
Feb 19, 2025

Conversation

Akemi
Copy link
Member

@Akemi Akemi commented Feb 16, 2025

@kasper93 a heads up, this might lead to some merge conflicts with your dialog branch. also the save function needs the panel delegate set too (eg panel.delegate = self).

modal dialogs steal the key/mouse input and possibly eat corresponding key up events when opening via key binding. this leads to key sequence ends to not reported and key bindings not being triggered if no key up event was triggered after closing the modal.

use the proper initialFirstResponder variable
modal dialogs steal the key/mouse input and possibly eat corresponding
key up events when opening via key binding. this leads to key sequence
ends to not reported and key bindings not being triggered if no key up
event was triggered after closing the modal.
Copy link

Download the artifacts for this pull request:

Windows
macOS

@Akemi Akemi merged commit 76e3e8a into mpv-player:master Feb 19, 2025
26 checks passed
@Akemi Akemi deleted the mac_dialog branch February 19, 2025 15:10
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.

1 participant