https://bugs.kde.org/show_bug.cgi?id=488585

Simon Redman <si...@ergotech.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #1 from Simon Redman <si...@ergotech.com> ---
Confirmed this behavior. Thanks for the report.

This is pretty clear looking at the code in smsapp/qml/SendingArea.qml, line 84
on, that it appends the newline to the text entry field:

Keys.onReturnPressed: event => {
    if (event.key === Qt.Key_Return) {
        if (event.modifiers & Qt.ShiftModifier) {
            messageField.append("")
        } else {
            sendButton.clicked()
            event.accepted = true
        }
    }
}

I can't think of a way to improve this code off-hand. Tagging this as a junior
job since it's probably a simple change, just needs someone to spend a little
time researching the right solution and test it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to