Bug 499705

Summary: Remote input mouse button positions are inverted when using KDE Connect with a Right-to-left (RTL) language
Product: [Applications] kdeconnect Reporter: Ahmed Najmawi <iramosu>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: andrew.g.r.holmes, iramosu
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Android 14.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Comparison of KDE Connect with Arabic (right) and English (left)

Description Ahmed Najmawi 2025-02-09 00:18:17 UTC
Created attachment 178088 [details]
Comparison of KDE Connect with Arabic (right) and English (left)

SUMMARY
When using KDE Connect with a Right-to-Left (RTL) language (e.g., Arabic, Hebrew), the mouse button positions are inverted during remote input. The expected behavior is for the mouse buttons to function normally, but with RTL enabled, clicking the left mouse button results in actions typically associated with the right mouse button, and vice versa.

STEPS TO REPRODUCE
1. Set the system language to an RTL language (e.g., Arabic or Hebrew), OR Force RTL layout through Android's developer settings.
2. Connect the device to the desktop via KDE Connect.
3. Use remote input (mouse control) through KDE Connect.

OBSERVED RESULT
The mouse buttons are inverted, causing incorrect button actions when using remote input.

EXPECTED RESULT
The mouse button mappings should function normally, as in LTR languages.

SOFTWARE/OS VERSIONS
LineageOS 21 (Android 14)
KDE Connect: 1.32.11

ADDITIONAL INFORMATION