Giter Site home page Giter Site logo

touchegg's Issues

Switching workspaces with gestures sometimes gets interrupted and reverts to previous workspace

(1) Issue/Bug Description:

After a recent update I've noticed a really annoying behavior when switching workspaces. It seems to happen only when using the touch-pad gestures (4-finger swipe up/down). Basically, if I'm swiping between workspaces quickly, it seems sometimes one of the windows steals focus after I scroll past it. So it yanks me back to that desktop rudely, interrupting where I was trying to go.

It's easily reproducible for me by just opening multiple firefox windows on multiple workspaces, and just swiping up and down between them using the 4-finger touch pad gesture.

(2) Steps to reproduce (if you know):

  1. Use tiled windows (no active hint, no window titles, gaps: 2)
  2. Open 3+ firefox windows each in their own workspace
  3. Enable "focus follows mouse" in Tweaks (I have this on but turning it off doesn't seem to fix is, just mentioning for completeness)
  4. swipe between workspaces using 4-finger swipe touchpad gesture (it's not 100% of the time, you have to try for a bit)
  5. Sometimes, it will quickly switch back to the workspace you just left

(3) Expected behavior:

When I change workspaces, it stays on the workspace I changed to.

(4) Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

(5) Gnome Shell version:

gnome-shell/jammy,now 42.1-0ubuntu0.1pop1~1654265234~22.04~d8fe566 amd64

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):

pop-shell:
  Installed: 1.1.0~1654621639~22.04~b299641
  Candidate: 1.1.0~1654621639~22.04~b299641
  Version table:
 *** 1.1.0~1654621639~22.04~b299641 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1001 http://apt.pop-os.org/release jammy/main i386 Packages
        100 /var/lib/dpkg/status

(7) Where was Pop Shell installed from:

apt I assume (came pre-installed)

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc):

One 3440x1440 Ultrawide

(9) Other Installed/Enabled Extensions:

Sound Input & Output Device Chooser
Systemd Manager
Vitals
Cosmic Dock
Cosmic Workspaces
COSMIC X11 Gestures
Pop COSMIC
Pop Shell
System76 Power
Ubuntu AppIndicators

(10) Other Notes:

Might be relevant: I'm using an Apple Magic Trackpad.

I feel like this didn't happen before and only started happening recently after an update. But this might be related: I think it used to maybe instead give me those "window is ready" notifications. Now instead of those notifications, it steals focus and switches workspaces.

Touchegg Improvements

Three Finger Window Focus > Don't require lifting fingers to move more than one window
1-to-1 workspace animation gestures

My Screen/Page Gets Randomly Zoomed In And Out

Describe the bug

My screen/page gets randomly zoomed in and out to 120%, 60%, etc. even when I am not using my touchpad or keyboard. This happens when I am using FireFox, the command line, pdf viewers, etc. I am using a Dell Inspiron 15 5548 and I have dual booted Pop!_OS 22.04 with Windows Ten. I installed the linux distro a few days ago.

At first, I tried disabling the HiDPI Daemon, but that did not work. I also can confirm that this is not a touchpad/hardware issue because this doesn't occur when I use windows ten.

Later then, I thought that the problem could be something with the drivers because my laptop is from 2015 and is pretty old.

After some time, I ran journalctl -f, so I could see what was exactly happening when the bug occurred. The logs of the bug are posted below in the Logs section. A person reviewed these logs and told me that the bug could have something to do with "touchegg segfaulting".

P.S. I disabled touchegg on my laptop and the bug was still occurring. So, I am not sure if touchegg is still relevant to the bug.

In addition, I forgot to mention that other than random zooming, on FireFox, the webpage can get preloaded at 90%, 30%, etc. instead of at 100%.

Expected behaviour

I should only be able to zoom in/out the page of an application with keyboard shortcuts or my touchpad.

Actual behaviour

At irregular times, the page of an application gets randomly zoomed in/out to 120%, 65%, etc.

Logs

If required, include logs of the bug:

Dec 31 19:00:18 pop-os gnome-shell[3570]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x300003e
Dec 31 19:00:19 pop-os gnome-shell[3570]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x300003e
Dec 31 19:00:20 pop-os gnome-shell[3570]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x300003e
Dec 31 19:00:24 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:24 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:24 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:24 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:25 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:25 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:25 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:25 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:26 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:26 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:26 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:26 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:26 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:26 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:26 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:26 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:27 pop-os wpa_supplicant[520]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-42 noise=9999 txrate=72200
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:27 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:29 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:29 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:29 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:29 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:30 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:30 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:30 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:30 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:30 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:30 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:30 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:30 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:32 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:32 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:32 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:32 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:33 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:33 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:33 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:33 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:33 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): EDID vendor "AUO", prod id 4588
Dec 31 19:00:33 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Printing DDC gathered Modelines:
Dec 31 19:00:33 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1526 768 771 777 800 +hsync -vsync (48.0 kHz eP)
Dec 31 19:00:33 pop-os /usr/libexec/gdm-x-session[3297]: (II) modeset(0): Modeline "1366x768"x0.0 73.30 1366 1406 1438 1908 768 771 777 800 +hsync -vsync (38.4 kHz e)
Dec 31 19:00:33 pop-os kernel: touchegg[3817]: segfault at 0 ip 000055b970a2330d sp 00007ffd56e56da0 error 4 in touchegg[55b970a21000+30000]
Dec 31 19:00:33 pop-os kernel: Code: 7c 24 04 89 44 24 04 e8 31 3e 01 00 48 8b 75 00 8b 43 2c 48 8b 7b 18 89 46 04 48 8b 44 24 18 64 48 2b 04 25 28 00 00 00 75 0f <48> 8b 07 48 8b 40 20 48 83 c4 28 5b 5d ff e0 e8 7f ef ff ff 90 48
Dec 31 19:00:34 pop-os systemd[3233]: app-gnome-touchegg-3817.scope: Consumed 1.616s CPU time.
Dec 31 19:00:34 pop-os touchegg[512]: Client disconnected
Dec 31 19:01:01 pop-os PackageKit[2418]: get-packages transaction /633_eacddabb from uid 1000 finished with success after 778ms
Dec 31 19:01:01 pop-os PackageKit[2418]: get-updates transaction /634_dcbecbdd from uid 1000 finished with success after 614ms

