Alt-F4 doesn't work on Windows #20

Closed
opened 2023-07-19 23:38:53 +00:00 by bvisness · 2 comments
Owner

Alt-F4 just gets sent to the application as keypresses. Maybe this is reasonable, but it also seems like something we should do by default unless the user explicitly opts into receiving "system" keystrokes like that?

Alt-F4 just gets sent to the application as keypresses. Maybe this is reasonable, but it also seems like something we should do by default unless the user explicitly opts into receiving "system" keystrokes like that?
Collaborator

yeah we should probably intercept that and emit an MP_EVENT_QUIT event. What are other system shortcuts we should support on windows?

yeah we should probably intercept that and emit an `MP_EVENT_QUIT` event. What are other system shortcuts we should support on windows?
Author
Owner

Assuming the window is resizable, we should probably support things like windows-up to maximize and windows-down to minimize. (Maybe those already work?) Obviously we'll want things like ctrl-c and ctrl-v to work at some point but that might need to be handled by the UI layer. Alt-tab needs to keep working.

It might just be a good idea to peruse this page and see if the big ones work: https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec

Assuming the window is resizable, we should probably support things like windows-up to maximize and windows-down to minimize. (Maybe those already work?) Obviously we'll want things like ctrl-c and ctrl-v to work at some point but that might need to be handled by the UI layer. Alt-tab needs to keep working. It might just be a good idea to peruse this page and see if the big ones work: https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec
Sign in to join this conversation.
No Label
macOS
windows
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/orca#20
No description provided.