Bug 448491 - Annotation - Text edits: make clear how to get a new line
Summary: Annotation - Text edits: make clear how to get a new line
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 21.12.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-14 20:04 UTC by DaCoEx
Modified: 2024-01-31 01:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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