| Summary: | Current application switching doesn't work properly in Wayland with US + deadkeys layout | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Guido Sanchez <sanchez.guido> |
| Component: | core | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | bugseforuns, butirsky, kde, kwizzz, nate |
| Priority: | NOR | Flags: | butirsky:
Wayland+
|
| Version First Reported In: | 5.27.4 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=405404 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Current keyboard settings | ||
|
Description
Guido Sanchez
2022-03-27 18:16:36 UTC
Same problem with brazilian portuguese (abnt2) keyboard layout. I need to press "`" key twice while holding shift key. Operating System: Arch Linux KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Graphics Platform: Wayland Could you try if adding extra "English" layout without dead keys as first one helps? (Switching should happen with "dead keys" layout active, of course) Created attachment 147821 [details]
Current keyboard settings
These are the current keyboard settings under a newly created user using all default desktop configurations.
Thanks. I suspect it might be rather Qt problem because it's Qt who traverses among configured layouts to find Latin keysym for a key. Needs further investigation. I tried doing that (attached a screenshot), but the behavior of "Alt+`" and "Alt+~" didn't change using Wayland. That workaround is also suggested in Bug #405404 and is needed in order for the switching between windows of the same application to work under X11. If adding extra US layout worked, do you think it would be acceptable solution? If so we could try to improve things on Qt side: https://github.com/xkbcommon/libxkbcommon/issues/287 Andrey, Adding the extra layout doesn't work when using Wayland. The suggestion on the Github issue you mention seems logical, but I don't know how to help there. I will be glad to provide any additional info you need. I mean - with the Qt change suggested, adding the layout would help. Not sure how appropriate this solution would be from a user perspective. I think that fix would be OK, at least for me. Came across this one via https://bugs.kde.org/show_bug.cgi?id=405404. Is there any successful workaround on this? I started with the default US layout, then checked the option "Configure layouts" under Keyboard > Layouts. First I added US intl with dead keys, because I thought that English US will stay, which it didn't. So I added English US to the Layouts. Then changed the order to have English US listed first. No issues on X when using dead keys, but Wayland doesn't behave. *** This bug has been marked as a duplicate of bug 405404 *** |