Missing suspend icon with non-human theme

Bug #277309 reported by Alex Launi
96
This bug affects 7 people
Affects Status Importance Assigned to Milestone
GNOME Icon Theme
Expired
Medium
One Hundred Papercuts
Invalid
Undecided
Unassigned
gnome-icon-theme (Ubuntu)
Invalid
Medium
Unassigned
Jaunty
Invalid
Medium
Unassigned
gnome-session (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs
Jaunty
Won't Fix
Low
Unassigned
tangerine-icon-theme (Ubuntu)
Invalid
Undecided
Unassigned
Jaunty
Invalid
Undecided
Unassigned
tango-icon-theme (Ubuntu)
Invalid
Medium
Unassigned
Jaunty
Invalid
Medium
Unassigned

Bug Description

As can be seen in the attached screenshots, there is no icon for "System - Shutdown - Suspend".

The initial report suggested this to be a problem in one of the themes. After further investigation it does not look like it is. It seems to be a problem in Ubuntu Gnome, something where Ubuntu deviates significantly from upstream. I have completely replaced the original description (look through the activity log if you need it) to get people coming to this report quicker up to speed on what the issue is.

Feel free to make further adjustments as necessary.

Revision history for this message
Alex Launi (alexlauni) wrote :
Revision history for this message
Mackenzie Morgan (maco.m) wrote :

Cosmetic bugs are usually Low, but since that's such an often-seen/important dialog/option, I'm marking this Medium.

Changed in tango-icon-theme:
importance: Undecided → Medium
Revision history for this message
Peng Deng (d6g) wrote :

The gnome-icon-theme also has this problem and it is by default installed.

The is a screenshot attached.

Revision history for this message
Peng Deng (d6g) wrote :

Just for the record, the icon naming of gnome session dialog seems weird, see Bug #274889.

Peng Deng (d6g)
Changed in gnome-icon-theme:
importance: Undecided → Unknown
status: New → Unknown
Peng Deng (d6g)
Changed in gnome-icon-theme:
importance: Unknown → Undecided
status: Unknown → New
Revision history for this message
Peng Deng (d6g) wrote :

The gnome-icon-theme doesn't have suspend/hibernate icon may be based on the fact that the original gnome session dialog doesn't use icons for suspend/hibernate buttons, which may also be an explanation to the tango icon theme. In Ubuntu Intrepid, the gnome-session package got patched to display icon for each action, therefore the missing of these icon may have led to this issue. I removed the link to the gnome bug report (which I've also marked as obsolete) cause it seems not a upstream bug.

Due to the irregular naming scheme used in the patch (drive-harddisk for hibernate, sleep for suspend), how to fix this bug would depend on if and how Bug #274889 is going to be fixed.

Revision history for this message
Jessie Lawrence (nightwolf177-deactivatedaccount) wrote :

actually, all of the icon themes i have seen (including the extra ones, like in gnome-themes-extras for example) do not have a suspend icon. the only theme that does is the human icon theme, and that icon looks ugly as hell. i liked the alternatively colored power sign much better.

this is probably a gnome bug then, because none of the icon themes know what icon gnome is asking for!

Revision history for this message
Jessie Lawrence (nightwolf177-deactivatedaccount) wrote :

these are not bugs in the icon themes, this is a bug with gnome requesting the suspend icon. it is probably because of a typo.

please assign the CORRECT package. these are not bugs in the tango icon theme, or the gnome icon theme, or the gion icon theme, or the crux icon theme, or the foxtrot icon theme, or the mist icon theme, or the tangerine icon theme, or the dropline neu! icon theme, or any icon theme. this is a bug in gnome, specifically, when gnome requests the suspend icon.

Revision history for this message
Սահակ (petrosyan) wrote :

this bug is still present in Ubuntu 9.04

Revision history for this message
Michael Rooney (mrooney) wrote :

Missing in Jaunty on a default install as confirmed by comments. I would say this is a very visible cosmetic issue which would be rather embarrassing to miss!

Changed in gnome-icon-theme:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Michael Rooney (mrooney) wrote :

Actually, it seems like the shutdown dialog is just ignoring the theme, as nothing about it looks particularly right. Has anyone else noticed this and thinks it could be the case?

Revision history for this message
Kenneth Wimer (kwwii) wrote :

Yes, this seems like a problem with the way the code is referencing themes in general.

Revision history for this message
Michael Rooney (mrooney) wrote :

Okay, I've Invalidated the icon-theme tasks as it doesn't seem to be their fault. Kenneth, let me know if it turns out that it is.

Changed in tango-icon-theme:
status: New → Invalid
Changed in tangerine-icon-theme:
status: New → Invalid
Changed in gnome-icon-theme:
status: New → Invalid
status: Confirmed → Invalid
Revision history for this message
Andreas Nilsson (andreasn) wrote :

Might help to add the icon to hicolor in gnome-session (usr/share/gnome-session/icons/hicolor/<size>/actions)
Some info on how to do it here: http://live.gnome.org/ThemableAppSpecificIcons/

This will hopefully make it work for themes that don't inherit human-icon-theme (ie most of them).

Revision history for this message
Rolf Leggewie (r0lf) wrote :

confirming

Changed in gnome-session:
importance: Undecided → Low
status: New → Confirmed
Changed in gnome-icon-theme:
importance: Undecided → Unknown
status: Invalid → Unknown
Rolf Leggewie (r0lf)
description: updated
Revision history for this message
Rolf Leggewie (r0lf) wrote : Re: [Jaunty] Missing suspend icon

I believe bug 274889 is indeed the root cause of this problem, as suggested by Peng Deng on October 4th.

Martin Pitt (pitti)
Changed in gnome-session:
assignee: nobody → desktop-bugs
Revision history for this message
Michael Rooney (mrooney) wrote :

Yes, looks like these are all dupes of bug #320921 which was fixed with recent updates. I'll move them over with a confirmation or two that this issue is fixed after updating and restarting (seems to be necessary, or at least a new log in).

Revision history for this message
Martin Pitt (pitti) wrote :

The underlying theme bug was fixed, in the default theme the dialog looks fine. The remaining issue is that with non-human themes you don't have a suspend icon. But that's not a regression, thus taking off the release radar.

Changed in gnome-session:
status: Confirmed → Won't Fix
assignee: desktop-bugs → nobody
Revision history for this message
dobey (dobey) wrote :

This is not a dup of #320921. This is a bug in Ubuntu's changes to the shut down dialog, referencing an icon that does not exist in the gnome theme. As Andreas has stated a couple times now, it's a very simple fix. The dialog currently looks poor in quality, with the missing icon, for other themes. :-/

Revision history for this message
bloo (bloo) wrote :

What is the name of the icon that the dialog is pointing?

If we know that name (if it is pointing anywhere), we can add the icon to the correct path as a workaround, and wait until it gets fixed.

For example, there are icons for suspend/hibernate inside /usr/share/gnome-power-manager/icons for Tango theme, or someone could decide to make their own/use an existing one until they are included in the icon themes.

Thanks!

Changed in gnome-icon-theme:
status: Unknown → Invalid
Revision history for this message
muhalifsirin (alperense) wrote :

As far as I understand the window that is opened by "shut down" is looking for an icon named "sleep", not "gnome-session-suspend". If you copy and rename all gnome-session-suspend icons as sleep.png, then this problem disappears

This bug creates distortion when you use any ordinary gnome icon theme. I am not a programmer or anything but I believe it should not be hard to fix, just call "gnome-session-suspend.png" instead of "sleep.png" whenever necessary

Revision history for this message
muhalifsirin (alperense) wrote :

This message is a copy of my comment I hav written for Bug#277309

As far as I understand the window that is opened by "shut down" is looking for an icon named "sleep", not "gnome-session-suspend". If you copy and rename all gnome-session-suspend icons as sleep.png, then this problem disappears

This bug creates distortion when you use any ordinary gnome icon theme. I am not a programmer or anything but I believe it should not be hard to fix, just call "gnome-session-suspend.png" instead of "sleep.png" whenever necessary

Revision history for this message
Michael Rooney (mrooney) wrote :

Is anyone still experiencing this issue in Jaunty? I thought the dialog that presented this is now gone. How can one reproduce this issue with a current Jaunty?

Changed in gnome-session (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Mackenzie Morgan (maco.m) wrote : Re: [Bug 277309] Re: Missing suspend icon with non-human theme

If you remove FUSA, the shut down options go back into the System menu. I
think there's a way to get the dialog through the System menu in that case,
but I'm not using GNOME anymore, so I can't say exactly how.

Revision history for this message
Michael Rooney (mrooney) wrote :

Thanks Mackenzie for the info, you are indeed correct. Since this doesn't affect a default installation I'll mark it as an Invalid paper cut.

However I am using a non-human theme (gnome-colors) and now have a suspend icon on that dialog so I still think this is fixed. Let me know if anyone still sees a broken suspend icon on that dialog.

Changed in hundredpapercuts:
status: New → Invalid
Revision history for this message
covox (covox) wrote :

This is still visible in the "Shut Down the Computer" dialogue. This can either be raised by clicking the "Shut Down" option in the System menu (which intuitively enough, completely disappears if you have activated the Fast User Switch panel applet), or by pressing the Power button on a laptop. If you are using a non-Human icon theme, the icon you see next to Suspend is "image-missing" (Tango version at http://en.wikipedia.org/wiki/File:Image-missing.svg ), which sticks out like a sore thumb.

As someone mentioned, Tango icons already exist for suspend and hibernate (see http://git.gnome.org/cgit/gnome-power-manager/tree/data/icons/scalable/actions ). As a highly-visible part of the operating system, this deserves fixing.

Revision history for this message
covox (covox) wrote :

To clarify, this can be reproduced on a default install. Simply switch to one of the other three pack-in icon themes (GNOME, High Contrast Inverse or Tangerine) and you'll see the GNOME variant of image-missing ( http://commons.wikimedia.org/wiki/File:Gnome-image-missing.svg ) instead of a Suspend icon.

Revision history for this message
steveb001 (stevebond001) wrote :

This is happening to me too. I'm running Jaunty and get exactly the same symptoms (i.e. no suspend or hibernate icon after resuming from suspend).
Is there any way to manually fix this issue whilst waiting for a bugfix?, as this limits the number of suspend times to 1, before I need to reboot. This totally defeats the object of having a suspend feature if you can only use it once.
Any guidance would be greatly appreciated

Revision history for this message
dobey (dobey) wrote :

On Thu, 2009-06-18 at 12:13 +0000, steveb001 wrote:
> This is happening to me too. I'm running Jaunty and get exactly the
> same symptoms (i.e. no suspend or hibernate icon after resuming from
> suspend).

This is not the same problem. The problem here is that the code
references an icon name which is only provided by the Human theme, and
not any others. It has nothing to do with any technical problems which
may result from actually using suspend functionality.

> Is there any way to manually fix this issue whilst waiting for a
> bugfix?, as this limits the number of suspend times to 1, before I
> need to reboot. This totally defeats the object of having a suspend
> feature if you can only use it once.
> Any guidance would be greatly appreciated

You seem to be having a separate issue with technical functionality of
the suspend feature. It sounds like perhaps gnome-settings-daemon is
crashing when you resume from suspend. I would suspect that if those two
icons are missing, a lot more are also missing on your desktop, or are
certainly not Human icons. However, the "GNOME" icon theme does provide
the icon which the shutdown dialog uses for hibernate (a hard disk), so
I concur that it is very likely gnome-settings-daemon is crashing on
your system. You should file a separate bug report against that package
in Ubuntu, and hopefully a crash report got saved which you can attach
with "apport-collect -p gnome-settings-daemon $yournewbugnumber".

Revision history for this message
steveb001 (stevebond001) wrote :

Hi
Thanks for the rely. Sorry to disagree with you but the symptoms I am experiencing are exactly the same as those previously noted in this thread, i.e. missing suspend / hibernate icons when resuming. This happens when any other theme (except the default gnome theme) is selected, irrespective of whether it is a downloaded theme or one shipped with Jaunty.
Everything else on my desktop functions correctly - just the suspend and hibernate entries are missing after resuming.

Revision history for this message
Christoph Langner (chrissss) wrote :

steveb001, your problem is really another issue. The problem inside this bug is, that the icon is missing. Please take a look at the screenshot inside the second posting http://launchpadlibrarian.net/18143355/Screenshot-Shut%20Down%20the%20Computer.png The option to suspend or hibernate is there, only the icon is missing. If your resumed and the option to resume another time, than this is for sure another issue

Revision history for this message
steveb001 (stevebond001) wrote :

OK thanks for clarifying. I don't get the suspend / hibernate icons when I click on the "green Man" in the top panel - this is where my icons are missing. If this is unrelated then I'll raise another bug (or try rebuilding my PC to see if it goes away)

TVM

Revision history for this message
Սահակ (petrosyan) wrote :

this bug has been fixed in Ubuntu 9.10

Changed in gnome-session (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
A. Bram Neijt (bneijt) wrote :

I've seen this bug all through Jaunty and the development releases of karmic, I'm still seeing the bug in Karmic at this date.
gnome-session: 2.27.5-0ubuntu1

Revision history for this message
autostatic (autostatic) wrote :

I've ran into this bug also. Karmic Koala, Tango icon theme, no suspend icon. Solved it this way:
- sudo mkdir -p /usr/share/icons/Tango/48x48/apps
- sudo ln -s /usr/share/gnome-power-manager/icons/hicolor/48x48/actions/gpm-suspend.png /usr/share/icons/Tango/48x48/apps/sleep.png

Changed in gnome-icon-theme:
importance: Unknown → Medium
status: Invalid → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.