Window grab operation ends touchpad gestures
Affected version
- OS: Fedora 31, Fedora Rawhide 20200402
- gnome-shell 3.34, 3.36.1
- Wayland
- Could be an issue in Mutter
Bug summary
Touchpad gestures are canceled when a window grab operation is performed.
Steps to reproduce
Method 1
- Open a window
- Activate the window
- Start a three finger pinch, but do not end it
- Press Alt+F7 to start window grab
- End three finger pinch
Activities overview is not shown, because TouchpadShowOverviewAction
-class in js/ui/viewSelector.js
will never get event with Clutter.TouchpadGesturePhase.END
gesture phase.
Method 2
- Install this extension with branch
grabop
- Open GNOME-Terminal
- Type
journalctl /usr/bin/gnome-shell -f
into the terminal - Performing a three finger swipe with pointer in front of the desktop wallpaper will log "gesture begin" followed by "gesture update" and "gesture end"
- Performing a three finger swipe in front of terminal will log "gesture begin" but never "gesture update" and "gesture end"
What happened
Gesture is unexpectedly uncompleted without getting the state Cancel
, End
or Progress
What did you expect to happen
Touchpad gestures should not be ended when a grab operation is started.
If starting a window grab operation ending touchpad gestures is the wished behaviour, the gesture handler should at least be called with Clutter.TouchpadGesturePhase.CANCEL
, because Clutter documentation points out that Begin
will never be the last state.
Additional Information
Screenshot of gesture states from Clutter Reference Manual