Your environment

  • Version of Touchégg: Touchégg v2.0.12.
  • Operating System: Pop!_OS
  • Desktop Environment: Gnome

Unable to install on Debian

Hello. Any idea why this isn't installing?

sudo add-apt-repository ppa:touchegg/stable
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 362, in
sys.exit(0 if addaptrepo.main() else 1)
^^^^^^^^^^^^^^^^^
File "/usr/bin/add-apt-repository", line 345, in main
shortcut = handler(source, **shortcut_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
return handler(shortcut, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 86, in init
if self.lpppa.publish_debug_symbols:
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in lpppa
self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 113, in lpteam
self._lpteam = self.lp.people(self.teamname)
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'people'

Four-finger left-swipe not working on fresh Pop!_OS install with version 2.0.15

The Issue

After a clean install with Pop!_OS 22.04 Intel iso 21, and subsequently completing a full upgrade of packages, four-finger left-swipe no longer functions.

Background in case other users think they might have this problem

In Pop!_OS multitouch trackpad gestures are supported. In Cosmic for Gnome, Pop!_OS utilizes three finger gestures for quickly moving window focus as part of it's less directly mouse-driven design (swiping fingers is faster than moving a cursor discretely and clicking). The general direction of the sweep is used to allow focus to be thrown quickly through windows.

Along side three-finger gestures, Pop!_OS uses four-finger interactions to access some of the shell features including switching between workspaces, and deploying the Workspace and Application Views.

Pop!_OS' inclination to making individual UX elements more mono-functional means that the Applications View and Workspaces View are separated. By default, a four-finger right-swipe will bring up the Applications View and a subsequent left- or right- swipe will dismiss the view. For Workspaces View, the left-swipe is used. Up and Down switch between logically adjacent workspaces.

Is this my problem?

If four-finger left-swipes, which bring up the Workspaces View, don't work for you this may be your issue. You can run touchegg --debug in a terminal and check if your output matches below.

Logs

When attempting a four-finger left-swipe, touchegg --debug yields the following:

Gesture begin detected
               Gesture information:
                              Fingers: 4
                              Type: SWIPE
                              Direction: LEFT
               Gesture performed on app: Gjs
               Action configured for this gesture
               Ignoring this gesture. This could mean no action is configured, the configured action is not 
               supported or that it was performed in a system window (panel, dock, desktop, etc)

Doing the same to the right provides constant output indicating Gesture update detected ({some number}%)

Other notes:

On a much older Pop!_OS install (updated from 21.10, and regularly since), updating did not break the four-finger left-swipe gesture. Restarting Touchegg did not remedy the issue either. The problem didn't present until after rebooting following the update (as far as I could tell).

Context menu on desktop remains visible when using touchpad gesture to navigate workspaces

Issue:
title

Steps to Reproduce:

  1. Right click on desktop to open the context menu
  2. Use gesture to move up or down a workspace, or open the workspaces view
  3. See the issue.

Screen cast of the issue:

Screencast.from.02-03-2022.01.07.03.PM.mp4

Expected Behavior:
Context menu should be closed when gestures for workspaces are used(it works as expected with gesture for application library)

Cosmic-Workspaces Version:

gnome-shell-extension-cosmic-workspaces:
  Installed: 0.1.0~1643679642~21.10~fb53648
  Candidate: 0.1.0~1643679642~21.10~fb53648
  Version table:
 *** 0.1.0~1643679642~21.10~fb53648 1001
       1001 http://apt.pop-os.org/release impish/main amd64 Packages
       1001 http://apt.pop-os.org/release impish/main i386 Packages
        100 /var/lib/dpkg/status

touchegg version:

touchegg:
  Installed: 2.0.12pop0~1635793287~21.10~49a7df0
  Candidate: 2.0.12pop0~1635793287~21.10~49a7df0
  Version table:
 *** 2.0.12pop0~1635793287~21.10~49a7df0 1001
       1001 http://apt.pop-os.org/release impish/main amd64 Packages
        100 /var/lib/dpkg/status
     1.1.1-0ubuntu4 500
        500 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 Packages

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.