You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a Linux OS, when adding .on_key_up() or .on_key_down() to the main view in order to register some global shortcuts, nothing happens. Hitting any key does not trigger the keyboard event.
Then the global shortcut worked (it crashed the app totally, but it prooves that the keyboard event was triggered, indeed other keys did nothing at all).
The text was updated successfully, but these errors were encountered:
On a Linux OS, when adding
.on_key_up()
or.on_key_down()
to the main view in order to register some global shortcuts, nothing happens. Hitting any key does not trigger the keyboard event.How to reproduce
On a Linux OS, run this code (floem = 0.1.1):
Then press the "F11" key => nothing is printed to the console.
The same problem happens:
Tiny investigation
Maybe this is because the user's main view is wrapped into a
stack(container())
for linux platforms:floem/src/window_handle.rs
Line 108 in ab125b7
As an experiment I tried to replace this block by:
Then the global shortcut worked (it crashed the app totally, but it prooves that the keyboard event was triggered, indeed other keys did nothing at all).
The text was updated successfully, but these errors were encountered: