Bug 499783

Summary: Configuring a label font unexpectedly changes the dropdown too
Product: [Applications] dolphin Reporter: John Veness <john.kde>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: akselmo, dolphin-bugs-null
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Font label dropdown
Font label dropdown (better view)

Description John Veness 2025-02-10 22:40:48 UTC
SUMMARY
When configuring a label font and choosing a custom font, the text "System Font" and "Custom Font" is temporarily rendered in the chosen font, oddly.

STEPS TO REPRODUCE
1. Open Dolphin
2. Configure Dolphin
3. Navigate to View then to one of Icons, Compact, or Details
4. Choose Label font: Custom Font then click Choose
5. Pick a font that looks noticeably different, maybe Bold and Italic just to make sure
6. Click OK
7. Look at the word System Font and Custom Font in the Label font dropdown

OBSERVED RESULT
Both items in the dropdown are now rendered in the custom font.

EXPECTED RESULT
At the very least, I'd expect System Font to *not* be rendered in the custom font, but to be honest, I think I'd prefer both to be rendered in the system font. I understand that it's nice to see a preview, but you've already seen a preview during the Choose process, and it looks odd seeing it in the dropdown.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250209
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.1-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Note that if you do set a custom font, then OK the Configure window, then go back into Configure Dolphin, the dropdown text System Font and Custom Font are both rendered in the system font again (which to my eyes is a good thing). This reinforces to me that the dropdown text temporarily changing to be rendered in the custom font is a bug.
Comment 1 John Veness 2025-02-10 22:42:44 UTC
Created attachment 178129 [details]
Font label dropdown
Comment 2 John Veness 2025-02-10 22:47:29 UTC
Created attachment 178130 [details]
Font label dropdown (better view)
Comment 3 Akseli Lahtinen 2025-02-11 14:39:18 UTC
Can confirm. I guess it changes to show an example of the chosen font, but the system font label should not change.

dolphin 25.03.70
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.12.11-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600