Closed
Bug 1377084
Opened 7 years ago
Closed 2 years ago
Update gtk grab to 3.20 - replace gdk_pointer_grab() by gdk_seat_grab()
Categories
(Core :: Widget: Gtk, defect, P3)
Core
Widget: Gtk
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: stransky, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
886.26 KB,
video/ogg
|
Details | |
3.59 KB,
patch
|
Details | Diff | Splinter Review |
We should replace gdk_pointer_grab() by gdk_seat_grab() which was introduced in Gtk 3.20.
The problem here is that gdk_seat_grab() actually works and the pointer *is* grabbed which causes regression in menu behavior.
For instance when second (child) sub-menu is opened (Menu bar -> View -> Toolbars), the Toolbars sub-menu is opened, grabs input by gdk_seat_grab() and all mouse input is directed only to the Toolbars submenu. OTOH the recent behavior does not restrict pointer input to the Toolbars submenu only.
Reporter | ||
Comment 1•7 years ago
|
||
This video demonstrates the pointer grab performed on sub-menu.
Reporter | ||
Updated•7 years ago
|
Attachment #8882131 -
Attachment description: drag demonstration → pointer grab demonstration
Reporter | ||
Comment 2•7 years ago
|
||
I wonder if we actually want to perform that pointer drag (I don't think so) and why is behavior of gdk_pointer_grab() and gdk_seat_grab() different here.
Reporter | ||
Comment 3•7 years ago
|
||
This patch replaces gdk_pointer_grab() and gdk_seat_grab() but also causes the regression.
Reporter | ||
Comment 4•7 years ago
|
||
Downstream/Wayland related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1464497
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
Reporter | ||
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•