Bug 488548 - Text from remote input "Compose send" is lowercased on Wayland desktop
Summary: Text from remote input "Compose send" is lowercased on Wayland desktop
Status: RESOLVED DUPLICATE of bug 483730
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-15 18:01 UTC by briggsmatthew553
Modified: 2024-08-03 08:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description briggsmatthew553 2024-06-15 18:01:43 UTC
SUMMARY
When sending text to a Wayland desktop using the "Compose send" option of the remote input plugin, the text that is received will be lowercase, regardless of the case used when sending the text.

STEPS TO REPRODUCE
1. On an Android device (although others probably work as well), connect to a desktop machine running Wayland
2. Navigate to "Remote input" and make sure that the active window on the desktop machine accepts text input (e.g., a terminal, Kate, etc)
3. Go to "Compose send" and send a message to the desktop machine which includes uppercase characters, such as `sudo pacman -Syu`

OBSERVED RESULT
The text received by the desktop is entirely lowercase (e.g., `sudo pacman -syu`).

EXPECTED RESULT
The text received by the desktop should match the case used when sent.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I am not at all knowledgeable with the KDE codebase, but I noticed that there is a `.toLower()` on line 266 in waylandremoteinput.cpp which caught my eye (link here: https://invent.kde.org/network/kdeconnect-kde/-/blob/master/plugins/mousepad/waylandremoteinput.cpp#L266). Is that intended, or might that be what's causing this issue?
Comment 1 cwo 2024-08-03 08:26:12 UTC
Thank you for the bug report! This issue has already been filed; please follow the linked bug report for updates on a fix.

I will forward the information regarding the line of code you found to that bug.

*** This bug has been marked as a duplicate of bug 483730 ***