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

            Bug ID: 516951
           Summary: With custom global scale set, remote mousepad cursor
                    resets position when touching borders
    Classification: Applications
           Product: kdeconnect
      Version First unspecified
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: desktop-application
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
When using x11, touching borders with kdeconnect mousepad plugin with custom
global scale set moves cursor to a another position on the screen. The ratio
seems to be related (200% global scale => cursor moves 50% of it's
coordinates).

STEPS TO REPRODUCE
1. Using X11, change global scale to 200% in your settings and reboot to apply,
2. Using kdeconnect app, use mousepad plugin and touch either right or bottom
border,

OBSERVED RESULT
You should see your cursor move to 50% of the x/y coordinates, eg. touching
bottom-left corner moves cursor to screen center.

EXPECTED RESULT
The cursor should remain in it's position near the border.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: openSUSE Tumbleweed 20260220
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0 
Qt Version: 6.10.2

ADDITIONAL INFORMATION
The related source code is : 
https://invent.kde.org/network/kdeconnect-kde/-/blob/master/plugins/mousepad/x11remoteinput.cpp?ref_type=heads#L208
I would suppose that the strange behaviour might be QT related where the max
coordinates clamping (when going above border limits) mixes real pixels or DIP. 

NOTE
I am interested to investigate this issue (i am not QT familiar) and if
successful suggest a fix in a MR :D

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

Reply via email to