Bug 441017 - Remote control is not working correctly. y-axis not working, x-axis behaves as x+y axis
Summary: Remote control is not working correctly. y-axis not working, x-axis behaves a...
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-15 21:18 UTC by Sebastian Kuźlak
Modified: 2021-09-13 14:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Kuźlak 2021-08-15 21:18:11 UTC
SUMMARY


STEPS TO REPRODUCE
1. Launch remote input on a phone
2. move your finger across y axis: mouse pointer on the pc wont move up or down.
3. move your finger across x axis: mouse pointer will move in x and y on the pc side

OBSERVED RESULT
Wrong mouse movement

EXPECTED RESULT
Correct mouse movement

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85
KDE Gear 21.08
Qt Version: 5.15.2+kde+r215-2
Archlinux

ADDITIONAL INFORMATION:
presenation pluging works as intended
Comment 1 Sebastian Kuźlak 2021-08-15 21:21:27 UTC
Clarification: when moving on x-axis, mouse on a pc will move on a diagonal, between top-left to bottom-right side of a screen
Comment 2 Sebastian Kuźlak 2021-08-15 21:33:52 UTC
  
just went thru MousePadPlugin.java and found something in sendMouseDelta
if (np == null) {
    np = new NetworkPacket(PACKET_TYPE_MOUSEPAD_REQUEST);
} else {
    dx += np.getInt("dx");
    dy += np.getInt("dx"); <- shouldn't it be dy?
}