Bug 432484

Summary: VNC viewport reacts to trackpad/mouse-wheel scrolling when it should not
Product: [Applications] krdc Reporter: Brendon Higgins <brendon>
Component: VNCAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED FIXED    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Brendon Higgins 2021-02-03 21:31:10 UTC
With a VNC connection viewed in fullscreen mode, connected to a host that has a larger display, using trackpad scrolling (and I presume also mouse-wheel scrolling, but didn't test) anywhere inside the viewport both sends the scroll events to the host *and* causes the viewport to pan. This makes it very unwieldy to use, under those circumstances. Compare to RDP, where Krdc only sends the scroll events to the host (the viewport stays put).

Tested with version 20.12.0.
Comment 1 Bug Janitor Service 2021-02-03 22:26:03 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/krdc/-/merge_requests/9
Comment 2 Albert Astals Cid 2021-02-20 10:20:59 UTC
Git commit ac72c76de7b85fcebe08af37079048527372e04e by Albert Astals Cid.
Committed on 20/02/2021 at 10:19.
Pushed by aacid into branch 'master'.

VNC: accept the wheel event

otherwise wheeling is both sent to vnc and to the outer scrollview which
is a bit weird

M  +2    -0    vnc/vncview.cpp

https://invent.kde.org/network/krdc/commit/ac72c76de7b85fcebe08af37079048527372e04e
Comment 3 Albert Astals Cid 2021-02-20 10:23:48 UTC
Git commit d66ffeff28e5789d3085fbb50dbdabaa918c104b by Albert Astals Cid.
Committed on 20/02/2021 at 10:22.
Pushed by aacid into branch 'release/20.12'.

VNC: accept the wheel event

otherwise wheeling is both sent to vnc and to the outer scrollview which
is a bit weird
(cherry picked from commit ac72c76de7b85fcebe08af37079048527372e04e)

M  +2    -0    vnc/vncview.cpp

https://invent.kde.org/network/krdc/commit/d66ffeff28e5789d3085fbb50dbdabaa918c104b