If you use Wayland, set the keyboard layout to "English, US, intl. with dead keys" and then try to switch between windows of the same application using "Alt+`" and "Alt+~", you have to press twice the "`" key in order to be able to change between windows. On X11 this also didn't work as expected, but a workaround I found to make it work to use two layouts, first "English (intl., with AltGr dead keys)" and second "English (US, intl., with dead keys)", as suggested in #405404 STEPS TO REPRODUCE 1. Create a new user on your system 2. Login to that new user using Wayland 3. Add the "English, US, intl. with dead keys" keyboard layout 4. Open two or more windows of the same application 5. Try to switch between them using "Alt+`" and "Alt+~" OBSERVED RESULT You have to press the "`" key twice (while holding Alt) in order to change between windows EXPECTED RESULT You can change between windows by pressing "Alt+`" or "Alt+~" only once. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon 5.24 KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION
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 ***