Bug 389902 - Android Remote Keyboard cannot input Enter/Return in some contexts
Summary: Android Remote Keyboard cannot input Enter/Return in some contexts
Status: CONFIRMED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 7.x
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-05 07:26 UTC by Jonathan Doman
Modified: 2023-08-16 18:08 UTC (History)
5 users (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 Jonathan Doman 2018-02-05 07:26:30 UTC
KDE Connect v1.7.1, installed from play store

When using the Android Remote Keyboard to pass keyboard input from the Plasmoid text field on PC to an Android app on the phone, the Enter/Return key does not work in some contexts.

I noticed this behavior in the Samsung Notes app when editing a new note: Enter key will cause the cursor on the phone to jump from the "Title" field to the "Notes" field - so I know the key is being received. But once in the Notes field, pressing Enter will not create a new line - it does nothing at all.

The Gmail app has essentially the same behavior when composing an email: Enter will jump to the next input field, but it will not create newlines within the main text editor.

However, most apps work as expected.
Comment 1 Angel Docampo 2018-12-11 23:13:51 UTC
Can confirm this issue also on Termux (which is very unpleasant)
Comment 2 Justin Zobel 2020-11-12 06:25:09 UTC
Thanks for the report Jonathan.

Can you elaborate a bit further on the steps to reproduce this issue. What software on the PC are you using to send keystrokes to the Android device?

I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 3 Jonathan Doman 2020-11-12 06:58:32 UTC
I am using the KDE System Tray widget (aka plasmoid):

1. Open Gmail on phone, compose new email, and set focus on main text field.
2. Switch Android keyboard to KDE Connect Remote Keyboard
3. Open PC system tray widget in KDE, set focus to "Remote Keyboard" line input.
4. Press Enter, Enter, Enter

Expected Result: Cursor in Gmail app jumps down three lines
Actual Result: No effect at all.

I don't think I've used this feature since I reported this bug, but I just tested and confirmed the exact same behavior with android app version 1.15.1 and Gmail app 2020.10.18.
Comment 4 Justin Zobel 2020-11-12 21:02:19 UTC
Confirmed on KDE Neon Unstable.

Can type and backspace even Ctrl + A works but cannot enter line breaks (enter key).
Comment 5 Luca Dorigo 2021-10-10 16:13:37 UTC
Confirming this is still not working with FDroid version and latest desktop version. Fix would be highly appreciated as this prevents from using a remote keyboard on Termux, which would be super practical.
Comment 6 Bruno Cabral 2022-11-29 04:36:43 UTC
I have just experienced the same. Using Termux on my Android and KDE Connect on my Ubuntu. I am able to type the commands, but "ENTER" is not sent to Termux.