Bug 482345 - Certain characters in file name completely break Dolphin's text rendering across multiple lines
Summary: Certain characters in file name completely break Dolphin's text rendering acr...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-03 22:17 UTC by Adam Fontenot
Modified: 2024-03-04 01:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of the issue (6.75 KB, image/png)
2024-03-03 22:17 UTC, Adam Fontenot
Details
things seems to work on my end (20.04 KB, image/png)
2024-03-04 01:01 UTC, fanzhuyifan
Details

Note You need to log in before you can comment on or make changes to this bug.
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.