GNOME Bugzilla – Bug 631199
Printing and Print preview broken with cairo 1.10
Last modified: 2010-10-03 21:07:12 UTC
Hi, Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/636329 reports not being able to print preview on Gimp on Ubuntu Maverick (Gnome 2.32.0, gimp 2.6.10). I've confirmed this and also had todays git (8c214f95ca78710d5395584d0913d1cfe3f38b05) built on Maverick (with new BABL and GEGL libs) have the same problem. Preview works in other apps (e.g. eog, firefox, shotwell) so I'm not sure that this is the same problem as gnome bugs 624960 and 607544. One of the reporters had said that downgrading to an earlier Cairo had helped (Cairo in Maverick is libcairo2 1.10.0) and 'Company' on #gtk+ had suggested that Cairo 1.10.0 was fussier about the use of cairo_surface_mark_dirty so that could be a culprit. Dave
Fixed in both branches: commit 6be41a6675007a0c7328453c654bcda5a2b875b0 Author: Sven Neumann <sven@gimp.org> Date: Sun Oct 3 14:05:20 2010 +0200 Bug 631199 - Printing and Print preview broken with cairo 1.10 Add missing calls to cairo_surface_mark_dirty().
Thanks Sven - works nicely.
2.6.11 release with this fix will be available on ftp.gimp.org in a few minutes.