Bug 441017

Summary: Remote control is not working correctly. y-axis not working, x-axis behaves as x+y axis
Product: [Applications] kdeconnect Reporter: Sebastian Kuźlak <sebastiankuzlak>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

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?
}