nextcloud / nextcloud/talk-android
Physical keyboard no keybinding for sending a message
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 739
- Forks
- 321
- Avg merge
- 14h 59m
- Merged PRs (30d)
- 151
Description
Steps to reproduce
- Connect a physical keyboard to your Android
- Type a message inside a conversation and hit "Enter"
- A newline is added into the text field
- Hit "Ctrl-Enter"
- Nothing happens
Expected behaviour
Other chat apps on android tend to duplicate the behaviour of physical keyboards for "Enter" as desktop operating systems, i.e. "Enter" sends a message, while "Ctrl-Enter" adds a newline. I wouldn't even mind if it was reversed in Talk, the problem is there doesn't appear to be a way to send a message from they keyboard, I need to use the mouse or touchscreen.
Actual behaviour
"Enter" adds a newline. "Ctrl-Enter" does nothing.
Device information
Device: Lenovo Pad Pro 2021, bluetooth keyboard with PC layout.
Android version: 11
Talk version: 12.1.2
Server information
This looks like a UI issue so I'm not posting server info.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in an Android conversation with a physical keyboard, then trace the message input's handling of Enter and Ctrl-Enter. Done means a physical keyboard can send a message using a documented key combination while still allowing a newline.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100