https://bugs.kde.org/show_bug.cgi?id=489967
Bug ID: 489967 Summary: Filenames containing CJK characters are wrongly padded resulting in excessive whitespace Classification: Applications Product: dolphin Version: 24.05.2 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: dolphin-bugs-n...@kde.org Reporter: haochengho12...@gmail.com CC: kfm-de...@kde.org Target Milestone: --- Created attachment 171495 --> https://bugs.kde.org/attachment.cgi?id=171495&action=edit Screenshot of the bug SUMMARY I noticed that filenames containing CJK characters are not vertical-centrally aligned in details mode, it looks like they are overly padded from the top. In icons view mode, when the files are selected, the selection box of CJK-containing filenames looks taller than the selection box of Latin-only filenames. As you can see from the screenshot, when those files are mixed with other Latin-only filenames there is excessive whitespace, which looks jarring. For example, look at Main.txt and Name 名字.txt. STEPS TO REPRODUCE 1. Create a directory containing files with Latin-only filename and mixed CJK-Latin filename. 2. In any view (icons, details, compact) you should notice the CJK-containing filenames look odd. OBSERVED RESULT Filenames wrongly rendered, with excessive whitespace EXPECTED RESULT Filenames correctly rendered SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.1.2 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2 Kernel Version: 6.9.7-arch1-1 (64-bit) Graphics Platform: Wayland Scaling factor: 125% @ 1080p ADDITIONAL INFORMATION Since this is related to text, I figured I should note the fonts used are Inter 10.5px for Latin and Source Han Sans SC for CJK. Changing to other fonts like FreeSans 11px doesn't resolve the issue, though. -- You are receiving this mail because: You are watching all bug changes.