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

[Bug]: Extreme globalShortcut flakiness on Kubuntu 24.04 Wayland #42573

Open
3 tasks done
Nantris opened this issue Jun 19, 2024 · 2 comments
Open
3 tasks done

[Bug]: Extreme globalShortcut flakiness on Kubuntu 24.04 Wayland #42573

Nantris opened this issue Jun 19, 2024 · 2 comments
Labels
31-x-y bug 🪲 component/globalShortcut has-repro-gist Issue can be reproduced with code at https://gist.github.com/ platform/linux wayland

Comments

@Nantris
Copy link
Contributor

Nantris commented Jun 19, 2024

Preflight Checklist

Electron Version

31.0.1

What operating system are you using?

Ubuntu

Operating System Version

Kubuntu 24.04

What arch are you using?

x64

Last Known Working Electron version

30.1.x

Expected Behavior

globalShortcut works from all applications

Actual Behavior

globalShortcut is ignored in some application (eg Sublime Text) despite not having any interfering local shortcut in that application.

Testcase Gist URL

No response

Additional Information

It works fine if the focused application is Chrome, Android Studio, or the Android Emulator

It fails if I focus Sublime Text, Firefox, Dolphin, or no applications.

Specifically testing using Ctrl+Shift+Z and Ctrl+Shift+X

This seems to have been reported years ago and simply rejected as a wontfix? #15863 That would make all our years of development a waste if that's really not going to be fixed.

@electron-issue-triage
Copy link

Hello @Nantris. Thanks for reporting this and helping to make Electron better!

Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

Now adding the blocked/need-repro Needs a test case to reproduce the bug label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

@Nantris
Copy link
Contributor Author

Nantris commented Jun 20, 2024

@VerteDinde I cannot test this Electron Fiddle since Electron Fiddle is broken in Kubuntu 24.04, but this problem is exceptionally straightforward to demonstrate and this Fiddle should work: https://gist.github.com/07f00c727fca205776f8abae9aec3c40

@electron-issue-triage electron-issue-triage bot removed the blocked/need-repro Needs a test case to reproduce the bug label Jun 20, 2024
@mlaurencin mlaurencin added the has-repro-gist Issue can be reproduced with code at https://gist.github.com/ label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
31-x-y bug 🪲 component/globalShortcut has-repro-gist Issue can be reproduced with code at https://gist.github.com/ platform/linux wayland
Projects
Status: 👍 Does Not Block Stable
Development

No branches or pull requests

4 participants