After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 320965 - Bad display of icons in Nautilus popup menu
Bad display of icons in Nautilus popup menu
Status: RESOLVED DUPLICATE of bug 167107
Product: nautilus
Classification: Core
Component: [obsolete] Visual Design
2.12.x
Other All
: Normal trivial
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-08 14:02 UTC by Frederic Ruaudel
Modified: 2005-11-08 16:19 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Screenshot of the problem (14.74 KB, image/png)
2005-11-08 14:12 UTC, Frederic Ruaudel
Details

Description Frederic Ruaudel 2005-11-08 14:02:12 UTC
Please describe the problem:
I'm developping nautilus-actions (http://www.grumz.net/?q=taxonomy/term/8/9), an
extension that allow user to define custom action to place in the popup menu of
nautilus. For my next release, I've added the possibility to define a custom
icon, but I have two issues :

1. If the icon doesn't exist, it display an awful file icon that appears too big
(48x48 instead of 24x24 size)
2. It seems that we can use gtk-stock icons, but some of them are not recognized
like 'gtk-edit' for example and fall back with the awful default icon. And I
can't figure out which one are ok and which one are not programatically for my
configuration dialog.

Steps to reproduce:
Currently there is no stable version of my extension available but I try to keep
the CVS version usable as far as I can. So no easy way to reproduced it without
a little developement stuff.

1. Create an item with nautilus_menu_item_new() 
2. Set its fourth parameter to a filename that doesn't exist or "gtk-edit"
3. Restart Nautilus with the extension code and open the popup menu


Actual results:
An ugly icon of 48x48 size instead of 24x24 appears and put the popup menu out
of shape.

Expected results:
At least a 24x24 size icon or nothing at all. Or a nicer default icon of 24x24 size.

Does this happen every time?
Yes

Other information:
Comment 1 Frederic Ruaudel 2005-11-08 14:03:17 UTC
The default icon seems to be defined here :

http://cvs.gnome.org/viewcvs/nautilus/libnautilus-private/nautilus-default-file-icon.c?rev=1.4
Comment 2 Frederic Ruaudel 2005-11-08 14:12:32 UTC
Created attachment 54464 [details]
Screenshot of the problem

Here is a screenshot of what this icon looks like
Comment 3 Christian Neumair 2005-11-08 16:19:40 UTC
Thanks for the bug report. This particular bug has already been reported into
our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of 167107 ***