Bug 166370 - Lock/logout widgets : icons indistinguishable
Summary: Lock/logout widgets : icons indistinguishable
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-12 14:12 UTC by David Jarvie
Modified: 2008-07-15 09:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Lock and logout widgets screenshot (4.61 KB, image/png)
2008-07-12 14:40 UTC, David Jarvie
Details
Lock/Logout widget in panel (this is 1 widget) added from right click menu on panel -> Add Widgets (2.98 KB, image/png)
2008-07-13 23:17 UTC, Anne-Marie Mahfouf
Details
Lock/logout widget from Add Widgets (5.63 KB, image/png)
2008-07-14 22:39 UTC, David Jarvie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Jarvie 2008-07-12 14:12:24 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.3.1 
OS:                Linux

On my laptop (without compositing or other graphical effects), the lock and lockout widgets in the panel are identical. There appears to be no way of determining which is which - there isn't a tooltip either - other than by clicking on one and hoping for the best.

I'm running KDE 4.0.98 from SVN yesterday.
Comment 1 Loic Marteau 2008-07-12 14:22:25 UTC
HI !

I can't reproduce the problem here but i'm using the svn trunk version (4.2
branches).

Can you please give us a screenshot of the problem.

Can anyone who are using 4.1 branche confirm the problem ?

Cheers
HI !<br><br>I can&#39;t reproduce the problem here but i&#39;m using the svn trunk version (4.2 branches).<br><br>Can you please give us a screenshot of the problem.<br><br>Can anyone who are using 4.1 branche confirm the problem ?<br>
<br>Cheers<br>
Comment 2 David Jarvie 2008-07-12 14:40:52 UTC
Created attachment 26058 [details]
Lock and logout widgets screenshot

Here's a screenshot showing the two identical widgets.
Comment 3 Loic Marteau 2008-07-12 14:51:12 UTC
Hi David, thanks for the screenshot

Can you please rename your ~/.kde directory to another one and restart
a session or try to loggin with an other clean user
it is perhaps a problem with old settings from kde3

Cheers
Comment 4 David Jarvie 2008-07-12 15:20:20 UTC
I removed my ~/.kde directory, but now I can't log in to KDE 4.1 any more - I get an error message "Could not start kstartupconfig4. Check your installation." The PATH is OK in startkde, so I'll have to investigate further how to log in before I can help you. (Note that I log in to KDE 4.1 with a separate user name.)
Comment 5 David Jarvie 2008-07-12 15:26:46 UTC
OK, I somehow managed to log in with an empty ~/.kde, but the widgets look just the same.
Comment 6 Loic Marteau 2008-07-12 15:41:56 UTC
Hi David,

thanks for your help to getting kde4 better.

i have ask someone using 4.1 svn branche to confirm the bug and he
can't reproduce too.
We have to investigate this more deeply...

How long time ago did you build kde 4.1 from svn ? If you use it since
a long time, when do you have see the bug for the first time ?
Which method do you use to build kde4 ?
Which path installation do you use for kde4 ?
Do you have kde 3 installed on your system, which distribution ?

Cheers :)
Comment 7 David Jarvie 2008-07-12 16:34:49 UTC
I checked out KDE 4.1 branch from SVN yesterday, and built into empty build directories - so there couldn't be any hangover from previous builds. It's the first time I've run a KDE 4 desktop for a month or two, and it's the first time I've seen the widgets looking the way they do now.

KDE 4.1 is installed into /opt/kde4.1, and I use a separate username to log into it, so that things don't get confused with KDE 3. I run Debian testing, and use KDE 3 from the testing/unstable packages.
Comment 8 Loic Marteau 2008-07-12 16:45:32 UTC
David

Where are the kde3 binaries installed with this packages, perhaps in /usr/bin/ like in kubuntu ?

Can you unset the PATH env variable in the ~/.bashrc from your user with something like this
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/games

and be sure than there is not the path of kde3 binaries inside

Cheers
Comment 9 David Jarvie 2008-07-12 16:50:13 UTC
Yes, the KDE 3 binaries are in /usr/bin. So I don't see how I can remove them from the path, since that's where most of the (non-KDE) binaries are located. Also, unless I'm mistaken, I don't think that ~/.bashrc is relevant for a running KDE system - it has its own path set in startkde, independent of ~/.bashrc.
Comment 10 Loic Marteau 2008-07-12 17:00:19 UTC
http://techbase.kde.org/Getting_Started/Increased_Productivity_in_KDE4_with_Scripts/.bashrc

Please can you give it just a try :p.

Cheers !

P.S: however i think than this is effectly a problem for devs that
distros put all kde binaires directly in /usr/bin/, because we cant
easily desactivate only kde binaries in the PATH env
@devs : do you think we can contact such distros to add a kde4, kde3
subdirectory in /usr/bin ?
Comment 11 David Jarvie 2008-07-12 17:12:00 UTC
I put export PATH=/opt/kde4.1/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/games in ~/.bashrc, but it made no difference.

As for distros changing the location of KDE binaries, I can't see that happening easily. Plus, everything else in KDE 4.1 seems to work, so I don't see why the logout/lock buttons should be special.
Comment 12 Loic Marteau 2008-07-12 18:04:22 UTC
Hi David !

Thanks for your help, this bug is strange and i think than we have to
eliminate all the possibilties to progress in the investigation, sorry
for the waste of time...

When you select the lock/logout plasmoid in the dedicated list of all
available plasmoid did you have an red "power on/off" associated icon
?
can you check in your install directory in
share/icons/oxygen/XXxXX/actions you have an  "system-lock-screen.png"
file
and a "system-shutdown.png" file ? Are they correct ? perhaps you have
to looking in all your XXXxXXX directories.

Can you say us if the problem still appear if you change the height of
the panel ?

cheers
Comment 13 David Jarvie 2008-07-12 18:46:47 UTC
There is no power off/on widget in the widget list displayed by "Add Widgets".

The icon files exist for all icon sizes, and look correct when I display them. So evidently the correct icons are not being picked up in the panel.

I can't work out how to alter the height of the panel to check whether the widgets change appearance.
Comment 14 Loic Marteau 2008-07-12 19:03:38 UTC
Im not talking about a power off/on plasmoid but i have asked you
(sorry for my bad english) if you get the correct icon near the
lock/logout plasmoid in the list which are a 'red power' icon. Which
icon did you get instead on the list ?

This icon is normally the same that one of the two icons you have to
get in the panel with this plasmoid.
to change the height of the panel you have to click on the cashew, put
the mouse in the top of the control bar etc

I have checked the revision log of lock/logout plasmoid and nothing
has changed in 4.1 branche...

Don't undesrtand where can be the problem, i think that someone else
has to put an eye on it.

Cheers :)
Comment 15 Anne-Marie Mahfouf 2008-07-13 13:35:53 UTC
David, where do you get this lock applet from and where do you get this logout applet from? Explain exactly the steps you do to add them in the panel, thanks
Comment 16 Anne-Marie Mahfouf 2008-07-13 13:55:15 UTC
OK we just figured it out: you are adding lock and logout from Kickoff to panel using right-click action, right?
Comment 17 David Jarvie 2008-07-13 20:34:08 UTC
Yes, I right click on panel and choose Add Widgets, then select Lock/Logout from the Add Widgets list.
Comment 18 Anne-Marie Mahfouf 2008-07-13 23:16:30 UTC
If you right click on panel, Add Widgets and select Lock/Logout then you should get the following (see screenshot) and there is no known problem with it. You answer "yes" to my comment while you are not doing the same as I described in comment #16!

Your bug report is confusing for us as you say "the lock and lockout widgets in the panel are identical". But the Lock/Logout widget is ONE widget, not 2. It is one widget composed of 2 icons which are not the same (and I don't see how they could be the same except if on your system "system-lock-screen" and "system-shutdown" are both the same wrong icon.

Try adding this widget on the desktop and tell us if it is the same than in panel. This is the first thing to check. Thanks in advance.
Comment 19 Anne-Marie Mahfouf 2008-07-13 23:17:58 UTC
Created attachment 26093 [details]
Lock/Logout widget in panel (this is 1 widget) added from right click menu on panel -> Add Widgets
Comment 20 David Jarvie 2008-07-14 10:24:59 UTC
I won't have a chance to try out what you ask until this evening. But I note that the title of the bug report has been changed to "Dragging from Leave page in kickoff menu...". This does not describe what I did - first of all, I don't know what the kickoff menu is, but in any case I certainly didn't see anything which might be described as a Leave page; secondly, I didn't drag anything. If the new title describes another way to reproduce the bug, then fine. But if not, it appears to be an erroneous description.
Comment 21 Anne-Marie Mahfouf 2008-07-14 12:25:08 UTC
The title has been changed for what we identified as a bug we found in investigating your report.

We need to really understand what you are exactly talking about. What I'd like you to do is to open from the Desktop right-click menu the Add Widgets dialog, to take a screenshot of the Lock/Logout applet in this dialog list, to add it on the desktop, to see if it has the same icons as mine (a blue icon on top and a red icon on bottom, the applet will be vertical on desktop and you might need to resize it). Then drag it on the panel and see if the icons change. Thanks in advance.
Comment 22 David Jarvie 2008-07-14 22:39:38 UTC
Created attachment 26129 [details]
Lock/logout widget from Add Widgets

I right clicked on the desktop and selected Add Widget. The screenshot is the
Lock/Logout item in the Add Widget list - as you can see, it does not contain
the lock and logout icons. I added it to the desktop, where the icons appeared
the same as I previously saw in the panel. Dragging them to the panel made no
difference except for their size.
Comment 23 Loic Marteau 2008-07-15 00:26:40 UTC
David,

You dont seem (i'm not sure of that) to have the default oxygen theme activated in your screenshot.
This theme is normally activated by default with new fresh settings.

If you dont have changed the default theme for your new user, can you please provide a screenshot of your whole desktop with the list of the plasmoid ?
Comment 24 David Jarvie 2008-07-15 01:28:24 UTC
I deleted my ~/.kde directory again, and now the widget displays correctly. I don't understand ...
Comment 25 Loic Marteau 2008-07-15 01:43:49 UTC
bad theme icon
Comment 26 Anne-Marie Mahfouf 2008-07-15 09:42:21 UTC
Thanks David for your follow up! 
We discovered a bug in the process so it's been quite useful!