https://bugs.kde.org/show_bug.cgi?id=524406

--- Comment #7 from Mihail <[email protected]> ---
Thanks, appreciate the share. I'll try it whenever I need to use KRFB again
unles it gets patched officially first

On Fri, 6 Nov 2026 at 15:20, Anthon Williamson <[email protected]>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=524406
>
> --- Comment #6 from Anthon Williamson <[email protected]> ---
> (In reply to Mihail from comment #5)
>
> I put the same patch on a paste site so it doesn't depend on bugs.kde.org:
>
> https://dpaste.org/x7DfT
> (raw text: https://dpaste.org/x7DfT/raw, kept for one year)
>
> Good luck with it.
>
> It's one file (events/xdp/xdpevents.cpp). Same caveats as before: written
> with
> AI assistance, tested only on my own setup (one monitor, 2560x1440 at 125%,
> krfb 26.08.3), and not a recommended fix. You're on 26.04.3, so it may need
> small manual changes to apply cleanly.
>
> The key point for anyone fixing this properly: the pointer coordinates
> sent to
> NotifyPointerMotionAbsolute need to be divided by (captured frame width /
> logical screen width). QScreen::devicePixelRatio() doesn't work for
> fractional
> scales because Qt rounds it up (it gives 2 for a 1.25x output).
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to