GNOME Bugzilla – Bug 626123
Some Magnifier DBus methods incorrectly interpret rectangles
Last modified: 2013-12-04 18:03:00 UTC
Some Magnifier and ZoomRegion methods take/return a 'RectBounds'. Currently, the magnifier DBus code treats them as [left, top, width, height], but that is wrong. It should see them as [left, top, right, bottom]. The affected methods are: Magnifier: - createZoomRegion() ZoomRegion: - setRoi() - getRoi() - moveResize()
Created attachment 167264 [details] [review] Some Magnifier DBus methods incorrectly interpret rectangles. Modified methods to use [left, top, right, bottom] instead of [left, top, width, height].
Review of attachment 167264 [details] [review]: I'll assume you are right about what the D-Bus methods do. Code looks correct.
Attachment 167264 [details] pushed as 399ebcc - Some Magnifier DBus methods incorrectly interpret rectangles.