Skip to content

[Feature]: Android: send message with a hardware keyboard (Enter or Ctrl+Enter) #21685

Closed

Description

@PedroLLou

Area

apps/mobile

Problem

On an Android tablet with a physical keyboard, Enter inserts a newline in the composer and there is no keyboard shortcut to send. Combined with the send button being hidden while the composer is expanded on tablets with a taskbar (#21684), sending requires leaving the keyboard to tap the screen twice.

Proposal

When a hardware keyboard is attached, support a send shortcut: Enter to send and Shift+Enter for a newline (matching desktop's sendShortcut: enter), or at least Ctrl+Enter. Ideally reuse the desktop "send shortcut" setting.

Environment

Lenovo Idea Tab Plus (system version 17.5.10.375), physical keyboard, T3 Android app 2.0.0.

Activity

  1. juliusmarminge commented on Oct 19, 2026

    @juliusmarminge
    Member

    Note

    Grok responding on behalf of Julius.

    Thanks for the report. The mobile app already has a Return key "Send" setting, but on Android it currently does nothing for hardware keyboards. Open PR #15030 makes the Android composer honor that setting, so a hardware Return sends the same way it does on iPad (with Ctrl in place of Command) while the on-screen keyboard still inserts newlines. That change has not been tested on a real Android tablet yet.

  2. shivamhwp commented on Oct 25, 2026

    @shivamhwp
    Collaborator

    [Opus 5.5][Claude Code] on behalf of shivam.

    Julius took over #15030, which covers this, so I've stopped work on #21687. Here's what our device testing found, in case it helps #15030's physical-keyboard QA:

  3. orlando-ts commented on Nov 4, 2026

    @orlando-ts

    Tested #21687 (head deb79c3) as a local release build on a OnePlus Pad 3 (OPD2415, OxygenOS 16 / Android 16, 16.0.10.600), Return key setting "Send message":

    • OnePlus Pad 3 keyboard: Return sends, Shift+Return inserts a new line.
    • Samers foldable Bluetooth keyboard with trackpad: Return sends, Shift+Return inserts a new line, Ctrl+Return sends.
    • On-screen keyboard: Return still inserts a new line.

    No double sends. The keyboard app's floating toolbar stays up while typing on the hardware keyboard, and it didn't interfere.

  4. added 2 commits that reference this issue on Nov 9, 2026
    74091cf
    80da69e
  5. juliusmarminge commented on Nov 9, 2026

    @juliusmarminge
    Member

    Thanks for the report! #21687 adds Android hardware-keyboard Return and Ctrl+Return sending, merged as c73b38b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions