Skip to content

globalShortcut not very global in Wayland #15863

@Pajn

Description

@Pajn
  • Output of node_modules/.bin/electron --version: v3.0.10
  • Operating System (Platform and Version): Ubuntu 18.10, Wayland
  • Output of node_modules/.bin/electron --version on last known working Electron version (if applicable): N/A

Expected Behavior
After registering a global shortcut it should always be called when that combinations is pressed.
If the DE holds that shortcut it may be captured by the DE though. But a free combination should continue to work when new applications are opened though.

Actual behavior
Some applications, for example gnome-terminal capture the shortcut so that it is registered by the application instead of my global handler.

To Reproduce
Use gnome wayland session, Register a global shortcut and make sure it works, Open gnome-terminal and see that it does not work.

Screenshots
N/A

Additional Information
N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions