Bug 476758

Summary: [Feature] Add an option to send a message with ctrl+enter
Product: [Applications] NeoChat Reporter: 5e43
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: wishlist CC: 4wy78uwh, carl, uwu
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description 5e43 2023-11-09 15:40:59 UTC
SUMMARY
It would be great if there is an option to send a message using `Ctrl`+`Enter` rather than `Ctrl` in case the message is send accidentally. I assume this is not too complicated to implement.
Comment 1 James Graham 2024-04-13 09:56:58 UTC
*** Bug 485329 has been marked as a duplicate of this bug. ***
Comment 2 Bug Janitor Service 2024-11-03 03:13:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/1959
Comment 3 Tobias Fella 2024-11-06 21:10:02 UTC
Git commit b70f73c7d6ce2b1f09464b4b3a4bcc7a6f804957 by Tobias Fella, on behalf of Eren Karakas.
Committed on 06/11/2024 at 21:09.
Pushed by tfella into branch 'master'.

Make send message and insert newline shortcuts configurable

Currently both Enter and Ctrl+Enter send the message in ChatBar on
desktop. This might be unexpected behavior to users coming from other
chat applications (eg. WhatsApp, Telegram, Element) as those send
with Enter only by default. They allow changing send to Ctrl+Enter
in settings and other option is used to insert a newline.

M  +6    -4    src/chatbar/ChatBar.qml
M  +12   -0    src/neochatconfig.kcfg
M  +26   -0    src/settings/NeoChatGeneralPage.qml

https://invent.kde.org/network/neochat/-/commit/b70f73c7d6ce2b1f09464b4b3a4bcc7a6f804957