! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Some mouse events with "easy-move" key pressed are passed through to GTK3 apps
Status:
RESOLVED: MOVED

Comments

Description haarp 2016-06-14 16:20:17 CEST
Reproduction:

- Enable compositor and Xfwm's "zoom" function
- Hover pointer over GTK3 app
- Hold easy-move key and use mousewheel

-> Xfwm will zoom, but the app will scroll simultaneously. GTK2 applications do not appear to receive the mouse wheel events, but GTK3 ones do.

I suspect this is related to GTK3's new scrolling functionality (smooth scrolling and all that).
Comment 1 Olivier Fourdan editbugs 2016-06-14 16:39:11 CEST
It's because gtk+ 3.x uses XI2 events directly and those are not "stopped" by the old style grab xfwm4 uses.

"XI1 grabs are different to XI2 grab and a device may not be grabbed through an
XI2 grab if an XI1 grab is currently active on this device or vice versa."

See Peter's write ups on XI2 events here: http://who-t.blogspot.fr/2009/05/xi2-recipes-part-1.html
Comment 2 Git Bot editbugs 2020-05-29 12:11:17 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/221.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #12650

Reported by:
haarp
Reported on: 2016-06-14
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
4.12.0

Attachments

Additional information