Random Mouse Wheel Scroll Inversion on Window Switch in Zorin OS 17.3 (Xorg)

Hello everyone,

I'm experiencing a strange and intermittent issue with my Logitech mouse wheel on Zorin OS 17.3 with Xorg. The problem occurs randomly when I switch between application windows.

Description of the issue:

When I switch to a new window (for example, from a browser to the Pulsar text editor), the mouse wheel scrolling will sometimes behave erratically. Specifically, when I try to scroll in one direction, it will aggressively scroll in the opposite direction.

Link to video: https://www.youtube.com/watch?v=nSWj8Q8vlV8

A typical example:

  1. I switch to the Pulsar editor.
  2. I move my mouse cursor over the file tree on the left.
  3. I make a small, gentle movement to scroll up.
  4. Instead of scrolling up, the view suddenly and rapidly scrolls all the way down.

This behavior only happens for a moment right after switching windows and then corrects itself. However, it's very disruptive and happens frequently enough to be a significant annoyance.

Troubleshooting and System Details:

OS: Zorin OS 17.3
Windowing System: X11 (Xorg)
Mouse: Logitech

I have tested different USB ports and even connected the mouse via Bluetooth, but the issue persists randomly in all cases.
It's worth noting that I have used this same hardware on Linux Mint for a long time and never experienced this problem. The issue seems to be specific to my Zorin OS installation.

Has anyone else experienced this? I'm looking for any advice on how to troubleshoot or fix this scrolling issue as it is extremely frustrating. Thank you!

Are the problematic Programs Flatpaks, Snaps or .deb/APT Packages?

Happens in all programs. Writer, Brave, Pulsar, etc.

Are you using libinput or evdev?
You can check with xinput list-props [device-ID] after grabbing the device id with xinput list

Hello, thank you for your help...

xinput list-props 18
Device 'Logitech M720 Triathlon':
	Device Enabled (188):	1
	Coordinate Transformation Matrix (190):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (327):	0
	libinput Natural Scrolling Enabled Default (328):	0
	libinput Scroll Methods Available (329):	0, 0, 1
	libinput Scroll Method Enabled (330):	0, 0, 0
	libinput Scroll Method Enabled Default (331):	0, 0, 0
	libinput Button Scrolling Button (332):	2
	libinput Button Scrolling Button Default (333):	2
	libinput Button Scrolling Button Lock Enabled (334):	0
	libinput Button Scrolling Button Lock Enabled Default (335):	0
	libinput Middle Emulation Enabled (336):	0
	libinput Middle Emulation Enabled Default (337):	0
	libinput Accel Speed (338):	0.073529
	libinput Accel Speed Default (339):	0.000000
	libinput Accel Profiles Available (340):	1, 1
	libinput Accel Profile Enabled (341):	1, 0
	libinput Accel Profile Enabled Default (342):	1, 0
	libinput Left Handed Enabled (343):	0
	libinput Left Handed Enabled Default (344):	0
	libinput Send Events Modes Available (312):	1, 0
	libinput Send Events Mode Enabled (313):	0, 0
	libinput Send Events Mode Enabled Default (314):	0, 0
	Device Node (315):	"/dev/input/event8"
	Device Product ID (316):	1133, 16478
	libinput Drag Lock Buttons (345):	<no items>
	libinput Horizontal Scroll Enabled (346):	1
	libinput Scrolling Pixel Distance (347):	15
	libinput Scrolling Pixel Distance Default (348):	15
	libinput High Resolution Wheel Scroll Enabled (349):	1

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.