Bug 515341

Summary: Line height for text is not persisted after closing text tool window
Product: [Applications] krita Reporter: 1337decker
Component: Tool/TextAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.2.15   
Target Milestone: ---   
Platform: Bazzite   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description 1337decker 2026-01-31 12:27:21 UTC
SUMMARY
The line height of text is not correctly persisted (or recovered?) after being set. This causes confusion when you set a line height, save, close the text tool window and then open it again later and see an incorrect line height shown.

STEPS TO REPRODUCE
1. Create a text with at least two lines.
2. Set the line height to a value higher or lower than 100%, e.g. 110%.
3. Click "Save".
4. Click "Close".
5. Use the text tool and double click the text.

OBSERVED RESULT
The line height is displayed as 100% again.

EXPECTED RESULT
The line height should have been displayed as 110%.


SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
(available in the Info Center app, or by running `kinfo` in a terminal window)
Operating System: Bazzite 43
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.7-ba20.fc43.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Kernel info: Linux bazzite 6.17.7-ba20.fc43.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Dec  8 23:40:18 UTC 2025 x86_64 GNU/Linux

Not sure if relevant, but I've installed custom fonts ("CC Wild Words" and "augie") from ttf-files.