Bug 429515

Summary: 'Font Size' only displays integer numbers
Product: [Applications] krita Reporter: acc4commissions
Component: Tool/TextAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ahab.greybeard, halla, penguinflyer2222
Priority: NOR    
Version First Reported In: 4.4.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: in here
Fractional Point Text Size
Fractional Point Ordered
Fractional Point SVG

Description acc4commissions 2020-11-22 17:57:58 UTC
SUMMARY
It's pretty simple to describe. It turns numbers I type to integers. e.g) If I type 9.5 and press enter it's gonna be 10, if I type 16.8 it says 17. I don't believe it changes the actual size of the text, but it's confusing.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2020-11-22 18:00:55 UTC
Where do you mean? The text tool or the UI font settings?
Comment 2 acc4commissions 2020-11-22 19:27:58 UTC
Created attachment 133569 [details]
in here
Comment 3 Ahab Greybeard 2020-11-23 09:03:19 UTC
Created attachment 133576 [details]
Fractional Point Text Size

With version 4.4.1 on Linux Debian 10, I find the following:

If I manually enter a fractional point size then it is implemented and the text size does change and can be seen in the SVG editor (SeeFractional Point SVG.)

The entered text size is added to the drop down list of text sizes at the end of the list, as are any other 'new' entered text sizes. (See Fractional Point Text Size.)
These additional sizes are then ordered if the drop down list is closed and reopened. (See Fractional Point Ordered.)
These additions are only present for the duration of a text editing session abd are gone if the edit session is closed.
Comment 4 Ahab Greybeard 2020-11-23 09:04:02 UTC
Created attachment 133577 [details]
Fractional Point Ordered
Comment 5 Ahab Greybeard 2020-11-23 09:04:31 UTC
Created attachment 133578 [details]
Fractional Point SVG
Comment 6 Ahab Greybeard 2020-11-25 10:39:12 UTC
I'll set this to Confirmed because it is the case, as noted.
However, I suspect that it was never intended to display fractional sizes.
Comment 7 Freya Lupen 2023-06-24 12:38:30 UTC
Fixed in 5.2.0-prealpha commit 69fc837f (https://invent.kde.org/graphics/krita/-/merge_requests/1836).