Bug 492921 - Krunner session management incorrectly shows TTY info for user switcher plugin
Summary: Krunner session management incorrectly shows TTY info for user switcher plugin
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-09-09 21:17 UTC by Justin Zobel
Modified: 2025-10-22 21:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Zobel 2024-09-09 21:17:51 UTC
Git master session

When typing "switch" in the Krunner input I see my other session, however appended to the username is "TTY login (vt2)", this isn't correct as the session was started from SDDM, not a TTY.

I found this code in plasma-workspace/libkworkspace/kdisplaymanager.cpp and it doesn't seem to be correct.

However this got me thinking if this type of information is even relevant to a desktop user. All they care about is being able to switch between Fred and Mary's sessions.

The only other information I can think of that would be useful in the krunner dropdown is the name of the session name e.g. "Plasma Wayland" or "GNOME X11".

So the result would show: "Fred on Plasma Wayland"
Comment 1 Nate Graham 2025-10-22 21:11:01 UTC
User switching was dropped from KRunner recently to fix other bugs; I guess this one is effectively "fixed" as well 🥴