Bug 471997

Summary: krfb wrongly scales mouse position when display is scaled
Product: [Applications] krfb Reporter: admin
Component: generalAssignee: George Goldberg <grundleborg>
Status: RESOLVED DUPLICATE    
Severity: normal CC: oleksandr
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description admin 2023-07-06 10:18:51 UTC
SUMMARY

While using krfb under wayland with scaled display, krfb also tries to scale mouse coordinates, resulting in incorrect mouse movements.

STEPS TO REPRODUCE
1. Set desktop scale to 200%
2. Run krfb
3. Move the mouse and compare cursor locations between the host and the client

OBSERVED RESULT
Cursor moves twice more pixels

EXPECTED RESULT
Cursor should move exactly the same as shown on the client

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Debian 12 Unstable
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Oleksandr Natalenko 2025-01-17 08:30:30 UTC

*** This bug has been marked as a duplicate of bug 466276 ***