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 159895 - Small icons not rendering in list view
Small icons not rendering in list view
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: List View
2.6.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-29 20:22 UTC by Jaap A. Haitsma
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot showing current behaviour (64.23 KB, image/png)
2004-11-29 20:23 UTC, Jaap A. Haitsma
  Details
The patch that fixes this (831 bytes, patch)
2004-11-29 20:30 UTC, Jaap A. Haitsma
none Details | Review
screenshot after the patch (64.37 KB, image/png)
2004-11-29 20:34 UTC, Jaap A. Haitsma
  Details

Description Jaap A. Haitsma 2004-11-29 20:22:15 UTC
Currently if you have an image that is smaller then the size of the
preview in a list view, you do not get a preview but the ugly "paper"
icon.
Comment 1 Jaap A. Haitsma 2004-11-29 20:23:06 UTC
Created attachment 34291 [details]
screenshot showing current behaviour
Comment 2 Jaap A. Haitsma 2004-11-29 20:30:03 UTC
Created attachment 34292 [details] [review]
The patch that fixes this

The following simple patch solves that problem. Basically what 
happened was that base_size remained 0 when an image was smaller then 
the nominal_size. A couple of lines further image was then scaled by
nominal_size / base_size which of course resulted in an error.
Comment 3 Jaap A. Haitsma 2004-11-29 20:34:01 UTC
Created attachment 34293 [details]
screenshot after the patch

The patch just scales any image to the nominal size if force_nominal is set
Comment 4 Alexander Larsson 2004-12-15 11:21:07 UTC
in cvs. thanks,