GNOME Bugzilla – Bug 702538
images drawn with wrong offset
Last modified: 2013-06-18 17:58:29 UTC
gthumb seems to draw images with the wrong offset as evident in this screenshot: http://i.imgur.com/QD7GwaT.png I went on #gtk+ and alex found the issue and made a patch: http://paste.fedoraproject.org/19313/54557613/ I've compiled gthumb locally against latest GTK git and it works, as far as I can tell :-)
Here's what alex said on IRC. <alex> We're now actually using cairo when drawing child widgets <alex> i.e. when drawing some subwidget we set an offset <alex> in the cairo_t <alex> so you can't just mash in the identity like that, as that will override said offset <alex> not sure why it was there at all though <alex> cairo_translate (cr, 0.5, 0.5); <alex> maybe to unset that <alex> if so, it should use cairo_save/restore instead
Patch applied to master and gthumb-3-2. Thank you.