Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 92289
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Colin Macdonald <cbm@m.fsf.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
error.log Output from gnome-session, as done from an xterm text/plain John Huttley 2005-06-06 20:23 0000 4.49 KB Details
out Output of `gnome-session` text/plain Henrik Brix Andersen 2005-06-07 00:16 0000 1.80 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 92289 depends on: Show dependency tree
Bug 92289 blocks: 91329 95548
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-05-11 12:56 0000
I recently upgraded to gnome 2.10 on my ~x86 box.  I removed the "Menu Bar"
from my panel and added a "Main Menu" object instead (i.e., the small icon
rather than the strip of menus).

Now when I log into gnome, I get an error dialog which says "Failed to load
image gnome-main-menu" "Details: Icon not found".  The icon is then the brown
no-icon-found default image instead of the black/cyan gnome foot.

Is this something I've done or can someone else confirm this error?

temporary fix:
The directions here told me which gconf key to edit to change to a custom icon:
http://gnome-look.org/content/show.php?content=22413
Setting the custom icon to gnome-logo-icon-transparent.png works fine.

------- Comment #1 From John Huttley 2005-05-22 16:09:36 0000 -------
Exactly the same issue for a non root user.
root is ok.

------- Comment #2 From Leonardo Boshell (RETIRED) 2005-06-04 16:36:00 0000 -------
This problem is very strange. What version of gnome-panel do you have in your
system?

Can you verify the location and permissions of gnome-main-menu.png? (it should
be under /usr/share/icons/hicolor/48x48/apps)

------- Comment #3 From Henrik Brix Andersen 2005-06-06 09:03:41 0000 -------
I get the same error message here after just upgrading to gnome-2.10
(gnome-base/gnome-panel-2.10.0).

brix@sponge ~ $ find /usr/share/icons/ -name gnome-main-menu.png -exec ls -l {} \;
-rw-r--r--  1 root root 2314 Jun  6 10:12
/usr/share/icons/HighContrastLargePrint/48x48/apps/gnome-main-menu.png
-rw-r--r--  1 root root 3090 Jun  6 13:05
/usr/share/icons/hicolor/48x48/apps/gnome-main-menu.png
-rw-r--r--  1 root root 1992 Jun  6 10:12
/usr/share/icons/LowContrastLargePrint/48x48/apps/gnome-main-menu.png
-rw-r--r--  1 root root 2369 Jun  6 10:12
/usr/share/icons/HighContrastLargePrintInverse/48x48/apps/gnome-main-menu.png

------- Comment #4 From Leonardo Boshell (RETIRED) 2005-06-06 11:10:41 0000 -------
What is the value of the gconf key /desktop/gnome/interface/icon_theme in your
system? (you can check this doing e.g. "gconftool-2 -g
/desktop/gnome/interface/icon_theme")

Also, please try starting gnome-session from a terminal and paste here the
output that it sends to stdout/stderr.

------- Comment #5 From Colin Macdonald 2005-06-06 19:37:03 0000 -------
comment #2:  I have gnome-panel 2.10.0 and the icon you asked about is in the 
path you described.

comment #4:  That command returns "gnome".  I'm pretty sure I tested it using 
the default theme before and still had the missing icon.  Haven't tried gnome-
session business.  Will try it if I get a chance.  (I'm currently travelling so 
I may not be very responsive to requests for information.)

------- Comment #6 From John Huttley 2005-06-06 20:22:38 0000 -------
Hi,
My gconf key says "crux"

My gnome-session error output is 4.7K, so I'll add it as an attachment.
Std out was short and boring.


------- Comment #7 From John Huttley 2005-06-06 20:23:42 0000 -------
Created an attachment (id=60754) [details]
Output from gnome-session, as done from an xterm

------- Comment #8 From Henrik Brix Andersen 2005-06-07 00:16:27 0000 -------
Created an attachment (id=60756) [details]
Output of `gnome-session`

brix@sponge ~ $ gconftool-2 -g /desktop/gnome/interface/icon_theme
gnome

------- Comment #9 From Henrik Brix Andersen 2005-06-07 00:18:47 0000 -------
The gnome-main-menu.png image loads fine in an image viewer, so it is not
corrupt.

------- Comment #10 From Niels Vorgaard Christensen 2005-06-07 10:01:17 0000 -------
I experience the same problem. Copying
/usr/share/icons/hicolor/48x48/apps/gnome-main-menu.png to /usr/share/pixmaps
removes the symptom.

------- Comment #11 From Leonardo Boshell (RETIRED) 2005-06-07 16:53:44 0000 -------
Please don't use workarounds as copying the image to /usr/share/pixmaps while
we
debug the problem.

Let's try one more thing before moving to trickier things. Run the following
command as root:

  gtk-update-icon-cache -f /usr/share/icons/hicolor

And tell us if it changes anything. Thanks.

------- Comment #12 From Jeffrey Wu 2005-06-07 18:43:42 0000 -------
That solution has worked for me. I can now create a main menu without errors.

------- Comment #13 From John Huttley 2005-06-07 19:19:03 0000 -------
It works for me too!
Great!

It said "cache created successfully"

------- Comment #14 From Colin Macdonald 2005-06-07 20:09:26 0000 -------
seems to work for me.

------- Comment #15 From Henrik Brix Andersen 2005-06-08 01:02:50 0000 -------
`gtk-update-icon-cache -f /usr/share/icons/hicolor` fixed the problem here as
well.

------- Comment #16 From Leonardo Boshell (RETIRED) 2005-06-08 09:20:35 0000 -------
The fix is now part of gnome-panel's ebuild. Thank you all for your help.

------- Comment #17 From foser (RETIRED) 2005-06-08 14:23:06 0000 -------
That is fixing of symptoms. I think I asked not to cache hicolor yet just
because of these reasons, but i guess it didn't get picked up.

------- Comment #18 From Leonardo Boshell (RETIRED) 2005-07-20 09:43:23 0000 -------
I didn't know about foser's plans for handling icon updates, but from what I
understand the idea was handling it in gnome2.eclass. For this reason, I've
added the function gnome2_icon_cache_update() to the eclass; it's called from
gnome2_pkg_post{inst,rm}, so we can start removing any piece of code that calls
gtk-update-icon-cache manually from the ebuilds now.

If there is any feedback regarding this new function, I suggest we discuss it in
another bug, we've abused this one enough :).

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug