Bug 476758 - [Feature] Add an option to send a message with ctrl+enter
Summary: [Feature] Add an option to send a message with ctrl+enter
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
: 485329 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-09 15:40 UTC by 5e43
Modified: 2024-11-12 18:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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