Skip to content

fix: Add Ctrl+Enter shortcut to send messages in Nextcloud Talk - #6712

Open
rapterjet2004 wants to merge 1 commit into
masterfrom
issue-6703-android-dex
Open

rapterjet2004 wants to merge 1 commit into
masterfrom
issue-6703-android-dex

Conversation

@rapterjet2004

Copy link
Copy Markdown
Contributor

MessageInputFragment.kt: added a setOnKeyListener on the message input EditText that detects Ctrl+Enter (or Ctrl+Numpad-Enter) on key-down, and dispatches to whichever action button is currently active (edit-confirm, thread-submit, or normal send) via performClick() — reusing existing send/edit/thread logic exactly. Plain Enter is left unconsumed, so newline insertion is unaffected.

Assisted-by: Claude Code:claude-sonnet-5

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

MessageInputFragment.kt: added a setOnKeyListener on the message input EditText that
detects Ctrl+Enter (or Ctrl+Numpad-Enter) on key-down, and dispatches to whichever
action button is currently active (edit-confirm, thread-submit, or normal send) via
performClick() — reusing existing send/edit/thread logic exactly. Plain Enter is left
unconsumed, so newline insertion is unaffected.

Assisted-by: Claude Code:claude-sonnet-5

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
@rapterjet2004 rapterjet2004 self-assigned this Sep 17, 2026
@rapterjet2004 rapterjet2004 added the 3. to review Waiting for reviews label Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Ctrl+Enter shortcut to send messages in Nextcloud Talk (Android/DeX)

1 participant