My login manager presents me with three sessions to choose from: "Plasma", "Plasma", and "XSession". One of the Plasma sessions used to be called "Plasma (Wayland)", but now they are both called "Plasma" and I cannot tell them apart any more. I've traced the problem to the file /usr/share/wayland-sessions/plasmawayland.desktop. In it, the name for the session is given as "Plasma", which is identical to the name given in /usr/share/xsessions/plasma.desktop. Please change one of them so it is possible to tell apart these two sessions again. Or delete one of those files if only one of them was supposed to be there. Thanks! I have the USE flag "wayland" set in my make.conf. I think this bug first happened with version 5.5.3.
Created attachment 425732 [details] emerge --info
There was some discussion upstream about this. I don't remember what the result is, but there was opposition to marking the session type because it's not "user friendly". Which login manager are you using?
I used sddm, but then I switched to lightdm. It is the same problem on both. I understand that it's not very user-friendly if the user has to choose between "Plasma (Wayland)" and "Plasma", because that requires some knowledge of what Wayland is. But it's definitely less user-friendly to have to choose between "Plasma" and "Plasma" when only one of them works...
Sure, that was upstream's position, I didn't say I agreed with them. :-)
Some more info - I switched back to using sddm. There, the sessions are labeled as "Plasma", "XSession", and "Plasma (Wayland)". (Not sure where sddm get's the "Wayland" from though, as it's not in the plasmawayland.desktop file...) So maybe it's a problem in lightdm that both the KDE plasma and the wayland plasma have the same name?
Created attachment 429634 [details, diff] plasma-workspace-5.6.1.ebuild.diff Possible fix...
Marking this as fixed, as it now says "Plasma" and "Plasma (Wayland)" on my system, and I don't know who fixed it, but thank you!