Opened 16 months ago

Last modified 16 months ago

#18172 new bug

Screenshot and Twitcher shortcuts stop working if handling key events in BWindow::DispatchMessage

Reported by: X512 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev56630.

Adding key down handling in a method overriding BWindow::DispatchMessage cause screenshot and Twitcher shortcuts not working if window is focused. Key down handling in BWindow::DispatchMessage is required for applications that implements its own shortcut handling such as GTK over Wayland, for virtual machines and remote desktop clients.

This happens because screenshot and Twitcher shortcuts handling is done in BWindow::DispatchMessage (https://github.com/haiku/haiku/blob/c9e5ef8796122ccd09cd39ff1e8b354547e0a511/src/kits/interface/Window.cpp#L3671), but it should be done input_server (and/or its add-ons).

Change History (1)

Note: See TracTickets for help on using tickets.