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 117356 - Rubberband selects icon captions as if zoom was always 100%
Rubberband selects icon captions as if zoom was always 100%
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: Icon View
2.6.x
Other All
: High normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 132796 143317 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-07-14 00:17 UTC by Fabio Gomes
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
The attached screenshot demonstrates the bug. (225.46 KB, image/png)
2003-11-25 17:44 UTC, Fabio Gomes
  Details
Proposed Patch (Tell compute_text_rectangle to use canvas coordinates) (876 bytes, patch)
2004-05-22 18:26 UTC, Martin Wehner
none Details | Review

Description Fabio Gomes 2003-07-14 00:17:53 UTC
When using a non-100% zoom level, the rubber band selection thinks the font
size of the icon caption is the same of the 100% zoom level. 

To reproduce:
1. switch to icon view 
2. set zoom level to 50% (I always use 50% because my screen res. is 800x600)
3. draw a rubberband and make it pass approx. 20 pixels below the caption.
The item will be selected (incorrectly).
Comment 1 Fabio Gomes 2003-11-25 17:44:29 UTC
Created attachment 21802 [details]
The attached screenshot demonstrates the bug.
Comment 2 Christian Neumair 2003-12-25 15:05:29 UTC
This is a major issue, thanks for reporting this.

regs,
 Chris
Comment 3 Martin Wehner 2004-04-04 23:34:19 UTC
*** Bug 132796 has been marked as a duplicate of this bug. ***
Comment 4 Eugenia Loli-Queru 2004-05-21 22:36:15 UTC
Yes, I can perfectly reproduce this with nautilus-cvs, it is mostly visible on
50% of zoom.
Comment 5 Martin Wehner 2004-05-22 18:26:45 UTC
Created attachment 27938 [details] [review]
Proposed Patch (Tell compute_text_rectangle to use canvas coordinates)

Currently nautilus_icon_canvas_item_update_bounds() instructs
compute_text_rectangle() to assume world coordinates for the computation of the
text rectangle, but they're canvas coords really.
Comment 6 Martin Wehner 2004-05-24 17:58:46 UTC
Fixed in CVS.
Comment 7 Martin Wehner 2004-05-28 12:45:48 UTC
*** Bug 143317 has been marked as a duplicate of this bug. ***