Bug 517078 - Right-clicking the Font Size slider in the Text Property docker selects all label text -- only the number should be selected.
Summary: Right-clicking the Font Size slider in the Text Property docker selects all l...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-04 11:14 UTC by Tyson Tan
Modified: 2026-03-13 00:49 UTC (History)
1 user (show)

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


Attachments
Right-clicking on Text Size slider select the entire label (3.96 KB, image/png)
2026-03-04 11:15 UTC, Tyson Tan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2026-03-04 11:14:02 UTC
In the Text Properties docker, right-clicking the Font Size slider selects the entire label (“Font Size: 12.00”). Though typing a new value and pressing Enter works, first-time users instinctively try to manually select just the number -- this is likely to be perceived as an oversight and inconvenience.

It would be better -- and more consistent with Opacity/Size sliders -- for right-click to select only the number.
Comment 1 Tyson Tan 2026-03-04 11:15:40 UTC
Created attachment 190338 [details]
Right-clicking on Text Size slider select the entire label
Comment 2 Bug Janitor Service 2026-03-11 16:49:55 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2696
Comment 3 wolthera 2026-03-12 15:16:45 UTC
Git commit 1a3100e34892135305e82e25ea828064eec75978 by Wolthera van Hövell, on behalf of Luna Lovecraft.
Committed on 12/03/2026 at 15:16.
Pushed by woltherav into branch 'master'.

Fix QML SliderSpinBox selecting the text label on rightclick

M  +2    -2    qmlmodules/components/qml/sliderspinbox/SliderSpinBoxContentItem.qml
M  +6    -0    qmlmodules/components/qml/textinput/TextInputWithPrefixAndSuffix.qml

https://invent.kde.org/graphics/krita/-/commit/1a3100e34892135305e82e25ea828064eec75978
Comment 4 wolthera 2026-03-12 15:17:24 UTC
Git commit cdee1cbf7737c99e6f8dc384d0ebfd7956467183 by Wolthera van Hövell.
Committed on 12/03/2026 at 15:17.
Pushed by woltherav into branch 'krita/6.0'.

Fix QML SliderSpinBox selecting the text label on rightclick


(cherry picked from commit 1a3100e34892135305e82e25ea828064eec75978)

4c0ffaf0 Fix SliderSpinBox selecting the text label on rmb
20c2921c Add a generalized implmentation to textInput

Co-authored-by: Luna Lovecraft <ciubix8514@gmail.com>

M  +2    -2    qmlmodules/components/qml/sliderspinbox/SliderSpinBoxContentItem.qml
M  +6    -0    qmlmodules/components/qml/textinput/TextInputWithPrefixAndSuffix.qml

https://invent.kde.org/graphics/krita/-/commit/cdee1cbf7737c99e6f8dc384d0ebfd7956467183
Comment 5 Tyson Tan 2026-03-13 00:49:58 UTC
Thank you, Wolthera! :)