electron / electron

:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
https://electronjs.org
MIT License
114.45k stars 15.46k forks source link

[Bug]: Electron ignores XCompose settings when running natively on Wayland #43751

Open AndrewKvalheim opened 2 months ago

AndrewKvalheim commented 2 months ago

Preflight Checklist

Electron Version

33.2.0

What operating system(s) are you using?

Other Linux

Operating System Version

NixOS 24.05

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

Compose sequences defined in ~/.XCompose can be typed.

Actual Behavior

When running natively on Wayland, user-defined compose sequences are unrecognized; only the system default compose sequences can be typed.

Testcase Gist URL

No response

Additional Information

Re https://github.com/electron/electron/issues/39957#issuecomment-1785932393

electron-issue-triage[bot] commented 2 months ago

Hello @AndrewKvalheim. 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 https://github.com/electron/electron/labels/blocked%2Fneed-repro 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.

AndrewKvalheim commented 2 months ago

only the code necessary to reproduce the issue

<input>

Here’s a gist.

filiptrplan commented 1 day ago

Have you found any solutions to this?