Bug 448491

Summary: Annotation - Text edits: make clear how to get a new line
Product: [Applications] Spectacle Reporter: DaCoEx <dacoex>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: wishlist CC: justin.zobel, kde, noahadvs
Priority: NOR    
Version First Reported In: 21.12.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description DaCoEx 2022-01-14 20:04:36 UTC
It is not clear how to get a new line in a text box when annotating a screenshot.

In some software it is
* ENTER
* ALT+ENTER
* SHIFT+ENTER

Here I found out it's:
SHIFT plus ENTER

There could be a tool tip or some sort of help.
Comment 1 Justin Zobel 2022-11-11 05:27:14 UTC
Marking as wishlist item.
Comment 2 Bug Janitor Service 2024-01-31 01:21:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/325
Comment 3 Noah Davis 2024-01-31 01:23:42 UTC
Git commit 88c91418f76d70d17e87ddd7a6397b991705cb1c by Noah Davis.
Committed on 31/01/2024 at 01:22.
Pushed by ndavis into branch 'master'.

Add support for new lines and tabstops in text annotations

You can now add a new line to a block of text by pressing Enter/Return.

Tabstops are 8 'x' characters wide (QPainter default).
Related: bug 472302

M  +15   -1    src/Gui/Annotations/TextTool.qml
M  +4    -2    src/Gui/Annotations/Traits.cpp

https://invent.kde.org/graphics/spectacle/-/commit/88c91418f76d70d17e87ddd7a6397b991705cb1c
Comment 4 Noah Davis 2024-01-31 01:24:38 UTC
I think Enter/Return is sufficiently obvious to mark this as fixed.