GTK4 - Mouse scrolling ignores 1st wheel-click after changing direction
Something I noticed while testing a mouse on my laptop for the previous bug report, but weirdly I can't remember whether it also happens at work (where I primarily use a mouse and was trying the GTK4-based Prompt too).
When scrolling using mouse wheel in VTE, every time the scroll direction changes, the first "wheel click" event gets completely ignored only in vte-2.91-gtk4 (but not in the gtk3 variant from the exact same VTE version, nor in other gtk4 apps such as Nautilus).
- If I scroll like this:
up up up; down down down; up up up; down down down
- vte-2.91-gtk3 reacts like this:
up up up; down down down; up up up; down down down
- vte-2.91-gtk4 reacts like this:
up up up; -- down down; -- up up; -- down down
It was way past midnight so I only did a quick test using tig
with its mouse support enabled (git config --global tig.mouse true
), have not yet tested whether it affects the synthesized up/down keys, nor even whether it affects regular scrollback-history scrolling, I'll test those next.
VTE version: 0.75.0-121-gde5df02c
built yesterday from Git.
GTK4 version: 4.12.4
from Arch Linux
Mouse: both a Logitech wireless mouse with "hi-res" scrolling as well as a generic USB wired mouse without that.