harshadgavali / gnome-gesture-improvements

Touchpad gesture improvements for GNOME on Wayland/X11
https://extensions.gnome.org/extension/4245/gesture-improvements/
GNU General Public License v3.0
334 stars 38 forks source link

After using FOUR finger vertical swipe gesture (Extension: Gesture Improvements) for window maximize and unmaximize, THREE finger gestures do not happen. #2

Open akant-git opened 3 years ago

akant-git commented 3 years ago

Affected version

OS: Debian; Version: 11 (bullseye)

Affected GNOME Shell version: 40.2 (installed via experimental repo)

Session type: Wayland

Extension: Gesture Improvements ( https://extensions.gnome.org/extension/4245/gesture-improvements/ )

Bug summary

Bug Summary: After using FOUR finger vertical swipe (Extension: Gesture Improvements) for window maximize and unmaximize, THREE finger gestures do not happen. Three finger gestures are replaced by either of these:

a) mouse pointer movement

b) scrolling in the open window

c) Zoom-in or zoom-out in the open window

Steps to reproduce

  1. Install Debian 11 (bullseye)

  2. Install gnome-shell from the experimental repo ( apt-get -t experimental install gnome-shell gnome-backgrounds gnome-applets gnome-control-center mutter gjs )

  3. Install Extension Gesture Improvements ( https://extensions.gnome.org/extension/4245/gesture-improvements/ )

  4. Enable FOUR Finger Gestures via the aforementioned installed extension.

  5. Open multiple windows ( Example: nautilus, terminal, kate, etc. )

  6. Use FOUR finger vertical swipe gesture for window maximize and unmaximize.

  7. Try Three Finger Gestures.

What happened

THREE finger gestures did not happen. Three finger gestures are replaced by either of these:

a) mouse pointer movement

b) scrolling in the open window

c) Zoom-in or zoom-out in the open window

What did you expect to happen

Expected:

a) Three Finger Horizontal swipes to switch Left or Right Workspaces.

b) Three Finger Vertical swipes to Toggle Overview.

Relevant logs, screenshots, screencasts etc.

Screen Recording

GestureImprovements

Output of the command journalctl -f -o cat /usr/bin/gnome-shell is as follows:

akant@debian:~$ journalctl -f -u /usr/bin/gnome-shell
Hint: You are currently not seeing messages from other users and the system.
  Users in groups 'adm', 'systemd-journal' can see all messages.
  Pass -q to turn off this notice.
-- Journal begins at Tue 2021-06-22 22:01:51 IST. --
^C
akant@debian:~$ journalctl -f -o cat /usr/bin/gnome-shell
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
q^C
akant@debian:~$ 

Output of the command libinput debug-events /dev/input/event5 is

