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

Global shortcut registration failed: CTRL+Shift+X in Wayland #3789

Open
tegridyfarmer opened this issue Dec 23, 2024 · 1 comment
Open

Global shortcut registration failed: CTRL+Shift+X in Wayland #3789

tegridyfarmer opened this issue Dec 23, 2024 · 1 comment

Comments

@tegridyfarmer
Copy link

Your Environment

  • Version used: Flatpak (flathub user) 11.0.3
  • Operating System and version: Fedora Linux 41 x86_64
  • Kernel: Linux 6.12.5-200.fc41.x86_64
  • Desktop Environment: KDE Plasma 6.2.4
  • Browser Name and version:

Expected Behavior

The shortcut CTRL+Shift+X should work under Wayland when legacy X11 app support is disabled.

Current Behavior

On start I get the following message every time.
image

It should allow the shortcut to wor under Wayland without relaying on legacy X11 support.

Steps to Reproduce (for bugs)

  1. In the settings on KDE disable the global shortcuts like done in the image.
    image
  1. Add ELECTRON_OZONE_PLATFORM_HINT = auto as a variable under Flatpak permissions in the settings
    image
  1. Close all SuperProductivity instances.
  2. Start SuperProductivity again and see the error message.

Can you reproduce this reliably?

Yes, this happens every time I start the program.

Console Output

Error Log (Desktop only)

flatpak run com.super_productivity.SuperProductivity
[3:1223/121905.285229:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Start app...
12:19:05.715 › { enabled: null, showDevTools: false, mode: 'bottom' }
[3:1223/121905.872889:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1223/121905.873004:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Saving backups to /home/user/.var/app/com.super_productivity.SuperProductivity/config/superProductivity/backups
12:19:05.991 › Saving backups to /home/user/.var/app/com.super_productivity.SuperProductivity/config/superProductivity/backups
[3:1223/121906.004884:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1223/121906.004995:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1223/121906.005059:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
12:19:07.739 › No custom styles detected at /home/user/.var/app/com.super_productivity.SuperProductivity/config/superProductivity/styles.css
ERR Global Shortcut registration failed: Ctrl+Shift+X
12:19:07.915 › Error: Global Shortcut registration failed: Ctrl+Shift+X
at errorHandlerWithFrontendInform (/app/superproductivity/resources/app.asar/electron/error-handler-with-frontend-inform.js:10:18)
at /app/superproductivity/resources/app.asar/electron/ipc-handler.js:181:101
at Array.forEach ()
at registerShowAppShortCuts (/app/superproductivity/resources/app.asar/electron/ipc-handler.js:140:18)
at IpcMainImpl. (/app/superproductivity/resources/app.asar/electron/ipc-handler.js:110:9)
at IpcMainImpl.emit (node:events:518:28)
at WebContents. (node:electron/js2c/browser_init:2:86665)
at WebContents.emit (node:events:518:28)
12:19:07.916 › Global Shortcut registration failed: Ctrl+Shift+X Error: Global Shortcut registration failed: Ctrl+Shift+X
at errorHandlerWithFrontendInform (/app/superproductivity/resources/app.asar/electron/error-handler-with-frontend-inform.js:10:18)
at /app/superproductivity/resources/app.asar/electron/ipc-handler.js:181:101
at Array.forEach ()
at registerShowAppShortCuts (/app/superproductivity/resources/app.asar/electron/ipc-handler.js:140:18)
at IpcMainImpl. (/app/superproductivity/resources/app.asar/electron/ipc-handler.js:110:9)
at IpcMainImpl.emit (node:events:518:28)
at WebContents. (node:electron/js2c/browser_init:2:86665)
at WebContents.emit (node:events:518:28)
12:19:07.917 › Additional Error info: Ctrl+Shift+X
^C
[3 preload-host-spawn-strategy] Dropping 0x1f9000038d80 (3) because of connection closed
12:28:40.389 › close, isQuiting: null
[3:1223/122840.391080:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.

@tegridyfarmer tegridyfarmer changed the title Global icon registration failed: CTRL+Shift+X on boot in Wayland Global shortcut registration failed: CTRL+Shift+X on boot in Wayland Dec 23, 2024
Copy link

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

@tegridyfarmer tegridyfarmer changed the title Global shortcut registration failed: CTRL+Shift+X on boot in Wayland Global shortcut registration failed: CTRL+Shift+X in Wayland Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants