GNOME Bugzilla – Bug 653653
ColorPicker does not show mouse cursor
Last modified: 2012-08-10 08:29:59 UTC
Within the ColorButton or the ColorSelection widget there is an Button to pic an color from elswhere on screen. On Linux this dies make the mousecurser to an picking tool to select color. On Windows the mousepointer does vanish from screen - but picing color seems to work even if user cannot see from where color is picked.
I can confirm this issue was not exist in GTK+ 2.24.4 but arise in 2.24.6-2.24.7 haven't tried 2.24.5.
This seems to be a cairo issue with 1bit cairo win32 surfaces. Attaching a testcase.
Created attachment 200982 [details] Testcase showing broken cairo rendering The attached testcase renders to an output file test.png. With a win32 bitmap surface the result is empty, but with an image surface it works.
I commited some fixes to how we do GdkPixmap, so now it isn't completely blank. However, there is still and issue in cairo where it mirrors every 8 horizontal pixels. See https://bugs.freedesktop.org/show_bug.cgi?id=42739 for the report.
I tried 2.24.8 and yes now it shown mirrored, is there particular cairo/pixman version that I can use to skip this issue?
There is no cairo release with the patch yet. However, dieter is preparing win32 binaries of 2.24.8, which will have a patched cairo. Also, if you build it yourself you can apply the patch manually.
Updated win32 binaries have been released. http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/cairo_1.10.2-2_win32.zip (and matching http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/cairo-dev_1.10.2-2_win32.zip) have been built with the required cairo patches. Those packages are also included with the 2.24.8 bundle here: http://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+/2.24/gtk+-bundle_2.24.8-20111122_win32.zip
Problem is removed with new binaries