Summary: | Missing keyboard layout button on SDDM login screen | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Gauthier <g.guerin> |
Component: | Theme - Breeze | Assignee: | visual-design |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | aldo-public, bugseforuns, justin.zobel, nate, plasma-bugs, postix |
Priority: | NOR | ||
Version First Reported In: | 5.20.2 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
URL: | https://github.com/sddm/sddm/issues/1528 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Gauthier
2020-11-04 11:11:26 UTC
Same thing on Arch Linux (Plasma 5.20.2) and neon unstable. Can reproduce on the actual SDDM login screen. But in test mode (`sddm-greeter --test-mode --theme ~/kde/usr/share/sddm/themes/breeze/`), I see the keyboard layout chooser! So there seems to be a problem with displaying it on the real greeter when run with SDDM's user; perhaps it's a permissions issue where the data it needs to grab is in the user's home directory so the greeter's user doesn't see it. (In reply to Nate Graham from comment #2) > Can reproduce on the actual SDDM login screen. But in test mode > (`sddm-greeter --test-mode --theme ~/kde/usr/share/sddm/themes/breeze/`), I > see the keyboard layout chooser! So there seems to be a problem with > displaying it on the real greeter when run with SDDM's user; perhaps it's a > permissions issue where the data it needs to grab is in the user's home > directory so the greeter's user doesn't see it. Yes it is likely a permission issue since keyboard layout are a user specific setting. It therefore makes sense that it works fine on lock screen (where the user session is already opened) but not on login screen (user session has not yet been opened). We somehow need keyboard layout settings for each user to be accessible by/exposed to SDDM before login and when a user is selected on login screen, the default layout is the one used last in that user session with the possibility to change it using the keyboard layout switch button. Or maybe we could make keyboard layouts global, such that the SDDM user could see them too. (In reply to Nate Graham from comment #4) > Or maybe we could make keyboard layouts global, such that the SDDM user > could see them too. Yes this is probably easier and would be good enough for all use cases I can think of :). The only thing to be careful with with making it global is that if one user has several layouts because they speak several languages, and another user on the same machine doesn't, the latter should not get confused with having several keyboard layouts available in their session since switching layout can get triggered accidentally. It appears to be a fundamental issue in SDDM which is tracked by https://github.com/sddm/sddm/issues/1528. There's a fix in progress for the Wayland session; see https://github.com/sddm/sddm/pull/1581. The sddm issue was already fixed, I'm using sddm-git with two keyboard layouts on Arch Linux and there is no way to change the keyboard layout in sddm yet. So it was fixed upstream in 2022. But is it supposed to work in 2024 plasma 6? (on my installation it is still missing. Should I open a new issue?) |