Bug 485635 - Keyboard layout is not restored in Wayland
Summary: Keyboard layout is not restored in Wayland
Status: RESOLVED DUPLICATE of bug 412101
Alias: None
Product: plasmashell
Classification: Plasma
Component: Keyboard Layout (show other bugs)
Version: master
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-16 14:45 UTC by Wismill
Modified: 2024-04-16 18:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wismill 2024-04-16 14:45:04 UTC
SUMMARY
Last used keyboard layout is not restored when using a Wayland session.


STEPS TO REPRODUCE
1. Configure at least 2 keyboard layouts with Global policy in a Wayland session. E.g.: us,de.
2. Switch to the second layout (de).
3. Logout
4. Login

OBSERVED RESULT
Current layout is the first layout (us).

EXPECTED RESULT
Current layout should be the last used layout, i.e. the second one (de).


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: master (6.0.80)
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
-
Comment 1 Wismill 2024-04-16 14:51:16 UTC
Note that it works in X11 session.
Comment 2 Andrey 2024-04-16 15:12:03 UTC
Please make sure you have following option enabled:
system settings -> startup and shutdown -> desktop session -> "restore previous session"

*** This bug has been marked as a duplicate of bug 412101 ***
Comment 3 Wismill 2024-04-16 15:36:16 UTC
(In reply to Andrey from comment #2)
> Please make sure you have following option enabled:
> system settings -> startup and shutdown -> desktop session -> "restore
> previous session"

I do have this option activated, but it does not work.
Comment 4 Wismill 2024-04-16 15:51:43 UTC
Actually it does *not* work in 6.0.3 either. I just tried with a fresh new user.
Comment 5 Andrey 2024-04-16 18:00:58 UTC
What's your layout switching policy?
Please note it doesn't work for App (or Window?) Switching policy.

Either way it's a duplicate, if it regressed let's continue in the original report.
I don't think we need a new one.

*** This bug has been marked as a duplicate of bug 412101 ***
Comment 6 Wismill 2024-04-16 18:48:46 UTC
(In reply to Andrey from comment #5)
> What's your layout switching policy?
> Please note it doesn't work for App (or Window?) Switching policy.
> 
As written in the description, it’s the Global policy.

> Either way it's a duplicate, if it regressed let's continue in the original
> report.
> I don't think we need a new one.
> 
Your call.