root@debian:~# libinput list-devices | grep -A 1 -i touchpad
Device:           SynPS/2 Synaptics TouchPad
Kernel:           /dev/input/event5
root@debian:~# libinput debug-events /dev/input/event5
-event5   DEVICE_ADDED     SynPS/2 Synaptics TouchPad        seat0 default group1  cap:pg  size 99x49mm tap(dl off) left scroll-nat scroll-2fg-edge dwt-on
 event5   GESTURE_SWIPE_BEGIN +0.139s   4
 event5   GESTURE_SWIPE_UPDATE +0.139s  4  1.09/-5.04 ( 5.37/-24.87 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.164s  4  1.91/-14.97 ( 7.16/-55.95 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.191s  4  2.39/-18.01 ( 8.95/-67.34 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.215s  4  2.39/-21.62 ( 8.95/-80.81 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.241s  4  2.39/-19.12 ( 8.95/-71.49 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.266s  4  1.44/-14.69 ( 5.37/-54.91 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.290s  4  0.00/-10.25 ( 0.00/-38.33 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.316s  4  0.00/-6.37 ( 0.00/-23.83 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.341s  4  0.96/-3.05 ( 3.58/-11.40 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.366s  4 -0.47/-1.37 (-1.79/-5.18 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.395s  4  0.00/-0.41 ( 0.00/-2.07 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.417s  4  0.00/-0.14 ( 0.00/-1.04 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.544s  4  0.00/ 0.11 ( 0.00/ 1.04 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.571s  4  0.00/ 0.25 ( 0.00/ 2.07 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.594s  4  0.00/ 0.31 ( 0.00/ 2.07 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.621s  4 -0.33/ 0.77 (-1.79/ 4.14 unaccelerated)
 event5   GESTURE_SWIPE_END +0.669s 4
 event5   GESTURE_SWIPE_BEGIN +1.850s   4
 event5   GESTURE_SWIPE_UPDATE +1.850s  4  0.00/ 0.76 ( 0.00/ 4.14 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +1.876s  4  0.00/ 1.31 ( 0.00/ 6.22 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +1.901s  4  0.00/ 3.33 ( 0.00/12.43 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +1.926s  4  0.48/ 6.93 ( 1.79/25.90 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +1.952s  4  0.00/10.81 ( 0.00/40.41 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +1.977s  4  0.48/11.36 ( 1.79/42.48 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.002s  4 -0.48/12.47 (-1.79/46.62 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.028s  4 -0.48/11.92 (-1.79/44.55 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.057s  4  0.00/10.53 ( 0.00/39.37 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.078s  4  0.48/11.64 ( 1.79/43.51 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.104s  4 -0.48/ 9.15 (-1.79/34.19 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.129s  4  0.00/ 5.82 ( 0.00/21.76 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.156s  4  0.00/ 2.77 ( 0.00/10.36 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.180s  4 -0.47/ 1.08 (-1.79/ 4.14 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.206s  4  0.00/ 0.40 ( 0.00/ 2.07 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.230s  4  0.00/ 0.31 ( 0.00/ 2.07 unaccelerated)
 event5   GESTURE_SWIPE_END +2.318s 4

 event5   POINTER_MOTION   +9.971s   -0.50/ -0.29 ( -4.00/ -2.32)
 event5   POINTER_MOTION   +9.995s   -0.63/ -0.36 ( -4.00/ -2.32)
 event5   POINTER_MOTION   +10.020s  -0.75/  0.00 ( -4.00/ +0.00)
 event5   POINTER_MOTION   +10.046s  -0.73/  0.42 ( -4.00/ +2.32)
 event5   POINTER_MOTION   +10.073s  -3.69/  0.53 (-16.00/ +2.32)
 event5   POINTER_MOTION   +10.097s  -6.70/  0.55 (-28.00/ +2.32)
 event5   POINTER_MOTION   +10.121s -11.49/  0.00 (-48.00/ +0.00)
 event5   POINTER_MOTION   +10.147s -16.28/ -2.77 (-68.00/-11.58)
 event5   POINTER_MOTION   +10.172s -16.28/ -3.33 (-68.00/-13.89)
 event5   POINTER_MOTION   +10.197s -12.45/ -2.77 (-52.00/-11.58)
 event5   POINTER_MOTION   +10.223s  -7.66/ -2.22 (-32.00/ -9.26)
 event5   POINTER_MOTION   +10.248s  -2.87/ -0.55 (-12.00/ -2.32)
 event5   POINTER_MOTION   +10.273s  -1.91/  0.00 ( -8.00/ +0.00)
 event5   POINTER_MOTION   +10.299s   0.00/  0.46 ( +0.00/ +2.32)
 event5   POINTER_MOTION   +10.579s   0.00/ -0.26 ( +0.00/ -2.32)
 event5   POINTER_MOTION   +10.704s   0.17/  0.05 ( +2.00/ +0.58)
 event5   POINTER_MOTION   +11.301s   0.39/ -0.23 ( +4.00/ -2.32)
 event5   POINTER_MOTION   +11.327s   3.48/ -1.01 (+16.00/ -4.63)
 event5   POINTER_MOTION   +11.352s  11.49/ -3.88 (+48.00/-16.21)
 event5   POINTER_MOTION   +11.376s  13.40/ -4.43 (+56.00/-18.53)
 event5   POINTER_MOTION   +11.403s  15.32/ -4.99 (+64.00/-20.84)
 event5   POINTER_MOTION   +11.427s  17.23/ -4.99 (+72.00/-20.84)
 event5   POINTER_MOTION   +11.453s  14.36/ -3.33 (+60.00/-13.89)
 event5   POINTER_MOTION   +11.478s  10.53/ -2.22 (+44.00/ -9.26)
 event5   POINTER_MOTION   +11.504s  10.53/ -2.22 (+44.00/ -9.26)
 event5   POINTER_MOTION   +11.530s  10.53/ -3.33 (+44.00/-13.89)
 event5   POINTER_MOTION   +11.555s   9.57/ -3.88 (+40.00/-16.21)
 event5   POINTER_MOTION   +11.580s   7.66/ -3.33 (+32.00/-13.89)
 event5   POINTER_MOTION   +11.606s   8.62/ -2.77 (+36.00/-11.58)
 event5   POINTER_MOTION   +11.632s   8.62/ -2.22 (+36.00/ -9.26)
 event5   POINTER_MOTION   +11.655s   6.70/ -1.66 (+28.00/ -6.95)
 event5   POINTER_MOTION   +11.681s   5.74/ -0.55 (+24.00/ -2.32)
 event5   POINTER_MOTION   +11.706s   3.83/ -0.55 (+16.00/ -2.32)
 event5   POINTER_MOTION   +11.735s   1.91/  0.00 ( +8.00/ +0.00)
 event5   POINTER_MOTION   +11.757s   0.90/  0.52 ( +4.00/ +2.32)
 event5   POINTER_MOTION   +11.783s   0.76/  0.00 ( +4.00/ +0.00)
 event5   POINTER_MOTION   +12.479s  -2.12/  0.41 (-12.00/ +2.32)
 event5   POINTER_MOTION   +12.506s  -7.33/  1.59 (-32.00/ +6.95)
 event5   POINTER_MOTION   +12.530s -16.28/  3.33 (-68.00/+13.89)
 event5   POINTER_MOTION   +12.556s -22.02/  4.99 (-92.00/+20.84)
 event5   POINTER_MOTION   +12.581s -22.98/  5.54 (-96.00/+23.16)
 event5   POINTER_MOTION   +12.607s -21.06/  4.43 (-88.00/+18.53)
 event5   POINTER_MOTION   +12.632s -18.19/  5.54 (-76.00/+23.16)
 event5   POINTER_MOTION   +12.657s -16.28/  2.77 (-68.00/+11.58)
 event5   POINTER_MOTION   +12.683s -12.45/  3.33 (-52.00/+13.89)
 event5   POINTER_MOTION   +12.708s -12.45/  2.22 (-52.00/ +9.26)
 event5   POINTER_MOTION   +12.734s -10.53/  2.77 (-44.00/+11.58)
 event5   POINTER_MOTION   +12.760s  -7.66/  2.22 (-32.00/ +9.26)
 event5   POINTER_MOTION   +12.785s  -3.83/  0.55 (-16.00/ +2.32)
 event5   POINTER_MOTION   +12.809s  -1.91/  0.55 ( -8.00/ +2.32)
 event5   POINTER_MOTION   +12.841s  -0.88/  0.51 ( -4.00/ +2.32)
 event5   POINTER_MOTION   +12.873s  -1.62/  0.47 ( -8.00/ +2.32)
 event5   POINTER_MOTION   +12.899s  -0.82/  0.00 ( -4.00/ +0.00)
 event5   POINTER_MOTION   +13.395s   0.00/  0.33 ( +0.00/ +2.32)
 event5   POINTER_MOTION   +13.418s   0.58/  0.00 ( +4.00/ +0.00)
 event5   POINTER_MOTION   +13.442s   0.76/  0.44 ( +4.00/ +2.32)
 event5   POINTER_MOTION   +13.469s   2.78/  0.54 (+12.00/ +2.32)
 event5   POINTER_MOTION   +13.494s   5.74/  0.55 (+24.00/ +2.32)
 event5   POINTER_MOTION   +13.519s  11.49/ -1.11 (+48.00/ -4.63)
 event5   POINTER_MOTION   +13.545s  16.28/ -2.22 (+68.00/ -9.26)
 event5   POINTER_MOTION   +13.571s  25.85/ -3.33 (+108.00/-13.89)
 event5   POINTER_MOTION   +13.597s  24.89/ -3.33 (+104.00/-13.89)
 event5   POINTER_MOTION   +13.620s  26.81/ -3.33 (+112.00/-13.89)
 event5   POINTER_MOTION   +13.646s  20.11/ -1.66 (+84.00/ -6.95)
 event5   POINTER_MOTION   +13.671s  13.40/ -0.55 (+56.00/ -2.32)
 event5   POINTER_MOTION   +13.698s  10.53/ -1.66 (+44.00/ -6.95)
 event5   POINTER_MOTION   +13.722s  12.45/ -2.22 (+52.00/ -9.26)
 event5   POINTER_MOTION   +13.748s  11.49/ -0.55 (+48.00/ -2.32)
 event5   POINTER_MOTION   +13.773s   8.62/  0.00 (+36.00/ +0.00)
 event5   POINTER_MOTION   +13.798s   4.79/  0.00 (+20.00/ +0.00)
 event5   POINTER_MOTION   +13.824s   1.91/  0.55 ( +8.00/ +2.32)
 event5   POINTER_MOTION   +13.849s   0.91/  0.53 ( +4.00/ +2.32)
 event5   POINTER_MOTION   +16.867s   0.00/  0.77 ( +0.00/ +4.63)
 event5   POINTER_MOTION   +16.892s   0.00/  0.32 ( +0.00/ +2.32)
 event5   POINTER_MOTION   +16.944s   0.00/ -5.14 ( +0.00/-23.16)
 event5   POINTER_MOTION   +16.969s   0.00/-11.64 ( +0.00/-48.63)
 event5   POINTER_MOTION   +16.995s   0.00/-13.86 ( +0.00/-57.89)
 event5   POINTER_MOTION   +17.019s   0.96/-14.41 ( +4.00/-60.21)
 event5   POINTER_MOTION   +17.045s   0.00/-14.97 ( +0.00/-62.53)
 event5   POINTER_MOTION   +17.069s   0.00/-14.41 ( +0.00/-60.21)
 event5   POINTER_MOTION   +17.097s   0.00/ -9.98 ( +0.00/-41.68)
 event5   POINTER_MOTION   +17.121s   0.00/ -6.10 ( +0.00/-25.47)
 event5   POINTER_MOTION   +17.147s   0.00/ -3.33 ( +0.00/-13.89)
 event5   POINTER_MOTION   +17.172s   0.00/ -1.07 ( +0.00/ -4.63)
 event5   POINTER_MOTION   +17.195s   0.00/ -0.90 ( +0.00/ -4.63)
 event5   POINTER_MOTION   +17.222s   0.00/ -0.38 ( +0.00/ -2.32)
 event5   POINTER_MOTION   +17.246s   0.00/ -0.76 ( +0.00/ -4.63)
 event5   POINTER_MOTION   +17.273s   0.00/ -0.38 ( +0.00/ -2.32)
 event5   POINTER_MOTION   +17.297s   0.00/ -0.31 ( +0.00/ -2.32)
 event5   POINTER_MOTION   +17.398s   0.00/  0.27 ( +0.00/ +2.32)
 event5   POINTER_MOTION   +17.906s   0.00/  0.54 ( +0.00/ +4.63)
 event5   POINTER_MOTION   +17.932s   0.00/  1.32 ( +0.00/ +6.95)
 event5   POINTER_MOTION   +17.957s   0.00/  1.66 ( +0.00/ +6.95)
 event5   POINTER_MOTION   +17.981s   0.00/  1.66 ( +0.00/ +6.95)
 event5   POINTER_MOTION   +18.008s   0.00/  2.77 ( +0.00/+11.58)
 event5   POINTER_MOTION   +18.036s  -0.96/  3.88 ( -4.00/+16.21)
 event5   POINTER_MOTION   +18.058s   0.00/  4.99 ( +0.00/+20.84)
 event5   POINTER_MOTION   +18.085s   0.00/  8.87 ( +0.00/+37.05)
 event5   POINTER_MOTION   +18.108s   0.00/ 14.41 ( +0.00/+60.21)
 event5   POINTER_MOTION   +18.137s   0.00/ 12.19 ( +0.00/+50.95)
 event5   POINTER_MOTION   +18.161s   0.00/  8.87 ( +0.00/+37.05)
 event5   POINTER_MOTION   +18.185s   0.00/  6.10 ( +0.00/+25.47)
 event5   POINTER_MOTION   +18.211s   0.00/  4.99 ( +0.00/+20.84)
 event5   POINTER_MOTION   +18.236s   0.00/  6.10 ( +0.00/+25.47)
 event5   POINTER_MOTION   +18.262s   0.96/  7.76 ( +4.00/+32.42)
 event5   POINTER_MOTION   +18.286s   0.00/ 11.09 ( +0.00/+46.32)
 event5   POINTER_MOTION   +18.312s   0.00/  8.31 ( +0.00/+34.74)
 event5   POINTER_MOTION   +18.337s   0.00/  4.99 ( +0.00/+20.84)
 event5   POINTER_MOTION   +18.363s   0.00/  3.33 ( +0.00/+13.89)
 event5   POINTER_MOTION   +18.389s   0.00/  1.07 ( +0.00/ +4.63)
 event5   POINTER_MOTION   +18.414s   0.00/  0.37 ( +0.00/ +2.32)
 event5   POINTER_MOTION   +23.927s  -0.27/ -0.08 ( -2.00/ -0.58)
 event5   POINTER_MOTION   +23.954s  -0.13/  0.22 ( -1.00/ +1.74)
 event5   POINTER_MOTION   +23.965s  -0.14/  0.17 ( -1.00/ +1.16)
 event5   POINTER_MOTION   +23.981s  -0.83/  0.48 ( -4.00/ +2.32)
 event5   POINTER_MOTION   +23.992s  -0.24/  0.69 ( -1.00/ +2.89)
 event5   POINTER_MOTION   +24.004s  -0.72/  0.97 ( -3.00/ +4.05)
 event5   POINTER_MOTION   +24.017s  -0.96/  1.11 ( -4.00/ +4.63)
 event5   POINTER_MOTION   +24.028s  -0.96/  1.11 ( -4.00/ +4.63)
 event5   POINTER_MOTION   +24.043s  -1.44/  0.97 ( -6.00/ +4.05)
 event5   POINTER_MOTION   +24.055s  -1.91/  2.22 ( -8.00/ +9.26)
 event5   POINTER_MOTION   +24.067s  -1.91/  2.22 ( -8.00/ +9.26)
 event5   POINTER_MOTION   +24.079s  -2.15/  3.19 ( -9.00/+13.32)
 event5   POINTER_MOTION   +24.094s  -2.39/  2.63 (-10.00/+11.00)
 event5   POINTER_MOTION   +24.105s  -3.11/  3.05 (-13.00/+12.74)
 event5   POINTER_MOTION   +24.117s  -3.11/  3.19 (-13.00/+13.32)
 event5   POINTER_MOTION   +24.130s  -3.59/  2.91 (-15.00/+12.16)
 event5   POINTER_MOTION   +24.142s  -3.35/  3.46 (-14.00/+14.47)
 event5   POINTER_MOTION   +24.155s  -2.63/  3.05 (-11.00/+12.74)
 event5   POINTER_MOTION   +24.168s  -3.35/  3.74 (-14.00/+15.63)
 event5   POINTER_MOTION   +24.182s  -3.59/  4.30 (-15.00/+17.95)
 event5   POINTER_MOTION   +24.194s  -2.87/  3.88 (-12.00/+16.21)
 event5   POINTER_MOTION   +24.206s  -3.11/  4.02 (-13.00/+16.79)
 event5   POINTER_MOTION   +24.219s  -3.59/  4.85 (-15.00/+20.26)
 event5   POINTER_MOTION   +24.231s  -2.15/  3.46 ( -9.00/+14.47)
 event5   POINTER_MOTION   +24.244s  -2.39/  3.46 (-10.00/+14.47)
 event5   POINTER_MOTION   +24.261s  -1.91/  2.77 ( -8.00/+11.58)
 event5   POINTER_MOTION   +24.270s  -2.15/  2.49 ( -9.00/+10.42)
 event5   POINTER_MOTION   +24.282s  -0.72/  1.94 ( -3.00/ +8.11)
 event5   POINTER_MOTION   +24.297s  -1.44/  1.52 ( -6.00/ +6.37)
 event5   POINTER_MOTION   +24.308s  -0.48/  1.25 ( -2.00/ +5.21)
 event5   POINTER_MOTION   +24.320s  -1.20/  0.83 ( -5.00/ +3.47)
 event5   POINTER_MOTION   +24.332s  -0.24/  0.69 ( -1.00/ +2.89)
 event5   POINTER_MOTION   +24.346s  -0.71/  0.96 ( -3.00/ +4.05)
 event5   POINTER_MOTION   +24.361s  -0.46/  0.40 ( -2.00/ +1.74)
 event5   POINTER_MOTION   +24.371s   0.18/  0.21 ( +1.00/ +1.16)
 event5   POINTER_MOTION   +24.385s  -2.73/ -1.32 (-12.00/ -5.79)
 event5   POINTER_MOTION   +24.396s   0.23/  0.26 ( +1.00/ +1.16)
 event5   POINTER_MOTION   +24.408s   0.00/  0.08 ( +0.00/ +0.58)
^C
root@debian:~# 
harshadgavali commented 3 years ago

Hi, can you post screencast, I didn't understand What happened section ? Also can you post output of journalctl -f -o cat /usr/bin/gnome-shell ?

akant-git commented 3 years ago

@harshadgavali

After the use of FOUR finger maximize and unmaximize gesture, I expected the THREE finger gestures of Gnome 40 to work as before. But None of the THREE finger gestures worked.

Output of the command journalctl -f -o cat /usr/bin/gnome-shell is as follows:

akant@debian:~$ journalctl -f -u /usr/bin/gnome-shell
Hint: You are currently not seeing messages from other users and the system.
  Users in groups 'adm', 'systemd-journal' can see all messages.
  Pass -q to turn off this notice.
-- Journal begins at Tue 2021-06-22 22:01:51 IST. --
^C
akant@debian:~$ journalctl -f -o cat /usr/bin/gnome-shell
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
Window manager warning: Property WM_NAME on window 0x800002 contained invalid UTF-8
q^C
akant@debian:~$ 
harshadgavali commented 3 years ago

Hi @akant-git, Unfortunately I couldn't reproduce this issue with live installation(couldn't do proper installation) of Debian bullseye + packages from experimental repository.

Can you try to see if this issue still occurs when all other extensions are disabled(might also want to log out and log back in), if yes can you share list of enabled extensions ?

Have you previously installed some programs which modifies gesture behaviour ? Like Touchegg or libinput gestures, if yes are they still running or have configuration files somewhere ?

For screen recording, you can try Kooha(flathub) app or Ctrl+Alt+Shift+R (inbuilt screen recording)

harshadgavali commented 3 years ago

Can you give output of following command please? On debian you might need to install libinput-tools package first. sudo libinput debug-events /dev/input/<touchpad device> Touchpad device can be found using sudo libinput list-devices | grep -A 1 -i touchpad

akant-git commented 3 years ago

Output of the command is

root@debian:~# libinput list-devices | grep -A 1 -i touchpad
Device:           SynPS/2 Synaptics TouchPad
Kernel:           /dev/input/event5
root@debian:~# libinput debug-events /dev/input/event5
-event5   DEVICE_ADDED     SynPS/2 Synaptics TouchPad        seat0 default group1  cap:pg  size 99x49mm tap(dl off) left scroll-nat scroll-2fg-edge dwt-on
 event5   GESTURE_SWIPE_BEGIN +0.139s   4
 event5   GESTURE_SWIPE_UPDATE +0.139s  4  1.09/-5.04 ( 5.37/-24.87 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.164s  4  1.91/-14.97 ( 7.16/-55.95 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.191s  4  2.39/-18.01 ( 8.95/-67.34 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.215s  4  2.39/-21.62 ( 8.95/-80.81 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.241s  4  2.39/-19.12 ( 8.95/-71.49 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.266s  4  1.44/-14.69 ( 5.37/-54.91 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.290s  4  0.00/-10.25 ( 0.00/-38.33 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.316s  4  0.00/-6.37 ( 0.00/-23.83 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.341s  4  0.96/-3.05 ( 3.58/-11.40 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.366s  4 -0.47/-1.37 (-1.79/-5.18 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.395s  4  0.00/-0.41 ( 0.00/-2.07 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.417s  4  0.00/-0.14 ( 0.00/-1.04 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.544s  4  0.00/ 0.11 ( 0.00/ 1.04 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.571s  4  0.00/ 0.25 ( 0.00/ 2.07 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.594s  4  0.00/ 0.31 ( 0.00/ 2.07 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +0.621s  4 -0.33/ 0.77 (-1.79/ 4.14 unaccelerated)
 event5   GESTURE_SWIPE_END +0.669s 4
 event5   GESTURE_SWIPE_BEGIN +1.850s   4
 event5   GESTURE_SWIPE_UPDATE +1.850s  4  0.00/ 0.76 ( 0.00/ 4.14 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +1.876s  4  0.00/ 1.31 ( 0.00/ 6.22 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +1.901s  4  0.00/ 3.33 ( 0.00/12.43 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +1.926s  4  0.48/ 6.93 ( 1.79/25.90 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +1.952s  4  0.00/10.81 ( 0.00/40.41 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +1.977s  4  0.48/11.36 ( 1.79/42.48 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.002s  4 -0.48/12.47 (-1.79/46.62 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.028s  4 -0.48/11.92 (-1.79/44.55 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.057s  4  0.00/10.53 ( 0.00/39.37 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.078s  4  0.48/11.64 ( 1.79/43.51 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.104s  4 -0.48/ 9.15 (-1.79/34.19 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.129s  4  0.00/ 5.82 ( 0.00/21.76 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.156s  4  0.00/ 2.77 ( 0.00/10.36 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.180s  4 -0.47/ 1.08 (-1.79/ 4.14 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.206s  4  0.00/ 0.40 ( 0.00/ 2.07 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.230s  4  0.00/ 0.31 ( 0.00/ 2.07 unaccelerated)
 event5   GESTURE_SWIPE_END +2.318s 4

 event5   POINTER_MOTION   +9.971s   -0.50/ -0.29 ( -4.00/ -2.32)
 event5   POINTER_MOTION   +9.995s   -0.63/ -0.36 ( -4.00/ -2.32)
 event5   POINTER_MOTION   +10.020s  -0.75/  0.00 ( -4.00/ +0.00)
 event5   POINTER_MOTION   +10.046s  -0.73/  0.42 ( -4.00/ +2.32)
 event5   POINTER_MOTION   +10.073s  -3.69/  0.53 (-16.00/ +2.32)
 event5   POINTER_MOTION   +10.097s  -6.70/  0.55 (-28.00/ +2.32)
 event5   POINTER_MOTION   +10.121s -11.49/  0.00 (-48.00/ +0.00)
 event5   POINTER_MOTION   +10.147s -16.28/ -2.77 (-68.00/-11.58)
 event5   POINTER_MOTION   +10.172s -16.28/ -3.33 (-68.00/-13.89)
 event5   POINTER_MOTION   +10.197s -12.45/ -2.77 (-52.00/-11.58)
 event5   POINTER_MOTION   +10.223s  -7.66/ -2.22 (-32.00/ -9.26)
 event5   POINTER_MOTION   +10.248s  -2.87/ -0.55 (-12.00/ -2.32)
 event5   POINTER_MOTION   +10.273s  -1.91/  0.00 ( -8.00/ +0.00)
 event5   POINTER_MOTION   +10.299s   0.00/  0.46 ( +0.00/ +2.32)
 event5   POINTER_MOTION   +10.579s   0.00/ -0.26 ( +0.00/ -2.32)
 event5   POINTER_MOTION   +10.704s   0.17/  0.05 ( +2.00/ +0.58)
 event5   POINTER_MOTION   +11.301s   0.39/ -0.23 ( +4.00/ -2.32)
 event5   POINTER_MOTION   +11.327s   3.48/ -1.01 (+16.00/ -4.63)
 event5   POINTER_MOTION   +11.352s  11.49/ -3.88 (+48.00/-16.21)
 event5   POINTER_MOTION   +11.376s  13.40/ -4.43 (+56.00/-18.53)
 event5   POINTER_MOTION   +11.403s  15.32/ -4.99 (+64.00/-20.84)
 event5   POINTER_MOTION   +11.427s  17.23/ -4.99 (+72.00/-20.84)
 event5   POINTER_MOTION   +11.453s  14.36/ -3.33 (+60.00/-13.89)
 event5   POINTER_MOTION   +11.478s  10.53/ -2.22 (+44.00/ -9.26)
 event5   POINTER_MOTION   +11.504s  10.53/ -2.22 (+44.00/ -9.26)
 event5   POINTER_MOTION   +11.530s  10.53/ -3.33 (+44.00/-13.89)
 event5   POINTER_MOTION   +11.555s   9.57/ -3.88 (+40.00/-16.21)
 event5   POINTER_MOTION   +11.580s   7.66/ -3.33 (+32.00/-13.89)
 event5   POINTER_MOTION   +11.606s   8.62/ -2.77 (+36.00/-11.58)
 event5   POINTER_MOTION   +11.632s   8.62/ -2.22 (+36.00/ -9.26)
 event5   POINTER_MOTION   +11.655s   6.70/ -1.66 (+28.00/ -6.95)
 event5   POINTER_MOTION   +11.681s   5.74/ -0.55 (+24.00/ -2.32)
 event5   POINTER_MOTION   +11.706s   3.83/ -0.55 (+16.00/ -2.32)
 event5   POINTER_MOTION   +11.735s   1.91/  0.00 ( +8.00/ +0.00)
 event5   POINTER_MOTION   +11.757s   0.90/  0.52 ( +4.00/ +2.32)
 event5   POINTER_MOTION   +11.783s   0.76/  0.00 ( +4.00/ +0.00)
 event5   POINTER_MOTION   +12.479s  -2.12/  0.41 (-12.00/ +2.32)
 event5   POINTER_MOTION   +12.506s  -7.33/  1.59 (-32.00/ +6.95)
 event5   POINTER_MOTION   +12.530s -16.28/  3.33 (-68.00/+13.89)
 event5   POINTER_MOTION   +12.556s -22.02/  4.99 (-92.00/+20.84)
 event5   POINTER_MOTION   +12.581s -22.98/  5.54 (-96.00/+23.16)
 event5   POINTER_MOTION   +12.607s -21.06/  4.43 (-88.00/+18.53)
 event5   POINTER_MOTION   +12.632s -18.19/  5.54 (-76.00/+23.16)
 event5   POINTER_MOTION   +12.657s -16.28/  2.77 (-68.00/+11.58)
 event5   POINTER_MOTION   +12.683s -12.45/  3.33 (-52.00/+13.89)
 event5   POINTER_MOTION   +12.708s -12.45/  2.22 (-52.00/ +9.26)
 event5   POINTER_MOTION   +12.734s -10.53/  2.77 (-44.00/+11.58)
 event5   POINTER_MOTION   +12.760s  -7.66/  2.22 (-32.00/ +9.26)
 event5   POINTER_MOTION   +12.785s  -3.83/  0.55 (-16.00/ +2.32)
 event5   POINTER_MOTION   +12.809s  -1.91/  0.55 ( -8.00/ +2.32)
 event5   POINTER_MOTION   +12.841s  -0.88/  0.51 ( -4.00/ +2.32)
 event5   POINTER_MOTION   +12.873s  -1.62/  0.47 ( -8.00/ +2.32)
 event5   POINTER_MOTION   +12.899s  -0.82/  0.00 ( -4.00/ +0.00)
 event5   POINTER_MOTION   +13.395s   0.00/  0.33 ( +0.00/ +2.32)
 event5   POINTER_MOTION   +13.418s   0.58/  0.00 ( +4.00/ +0.00)
 event5   POINTER_MOTION   +13.442s   0.76/  0.44 ( +4.00/ +2.32)
 event5   POINTER_MOTION   +13.469s   2.78/  0.54 (+12.00/ +2.32)
 event5   POINTER_MOTION   +13.494s   5.74/  0.55 (+24.00/ +2.32)
 event5   POINTER_MOTION   +13.519s  11.49/ -1.11 (+48.00/ -4.63)
 event5   POINTER_MOTION   +13.545s  16.28/ -2.22 (+68.00/ -9.26)
 event5   POINTER_MOTION   +13.571s  25.85/ -3.33 (+108.00/-13.89)
 event5   POINTER_MOTION   +13.597s  24.89/ -3.33 (+104.00/-13.89)
 event5   POINTER_MOTION   +13.620s  26.81/ -3.33 (+112.00/-13.89)
 event5   POINTER_MOTION   +13.646s  20.11/ -1.66 (+84.00/ -6.95)
 event5   POINTER_MOTION   +13.671s  13.40/ -0.55 (+56.00/ -2.32)
 event5   POINTER_MOTION   +13.698s  10.53/ -1.66 (+44.00/ -6.95)
 event5   POINTER_MOTION   +13.722s  12.45/ -2.22 (+52.00/ -9.26)
 event5   POINTER_MOTION   +13.748s  11.49/ -0.55 (+48.00/ -2.32)
 event5   POINTER_MOTION   +13.773s   8.62/  0.00 (+36.00/ +0.00)
 event5   POINTER_MOTION   +13.798s   4.79/  0.00 (+20.00/ +0.00)
 event5   POINTER_MOTION   +13.824s   1.91/  0.55 ( +8.00/ +2.32)
 event5   POINTER_MOTION   +13.849s   0.91/  0.53 ( +4.00/ +2.32)
 event5   POINTER_MOTION   +16.867s   0.00/  0.77 ( +0.00/ +4.63)
 event5   POINTER_MOTION   +16.892s   0.00/  0.32 ( +0.00/ +2.32)
 event5   POINTER_MOTION   +16.944s   0.00/ -5.14 ( +0.00/-23.16)
 event5   POINTER_MOTION   +16.969s   0.00/-11.64 ( +0.00/-48.63)
 event5   POINTER_MOTION   +16.995s   0.00/-13.86 ( +0.00/-57.89)
 event5   POINTER_MOTION   +17.019s   0.96/-14.41 ( +4.00/-60.21)
 event5   POINTER_MOTION   +17.045s   0.00/-14.97 ( +0.00/-62.53)
 event5   POINTER_MOTION   +17.069s   0.00/-14.41 ( +0.00/-60.21)
 event5   POINTER_MOTION   +17.097s   0.00/ -9.98 ( +0.00/-41.68)
 event5   POINTER_MOTION   +17.121s   0.00/ -6.10 ( +0.00/-25.47)
 event5   POINTER_MOTION   +17.147s   0.00/ -3.33 ( +0.00/-13.89)
 event5   POINTER_MOTION   +17.172s   0.00/ -1.07 ( +0.00/ -4.63)
 event5   POINTER_MOTION   +17.195s   0.00/ -0.90 ( +0.00/ -4.63)
 event5   POINTER_MOTION   +17.222s   0.00/ -0.38 ( +0.00/ -2.32)
 event5   POINTER_MOTION   +17.246s   0.00/ -0.76 ( +0.00/ -4.63)
 event5   POINTER_MOTION   +17.273s   0.00/ -0.38 ( +0.00/ -2.32)
 event5   POINTER_MOTION   +17.297s   0.00/ -0.31 ( +0.00/ -2.32)
 event5   POINTER_MOTION   +17.398s   0.00/  0.27 ( +0.00/ +2.32)
 event5   POINTER_MOTION   +17.906s   0.00/  0.54 ( +0.00/ +4.63)
 event5   POINTER_MOTION   +17.932s   0.00/  1.32 ( +0.00/ +6.95)
 event5   POINTER_MOTION   +17.957s   0.00/  1.66 ( +0.00/ +6.95)
 event5   POINTER_MOTION   +17.981s   0.00/  1.66 ( +0.00/ +6.95)
 event5   POINTER_MOTION   +18.008s   0.00/  2.77 ( +0.00/+11.58)
 event5   POINTER_MOTION   +18.036s  -0.96/  3.88 ( -4.00/+16.21)
 event5   POINTER_MOTION   +18.058s   0.00/  4.99 ( +0.00/+20.84)
 event5   POINTER_MOTION   +18.085s   0.00/  8.87 ( +0.00/+37.05)
 event5   POINTER_MOTION   +18.108s   0.00/ 14.41 ( +0.00/+60.21)
 event5   POINTER_MOTION   +18.137s   0.00/ 12.19 ( +0.00/+50.95)
 event5   POINTER_MOTION   +18.161s   0.00/  8.87 ( +0.00/+37.05)
 event5   POINTER_MOTION   +18.185s   0.00/  6.10 ( +0.00/+25.47)
 event5   POINTER_MOTION   +18.211s   0.00/  4.99 ( +0.00/+20.84)
 event5   POINTER_MOTION   +18.236s   0.00/  6.10 ( +0.00/+25.47)
 event5   POINTER_MOTION   +18.262s   0.96/  7.76 ( +4.00/+32.42)
 event5   POINTER_MOTION   +18.286s   0.00/ 11.09 ( +0.00/+46.32)
 event5   POINTER_MOTION   +18.312s   0.00/  8.31 ( +0.00/+34.74)
 event5   POINTER_MOTION   +18.337s   0.00/  4.99 ( +0.00/+20.84)
 event5   POINTER_MOTION   +18.363s   0.00/  3.33 ( +0.00/+13.89)
 event5   POINTER_MOTION   +18.389s   0.00/  1.07 ( +0.00/ +4.63)
 event5   POINTER_MOTION   +18.414s   0.00/  0.37 ( +0.00/ +2.32)
 event5   POINTER_MOTION   +23.927s  -0.27/ -0.08 ( -2.00/ -0.58)
 event5   POINTER_MOTION   +23.954s  -0.13/  0.22 ( -1.00/ +1.74)
 event5   POINTER_MOTION   +23.965s  -0.14/  0.17 ( -1.00/ +1.16)
 event5   POINTER_MOTION   +23.981s  -0.83/  0.48 ( -4.00/ +2.32)
 event5   POINTER_MOTION   +23.992s  -0.24/  0.69 ( -1.00/ +2.89)
 event5   POINTER_MOTION   +24.004s  -0.72/  0.97 ( -3.00/ +4.05)
 event5   POINTER_MOTION   +24.017s  -0.96/  1.11 ( -4.00/ +4.63)
 event5   POINTER_MOTION   +24.028s  -0.96/  1.11 ( -4.00/ +4.63)
 event5   POINTER_MOTION   +24.043s  -1.44/  0.97 ( -6.00/ +4.05)
 event5   POINTER_MOTION   +24.055s  -1.91/  2.22 ( -8.00/ +9.26)
 event5   POINTER_MOTION   +24.067s  -1.91/  2.22 ( -8.00/ +9.26)
 event5   POINTER_MOTION   +24.079s  -2.15/  3.19 ( -9.00/+13.32)
 event5   POINTER_MOTION   +24.094s  -2.39/  2.63 (-10.00/+11.00)
 event5   POINTER_MOTION   +24.105s  -3.11/  3.05 (-13.00/+12.74)
 event5   POINTER_MOTION   +24.117s  -3.11/  3.19 (-13.00/+13.32)
 event5   POINTER_MOTION   +24.130s  -3.59/  2.91 (-15.00/+12.16)
 event5   POINTER_MOTION   +24.142s  -3.35/  3.46 (-14.00/+14.47)
 event5   POINTER_MOTION   +24.155s  -2.63/  3.05 (-11.00/+12.74)
 event5   POINTER_MOTION   +24.168s  -3.35/  3.74 (-14.00/+15.63)
 event5   POINTER_MOTION   +24.182s  -3.59/  4.30 (-15.00/+17.95)
 event5   POINTER_MOTION   +24.194s  -2.87/  3.88 (-12.00/+16.21)
 event5   POINTER_MOTION   +24.206s  -3.11/  4.02 (-13.00/+16.79)
 event5   POINTER_MOTION   +24.219s  -3.59/  4.85 (-15.00/+20.26)
 event5   POINTER_MOTION   +24.231s  -2.15/  3.46 ( -9.00/+14.47)
 event5   POINTER_MOTION   +24.244s  -2.39/  3.46 (-10.00/+14.47)
 event5   POINTER_MOTION   +24.261s  -1.91/  2.77 ( -8.00/+11.58)
 event5   POINTER_MOTION   +24.270s  -2.15/  2.49 ( -9.00/+10.42)
 event5   POINTER_MOTION   +24.282s  -0.72/  1.94 ( -3.00/ +8.11)
 event5   POINTER_MOTION   +24.297s  -1.44/  1.52 ( -6.00/ +6.37)
 event5   POINTER_MOTION   +24.308s  -0.48/  1.25 ( -2.00/ +5.21)
 event5   POINTER_MOTION   +24.320s  -1.20/  0.83 ( -5.00/ +3.47)
 event5   POINTER_MOTION   +24.332s  -0.24/  0.69 ( -1.00/ +2.89)
 event5   POINTER_MOTION   +24.346s  -0.71/  0.96 ( -3.00/ +4.05)
 event5   POINTER_MOTION   +24.361s  -0.46/  0.40 ( -2.00/ +1.74)
 event5   POINTER_MOTION   +24.371s   0.18/  0.21 ( +1.00/ +1.16)
 event5   POINTER_MOTION   +24.385s  -2.73/ -1.32 (-12.00/ -5.79)
 event5   POINTER_MOTION   +24.396s   0.23/  0.26 ( +1.00/ +1.16)
 event5   POINTER_MOTION   +24.408s   0.00/  0.08 ( +0.00/ +0.58)
^C
root@debian:~# 
akant-git commented 3 years ago

Hi @akant-git, Unfortunately I couldn't reproduce this issue with live installation(couldn't do proper installation) of Debian bullseye + packages from experimental repository.

Can you try to see if this issue still occurs when all other extensions are disabled(might also want to log out and log back in), if yes can you share list of enabled extensions ?

Have you previously installed some programs which modifies gesture behaviour ? Like Touchegg or libinput gestures, if yes are they still running or have configuration files somewhere ?

For screen recording, you can try Kooha(flathub) app or Ctrl+Alt+Shift+R (inbuilt screen recording)

1) I have not previously installed any program that modifies gesture behaviour.

2) Only this extension is enabled. No other extensions are enabled.

harshadgavali commented 3 years ago

Looking at the output of libinput debug-events /dev/input/event5, There are two GESTURE_SWIPE_END events. Did you do maximize and minimize both (since it shows 4 finger for both events) ?

If yes, It seems libinput isn't recognising swipe gestures afterwards. libinput is treating swipe gesture as pointer movement (POINTER_MOTION event). Similar issue in libinput is https://gitlab.freedesktop.org/libinput/libinput/-/issues/624 .

akant-git commented 3 years ago

Did you do maximize and minimize both (since it shows 4 finger for both events) ?

First was maximize / unmaximize with FOUR finger gestures.

Second was THREE finger gesture, vertical and horizontal.

I am also adding the screen recording

GestureImprovements

harshadgavali commented 3 years ago

If I'm correct with this, issue is related to https://gitlab.freedesktop.org/libinput/libinput/-/issues/624 . I'll keep this open until it gets fixed in libinput