Bug 482345

Summary: Certain characters in file name completely break Dolphin's text rendering across multiple lines
Product: [Applications] dolphin Reporter: Adam Fontenot <adam.m.fontenot+kde>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: fanzhuyifan, kfm-devel
Priority: NOR Keywords: qt6
Version: 24.02.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot of the issue
things seems to work on my end

Description Adam Fontenot 2024-03-03 22:17:25 UTC
Created attachment 166376 [details]
screenshot of the issue

SUMMARY

Probably the character is taller than expected? But it completely break's Dolphin's rendering of the text, and not just right around the unexpected character.

STEPS TO REPRODUCE
1. `touch 'this is some text⧸this is some text.txt'`
2. Look at the resulting file in Dolphin. Note that the character above is not a slash, it's U+29F8.

OBSERVED RESULT

Broken text rendering - see screenshot. Affects both thumbnail view and details view.

The font shown here is Source Sans 3 11 pt.

EXPECTED RESULT

No broken text. Specifically, text that is too tall for the box should just overflow it (or be cut off), without changing the line width. (Even if changing the line width were reasonable, something has clearly gone badly wrong in this case.)

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 fanzhuyifan 2024-03-04 01:01:15 UTC
Created attachment 166379 [details]
things seems to work on my end

Can't reproduce on arch linux, wayland, source build of dolphin
Comment 2 Adam Fontenot 2024-03-04 01:47:29 UTC
I see this with a source build as well, built just now on latest: https://invent.kde.org/system/dolphin/-/tree/6231e67120cf4abae696b736e9d851464338f4dd

It's possible that the height of the character in my font is triggering the issue.