Bug 471997 - krfb wrongly scales mouse position when display is scaled
Summary: krfb wrongly scales mouse position when display is scaled
Status: RESOLVED DUPLICATE of bug 466276
Alias: None
Product: krfb
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.12.3
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: George Goldberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-06 10:18 UTC by admin
Modified: 2025-01-17 08:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***