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 653653 - ColorPicker does not show mouse cursor
ColorPicker does not show mouse cursor
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.24.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-06-29 15:47 UTC by Elmar Haneke
Modified: 2012-08-10 08:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase showing broken cairo rendering (2.58 KB, text/x-csrc)
2011-11-08 13:40 UTC, Alexander Larsson
Details

Description Elmar Haneke 2011-06-29 15:47:18 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.
Comment 1 Bakhtiar Hasmanan 2011-11-07 22:04:17 UTC
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.
Comment 2 Alexander Larsson 2011-11-08 13:39:02 UTC
This seems to be a cairo issue with 1bit cairo win32 surfaces. Attaching a testcase.
Comment 3 Alexander Larsson 2011-11-08 13:40:48 UTC
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.
Comment 4 Alexander Larsson 2011-11-09 13:25:11 UTC
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.
Comment 5 Bakhtiar Hasmanan 2011-11-16 01:07:20 UTC
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?
Comment 6 Alexander Larsson 2011-11-23 08:36:53 UTC
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.
Comment 7 Dieter Verfaillie 2011-11-24 21:38:47 UTC
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
Comment 8 Elmar Haneke 2012-08-10 08:29:59 UTC
Problem is removed with new binaries