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 342170 - Scaled pixbuf not recalculated after a {x,y} factor change
Scaled pixbuf not recalculated after a {x,y} factor change
Status: RESOLVED FIXED
Product: gnome-mag
Classification: Deprecated
Component: magnifier-utility
0.12.x
Other All
: Normal normal
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks:
 
 
Reported: 2006-05-17 19:54 UTC by Carlos Eduardo Rodrigues Diógenes
Modified: 2006-11-25 22:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Recalculate the pixmap and scaled_pixbuf sizes after a {x,y} factor change. (1.54 KB, patch)
2006-09-20 21:44 UTC, Carlos Eduardo Rodrigues Diógenes
none Details | Review
Recalculate the pixmap and scaled_pixbuf sizes after a {x,y} mag factor change. (4.27 KB, patch)
2006-09-20 22:19 UTC, Carlos Eduardo Rodrigues Diógenes
none Details | Review

Description Carlos Eduardo Rodrigues Diógenes 2006-05-17 19:54:52 UTC
The scaled pixbuf is not recalculated when changing the the {x,y} zoom factors by the bonobo property bag, so if we downside the factors we still with a scaled pixbuf that is much larger then the needed one and if we upside the factors we still with a scaled pixbuf that is much smaller then the needed.
Comment 1 Carlos Eduardo Rodrigues Diógenes 2006-09-20 21:44:13 UTC
Created attachment 73114 [details] [review]
Recalculate the pixmap and scaled_pixbuf sizes after a {x,y} factor change.

Add a new function, zoom_region_update_scale, that make the needed changes when the zoom factor is changed.
Comment 2 Carlos Eduardo Rodrigues Diógenes 2006-09-20 22:19:10 UTC
Created attachment 73115 [details] [review]
Recalculate the pixmap and scaled_pixbuf sizes after a {x,y} mag factor change.

After look at the impl_zoom_region_set_mag_factor I altered a little the patch, since I think that the new one is more generic and usefull.
Comment 3 Carlos Eduardo Rodrigues Diógenes 2006-11-25 22:16:00 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.