mate-desktop / marco

MATE default window manager
https://mate-desktop.org
GNU General Public License v2.0
192 stars 85 forks source link

Marco should workaround invalid scroll event caused by mistake in X11/XInput 2.1 protocol design #754

Open mikkorantalainen opened 1 year ago

mikkorantalainen commented 1 year ago

Expected behaviour

Chrome should scroll the usual amount.

Actual behaviour

Chrome scrolls roughly the same amount Firefox was scrolled while Firefox was active!

Steps to reproduce the behaviour

Preparations: Open Firefox and Chrome windows in maximized state and switch between the windows using alt-tab while the mouse cursor is above the content area. Load a long web page to both browsers and scroll near the middle of document in both Firefox and Chrome.

  1. Switch to Chrome using alt-tab.
  2. Scroll downwards with a couple of clicks on mouse wheel.
  3. Keep mouse cursor above the browser content area and press Alt+tab to switch to Firefox.
  4. Scroll downwards a lot using mouse wheel.
  5. Switch back to Chrome using alt+tab
  6. Scroll downwards one click using mouse wheel.

MATE general version

1.24.0

Package version

$ apt policy mate-desktop marco mate-desktop: Installed: 1.24.0-2 Candidate: 1.24.0-2 Version table: 1.24.0-2 500 500 http://fi.archive.ubuntu.com/ubuntu focal/universe amd64 Packages 100 /var/lib/dpkg/status marco: Installed: 1.24.0-1ubuntu1 Candidate: 1.24.0-1ubuntu1 Version table: 1.24.0-1ubuntu1 500 500 http://fi.archive.ubuntu.com/ubuntu focal/universe amd64 Packages 100 /var/lib/dpkg/status

Linux Distribution

$ lsb_release -a LSB Version: core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal

Link to bugreport of your Distribution (requirement)

https://bugs.launchpad.net/ubuntu/+source/marco/+bug/2018333

lukefromdc commented 1 year ago

For some reason two instances of Firefox (Chrome not installed here) don't do this