Created attachment 125903 [details]
STEPS TO REPRODUCE
1. open SDDM kcm
2. click on "Advanced" tab
3. check "Automatically log in" and open "with session" dropdown
dropdown shows "Plasma (Wayland) (Wayland)" entry.
See the attached screenshot.
"Plasma (Wayland)" entry instead
Operating System: Arch Linux
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Is the session name the same from the chooser on the login screen?
on Arch, yes.
However, on Neon unstable login screen shows "Plasma (Wayland)" and SDDM kcm shows
"Plasma (Wayland) (Wayland)".
What does `grep Name= /usr/share/wayland-sessions/*` print?
output on Arch:
output on Neon unstable:
Thanks. I'm drawing a blank on what's causing this, but I thought we'd fixed it...
Patch at https://phabricator.kde.org/D27397
Git commit c0fdf0039be47b5d890346d45bbb1d763d65379a by David Edmundson.
Committed on 14/02/2020 at 13:03.
Pushed by davidedmundson into branch 'Plasma/5.18'.
Sync ("Wayland") appending to match SDDM
For historical reasons some .desktop files in wayland-sessions suffix
their .desktop files, some expect the display manager to do it.
SDDM compares the suffix and only adds if needed. Our config UI should
The obvious comment is this only works in English, but for some reason
both SDDM and this code only read the Name entry in English anyway.
Test Plan: Opened KCM
Reviewers: #plasma, ngraham
Reviewed By: ngraham
Subscribers: ngraham, plasma-devel
Differential Revision: https://phabricator.kde.org/D27358
M +5 -2 src/sessionmodel.cpp
David, I have just built 5.18 branch on my Arch, your patch fixes the kcm bug.
But the dropdown of login manager is still saying "Plasma (Wayland) (Wayland)".
Is this another issue?
This only changes the kcm, sddm itself is changed in newest SDDM
The obvious answer there of course is there is no new sddm release yet and it is up to the distros to backport the related fix.