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 637739 - Sheet objects might be misaligned when zooming
Sheet objects might be misaligned when zooming
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Sheet Objects
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2010-12-21 12:41 UTC by Jean Bréfort
Modified: 2010-12-26 14:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (891 bytes, patch)
2010-12-21 13:01 UTC, Jean Bréfort
none Details | Review

Description Jean Bréfort 2010-12-21 12:41:49 UTC
Add a rectangle and align it on cell boundaries. Then zoom to 150%, the rectangle is not anymore aligned on the bounds.
This occurs because cell sizes are always rounded to integers, whatever the zoom level. The only way I can think of to fix it is to reevaluate objects bounds each time the zoom level changes, most probably in  scg_scale_changed().
This bug also affects 1.8.x, and probably older versions.
Comment 1 Jean Bréfort 2010-12-21 13:01:23 UTC
Created attachment 176822 [details] [review]
Proposed patch
Comment 2 Jean Bréfort 2010-12-26 14:51:45 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.