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 343540 - Emblems get cut when scaled to a zoom >= 150% (refresh issue)
Emblems get cut when scaled to a zoom >= 150% (refresh issue)
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Backgrounds Emblems and Themes
2.24.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 521161 559433 570450 598234 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-31 21:14 UTC by Sebastien Bacher
Modified: 2010-04-17 11:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Fix the problem where emblems gets cut (1.07 KB, patch)
2010-03-28 10:07 UTC, Marcus Carlson
needs-work Details | Review
Use a different unscaled icon_rect for emblems when calculating bounds (2.35 KB, patch)
2010-03-29 18:55 UTC, Marcus Carlson
none Details | Review

Description Sebastien Bacher 2006-05-31 21:14:19 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/46846

"If I set my default zoom level greater than 150%, I see my emblems (which are located on the right upper side of the icons) cut on the right side. So half of the emblem is hidden/(cut off).
Zooming a level up or down, the issue vanishes. But on each opening of a folder, the emblems get cut. That's awful to see! :-/
...
> Thanks for your bug. What version of Ubuntu do you use? What icon theme? Do you use the compact mode? Text behind icons or not? Could you make a screenshot of the issue?
...
I installed dapper (may 22 release), I switched several times my icon theme from osx to nuoveXT, and then back to default (human); but I see the bug with all of them. I installed dapper also on another pc, it has the same problem.
...
> is the issue fixed by scrolling too?
...
The issue doesn't remain after I scroll up and down in order to "hide" the icon for a moment under the "controls". (I hope you understand what I mean)
...
http://librarian.launchpad.net/3007415/scrshot.png
screenshot of the bug"
Comment 1 Gabriel Speckhahn 2008-02-14 22:07:25 UTC
I can't believe such an old bug hasn't caught any attention from developers yet... This still happens on GNOME 2.21.91!
Comment 2 Cosimo Cecchi 2009-02-04 20:24:57 UTC
*** Bug 570450 has been marked as a duplicate of this bug. ***
Comment 3 Cosimo Cecchi 2009-04-26 13:07:58 UTC
*** Bug 521161 has been marked as a duplicate of this bug. ***
Comment 4 Jan Rüegg 2009-08-05 08:34:59 UTC
This still happens in gnome 2.26.1 (Ubuntu 9.04)...
Comment 5 Cosimo Cecchi 2009-10-18 14:54:49 UTC
*** Bug 598234 has been marked as a duplicate of this bug. ***
Comment 6 Marcus Carlson 2010-03-28 10:07:52 UTC
Created attachment 157312 [details] [review]
Fix the problem where emblems gets cut

I'm not 100% sure why this is working because I don't know the complete purpose of pixels_per_unit (and I don't have time to investigate). So alex or anyone with better knowledge of the nautilus source code might know _why_ this is working or if this is the best way to handle the issue (?)
Comment 7 Marcus Carlson 2010-03-29 18:53:26 UTC
Review of attachment 157312 [details] [review]:

Probably not working with attach_points
Comment 8 Marcus Carlson 2010-03-29 18:55:38 UTC
Created attachment 157401 [details] [review]
Use a different unscaled icon_rect for emblems when calculating bounds
Comment 9 Marcus Carlson 2010-04-03 13:41:48 UTC
OK, alex, I've now tried this patched with attach points and this works both with and without the patch. What this patch fixes is the automatic attach points. I think this is because of icon_info_ensure_scale_and_pixbuf() in gtk_icon_info_get_attach_points().
Comment 10 Alexander Larsson 2010-04-07 08:00:00 UTC
pushed
Comment 11 Cosimo Cecchi 2010-04-17 11:18:52 UTC
*** Bug 559433 has been marked as a duplicate of this bug. ***