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

Please implement the 'Grab all keyboard events' option to allow certain keyboard events to not be consumed #1206

Open
yurivict opened this issue Jan 8, 2024 · 0 comments
Assignees
Labels
type:feature New feature or request

Comments

@yurivict
Copy link

yurivict commented Jan 8, 2024

Is your feature request related to a problem? Please describe.

Please allow the user to toggle the connection option 'Grab all keyboard events' when the screen is in a fullscreen mode.
This way the user would be able to "glance" into the connection with Alt-Tab and go away with another Alt-Tab, and not get stuck in that screen.

Remmina does this right: It allows the user to toggle the 'Grab all keyboard events' option with the button and the keyboard shortcut.

Describe the solution you'd like
At least the Alt-Tab even would not be consumed, and possibly some other events related to navigation.

Describe alternatives you've considered
n/a

Additional context
This feature is very useful when the user shares time between different systems and needs to be able to easily go back and forth.

How it should work

  • The session in the browser should have the boolean 'Grab all keyboard events' attribute.
  • When it is True - it should work as now.
  • When it is False - it should allow Alt-Tab to switch away from the browser to other host windows.
  • There should be a configurable keyboard shortcut that toggles 'Grab all keyboard events'.
  • There should also be a button in the floating menu to toggle 'Grab all keyboard events'.
  • Also, when the floating menu is opened - 'Grab all keyboard events' should be automatically assumed to be False so that the user would be able to move the mouse up, the menu would float out, and the user would be able to Alt-Tab to another host window.
@yurivict yurivict changed the title Keyboard events are always consumed when the screen is in full screen Please implement the 'Grab all keyboard events' option to allow certain keyboard events to not be consumed Jan 8, 2024
@mdevaev mdevaev self-assigned this Jan 27, 2024
@mdevaev mdevaev added the type:feature New feature or request label Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or request
Development

No branches or pull requests

2 participants