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 524392 - custom icons show no frame
custom icons show no frame
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: general
2.26.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 535161 581022 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-25 22:35 UTC by David Prieto
Modified: 2021-06-18 15:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
The original image has a folder, the custom-icon folder doesn't. (217.58 KB, image/png)
2008-03-25 22:37 UTC, David Prieto
Details
Screenshot comparing file thumbnails to folder thumbnails (203.10 KB, image/png)
2009-08-13 01:55 UTC, ulrik sverdrup
Details

Description David Prieto 2008-03-25 22:35:14 UTC
Please describe the problem:
I'm using the latest version of Nautilus, on Ubuntu Hardy. Since some time ago, folders with a custom icon do not show a frame even if the original images used as a thumbnail do show a frame.

In fact, NO element with a custom icon shows a frame. You can right-click a random image, set another image as its thumbnail, and you'll get no frame either.

All thumbnailed elements should have a frame. Removing the frame removes the shadow, too, which breaks the illusion that desktop elements "cast a shadow" on the desktop.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 David Prieto 2008-03-25 22:37:22 UTC
Created attachment 108029 [details]
The original image has a folder, the custom-icon folder doesn't.
Comment 2 Cosimo Cecchi 2008-06-01 10:18:04 UTC
*** Bug 535161 has been marked as a duplicate of this bug. ***
Comment 3 Vitezslav Kotrla 2008-10-02 20:17:01 UTC
This bug is still present in 2.24. Last time folders with a custom icon were thumbnailed correctly was 2.20.

When bitmap image is set as a custom icon for a folder, tiny (48px high) borderless thumbnail is generated instead of nice thumbnail with frame and dropshadow.
Comment 4 Vitezslav Kotrla 2009-01-06 06:57:32 UTC
Just an update - I can still see this bug in 2.24.2.

Please note this is not just an aesthetic glitch - it seems to have some performance issues, too, as folder with "broken" custom icons now loads very slowly and with high CPU load.
Comment 5 Vitezslav Kotrla 2009-03-24 16:28:15 UTC
Just an update - there are other people out there experiencing this problem:

http://ubuntuforums.org/showthread.php?p=6949438

(There is also nice screenshot demonstrating the problem there).
Comment 6 Cosimo Cecchi 2009-05-01 23:39:15 UTC
*** Bug 581022 has been marked as a duplicate of this bug. ***
Comment 7 ulrik sverdrup 2009-08-13 01:55:15 UTC
Created attachment 140614 [details]
Screenshot comparing file thumbnails to folder thumbnails

Thumbnailed images don't match custom folder icons. I'm attaching a picture (was going to report this bug), my music albums folder used too look like the left side of this screenshot, now it lookshey increase very little and but with final zoom factor they get enormous.

The folders use a terrible lot of white space around them at all zoom factors. Compact layout helps, but destroys the grid arrangement.

Does anyone know which code part is involved? Gio icon port introduced this?

Debian bug is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481339&archived=no&mbox=no
Comment 8 ulrik sverdrup 2009-08-13 01:57:30 UTC
(In reply to comment #7)

> Thumbnailed images don't match custom folder icons. I'm attaching a picture
> (was going to report this bug), my music albums folder used too look like the
> left side of this screenshot, now it lookshey increase very little and but with
> final zoom factor they get enormous.

I managed to cut my own comment. 

"my music albums folder used too look like the left side of this screenshot, now it looks like the left side, with lots of space. The folder icons also scale mysteriously with the zoom factor; they first increase very little and but with final zoom factor they get enormous."
Comment 9 Cosimo Cecchi 2012-07-20 16:07:04 UTC
Mass component change due to BZ cleanup, sorry for the noise.
Comment 10 Cosimo Cecchi 2012-08-31 16:27:35 UTC
Pushed a fix for this to git master now, closing.
Comment 11 Cosimo Cecchi 2012-12-16 18:28:54 UTC
Unfortunately this broke too many existing assumptions about how those icons appear; e.g. Sparkleshare uses this property to set a custom icon for its folder.
I reverted the change now.
Comment 12 André Klapper 2021-06-18 15:17:56 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of Files (nautilus), then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/nautilus/-/issues/

Thank you for your understanding and your help.