nextcloud / nextcloud/talk-android

Physical keyboard no keybinding for sending a message

Open
#1,518 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Kotlin
Stars
739
Forks
321
Avg merge
14h 59m
Merged PRs (30d)
151

Description

Steps to reproduce

  1. Connect a physical keyboard to your Android
  2. Type a message inside a conversation and hit "Enter"
  3. A newline is added into the text field
  4. Hit "Ctrl-Enter"
  5. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.