Bug 488814

Summary: Bitmap fonts (such as terminus) break the layout in icons mode, and slightly misalign text in details mode
Product: [Applications] dolphin Reporter: Boux <ufa.boux+kde>
Component: view-engine: icons modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: kdedev, kfm-devel
Priority: NOR    
Version: 24.05.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Video showing the layout bug when changing the font to a bitmap font

Description Boux 2024-06-20 18:46:58 UTC
Created attachment 170698 [details]
Video showing the layout bug when changing the font to a bitmap font

SUMMARY
Bitmap fonts (such as terminus) completely break the layout in icons mode, and slightly misalign text in details mode. I am using the breeze theme with breeze icons.

STEPS TO REPRODUCE
1. Open dolphin in icons mode
2. Change system font to a bitmap font (such as terminus)
3. The layout will seem fine at first, but toggle the layout to something else then back to icons and everything is broken
4. If you change the font back to a normal font, the layout stays broken until you reload it again

OBSERVED RESULT
Icons mode layout is broken
Details mode layout's text is slightly misaligned

EXPECTED RESULT
Icons mode layout should render in a grid as normal
Details mode layout's text should be centered on the row

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux kernel 6.9.5
(available in About System)
KDE Plasma Version: Plasma 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
I've attached a video showing the bug