Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2024 16:05:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276709] hms(4): two finger scroll stops half way unless dev.hms.0.drift_thresh=0
Message-ID:  <bug-276709-227-qrb54Is152@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276709-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276709-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276709

--- Comment #2 from Edward Tomasz Napierala <trasz@FreeBSD.org> ---
It is better with it set to eg 10, but it still occasionally gets stuck.

I wonder... From what I understand it tries to detect and filter out repeat=
ing
inputs.  What if the problem happens because, differently from cursor movem=
ent
which is kind of random:

 event6   POINTER_MOTION          +0.536s         7.86/  5.24 ( +6.00/ +4.0=
0)
 event6   POINTER_MOTION          +0.546s         7.76/  1.29 ( +6.00/ +1.0=
0)
 event6   POINTER_MOTION          +0.556s         4.49/  1.12 ( +4.00/ +1.0=
0)
 event6   POINTER_MOTION          +0.566s         2.00/  0.00 ( +2.00/ +0.0=
0)
 event6   POINTER_MOTION          +0.576s         3.00/ -2.00 ( +3.00/ -2.0=
0)
 event6   POINTER_MOTION          +0.586s         2.00/ -3.00 ( +2.00/ -3.0=
0)
 event6   POINTER_MOTION          +0.596s         2.03/ -4.05 ( +2.00/ -4.0=
0)
 event6   POINTER_MOTION          +0.606s         0.00/ -6.82 ( +0.00/ -6.0=
0)
 event6   POINTER_MOTION          +0.616s         0.00/ -7.32 ( +0.00/ -6.0=
0)
 event6   POINTER_MOTION          +0.626s        -5.32/ -9.31 ( -4.00/ -7.0=
0)
 event6   POINTER_MOTION          +0.636s        -7.37/-10.32 ( -5.00/ -7.0=
0)
 event6   POINTER_MOTION          +0.646s        -2.48/ -3.72 ( -2.00/ -3.0=
0)
 event6   POINTER_MOTION          +0.656s        -3.01/ -3.01 ( -3.00/ -3.0=
0)
 event6   POINTER_MOTION          +0.666s        -3.01/ -1.00 ( -3.00/ -1.0=
0)
 event6   POINTER_MOTION          +0.676s        -2.00/  0.00 ( -2.00/ +0.0=
0)
 event6   POINTER_MOTION          +0.686s        -1.00/  0.00 ( -1.00/ +0.0=
0)
 event6   POINTER_MOTION          +0.696s        -2.00/  0.00 ( -2.00/ +0.0=
0)

The scroll events in all direction look mostly the same:

 event6   POINTER_SCROLL_WHEEL    +0.784s       vert 15.00/120.0* horiz
0.00/0.0 (wheel)
 event6   POINTER_SCROLL_WHEEL    +0.814s       vert 15.00/120.0* horiz
0.00/0.0 (wheel)
 event6   POINTER_SCROLL_WHEEL    +1.164s       vert 15.00/120.0* horiz
0.00/0.0 (wheel)
 event6   POINTER_SCROLL_WHEEL    +1.184s       vert 15.00/120.0* horiz
0.00/0.0 (wheel)
 event6   POINTER_SCROLL_WHEEL    +1.204s       vert 15.00/120.0* horiz
0.00/0.0 (wheel)
 event6   POINTER_SCROLL_WHEEL    +1.234s       vert 15.00/120.0* horiz
0.00/0.0 (wheel)
 event6   POINTER_SCROLL_WHEEL    +1.544s       vert 15.00/120.0* horiz
0.00/0.0 (wheel)
 event6   POINTER_SCROLL_WHEEL    +1.564s       vert 15.00/120.0* horiz
0.00/0.0 (wheel)
 event6   POINTER_SCROLL_WHEEL    +1.584s       vert 15.00/120.0* horiz
0.00/0.0 (wheel)

So perhaps the threshold logic is mistaking them for duplicates?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276709-227-qrb54Is152>