Bug 476831 - Per application Keyboard Layout not remembered under Wayland
Summary: Per application Keyboard Layout not remembered under Wayland
Alias: None
Product: plasmashell
Classification: Plasma
Component: Keyboard Layout (show other bugs)
Version: 5.27.9
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
Keywords: wayland
Depends on:
Reported: 2023-11-11 09:49 UTC by Silver Salonen
Modified: 2024-03-06 15:42 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
butirsky: Wayland+


Note You need to log in before you can comment on or make changes to this bug.
Description Silver Salonen 2023-11-11 09:49:03 UTC
I use "Application" Switching Policy for keyboard layouts. When used under X11, layout mappings for applications were always remembered, even across sessions. Under Wayland they are not remembered, even within the same session.

1. Use Wayland session
2. Configure multiple (I use 2) keyboard layouts

I always switch to US layout when using Konsole. When closing Konsole and starting it again, it uses my first layout instead.

After switching layout for an application and closing the application, re-opening the application should also switch to the layout used last with this application.

KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Comment 1 Andrey 2024-01-12 16:12:32 UTC
This bug might be related with Session management on Wayland which is not quite implemented yet.

*** This bug has been marked as a duplicate of bug 436318 ***
Comment 2 Andrey 2024-01-12 16:15:00 UTC
If it's doubtful this should be handled with the session management, we can reopen the bug.
Comment 3 Silver Salonen 2024-01-13 07:14:30 UTC
I'm not sure what component handles this, but it does not seem to me it's related to session. The use-case I described is done during the same session, not over several sessions.
Although previously, I think per application keyboard layouts indeed were remembered across sessions too.