Bug 499390

Summary: On the "Color scheme & font" settings tab, the "Font: " label shows a rounded whole number for the size even if a fractional size has been chosen
Product: [Applications] konsole Reporter: Luis <stereomato>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: minor CC: john.kizer
Priority: NOR    
Version First Reported In: 24.12.1   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Appearance profile settings window
Font chooser window

Description Luis 2025-02-01 16:55:37 UTC
Created attachment 177889 [details]
Appearance profile settings window

SUMMARY
When editing a profile, in the Appearance section, You can see a list of styles and under it, the chosen font. However, setting a floating value (in my case, 10.5) results in that place showing "Font: Font name 11pt" instead of "Font: Font name 10.5pt"

STEPS TO REPRODUCE
1. Set a fixed-width font size of a floating value
2. Open Konsole's profile editing screen, go to appearance
3. Look at the "Font: Font name Xxpt" text.

OBSERVED RESULT
It rounds? the value.

EXPECTED RESULT
It shows floating values properly.


SOFTWARE/OS VERSIONS
Operating System: NixOS 25.05
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.13.0 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i5-12500H
Memory: 23.2 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Xe Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Vivobook_ASUSLaptop X1605ZA_X1605ZA
System Version: 1.0
Comment 1 Luis 2025-02-01 16:55:56 UTC
Created attachment 177890 [details]
Font chooser window
Comment 2 John Kizer 2025-02-06 05:23:12 UTC
Hi - thanks for your bug report. I can reproduce this on Fedora KDE 41.