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 746253 - has-tooltip property interferes with event-compression
has-tooltip property interferes with event-compression
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-03-15 16:48 UTC by daniel.ssq89
Modified: 2015-03-25 02:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Demonstration of bug (795 bytes, text/plain)
2015-03-15 16:48 UTC, daniel.ssq89
  Details
Stop using GDK_POINTER_MOTION_HINT_MASK in widgets (6.95 KB, patch)
2015-03-22 04:51 UTC, Matthias Clasen
committed Details | Review

Description daniel.ssq89 2015-03-15 16:48:24 UTC
Created attachment 299460 [details]
Demonstration of bug

How to reproduce bug:

Suppose I have a widget that requires turning OFF event compression for pointer motion.

However, I would like to have tooltips for this widget too.

If I set has-tooltip to TRUE, it turns on POINTER_MOTION_HINT_MASK which messes with event-compression.

Results:
* Mouse motion events are not even received at the widget

Expected results:
* Mouse motion events should still be received at the widget -- at the high rate for the widget's event handler, and at a low rate for the tooltip.
Comment 1 André Klapper 2015-03-15 18:24:42 UTC
Thanks for reporting this. Which GTK version was this tested with?
Comment 2 daniel.ssq89 2015-03-15 19:52:04 UTC
Version is 3.14.9 (the version that comes with Fedora 21)
Comment 3 Matthias Clasen 2015-03-22 04:51:03 UTC
Created attachment 300060 [details] [review]
Stop using GDK_POINTER_MOTION_HINT_MASK in widgets

It is deprecated and no longer needed, and,as observed in
https://bugzilla.gnome.org/show_bug.cgi?id=746253 it
interferes with turning off event compression.
Comment 4 Matthias Clasen 2015-03-25 02:14:36 UTC
Review of attachment 300060 [details] [review]:

.