Bug 224062

Summary: [JJ]: switch user shouldn't be displayed when not available
Product: [Plasma] plasma4 Reporter: Davide Bettio <davide.bettio>
Component: widget-kickoffAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: giorgos.tsiapaliokas
Priority: NOR Keywords: junior-jobs
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In: 4.9

Description Davide Bettio 2010-01-24 18:05:57 UTC
Version:            (using Devel)
Installed from:    Compiled sources

switch user shouldn't be displayed when not available (kickoff displays it even if kdm is not running).
Comment 1 Giorgos Tsiapaliokas 2011-01-11 11:41:38 UTC
i can confirm the bug.

my box's specifications are,


Qt: 4.7.1
KDE Development Platform: 4.6.40 (4.7 >= 20101222)
os:gentoo ~amd64
Comment 2 Martin Flöser 2011-12-08 20:38:32 UTC
changing to wishlist as this is actually a new feature. This is actually easy to fix. Just check in core/leavemodel.cpp whether switch user is supported. See for example code for kscreenlocker which provides such a check.
Comment 3 Gregor Tätzner 2012-06-21 18:09:18 UTC
Git commit e01d8c3478d8768e96a0f123bfb1a3b358efd077 by Gregor Tätzner.
Committed on 21/06/2012 at 20:01.
Pushed by gregort into branch 'master'.

kickoff: Don't display 'switch user' when it is not available.

Add switch user check to kickoff leave model
Thanks to Brian LaRochelle
REVIEW: 104879

M  +2    -1    plasma/desktop/applets/kickoff/core/leavemodel.cpp

http://commits.kde.org/kde-workspace/e01d8c3478d8768e96a0f123bfb1a3b358efd077