Bug 459395

Summary: If a non-default font is used, file with specific name is not properly highlighted in icon view mode when icon size is 128 pixels
Product: [Applications] dolphin Reporter: Patrick Silva <bugseforuns>
Component: view-engine: icons modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jb.lecoz, kfm-devel, pasdabonnements, rybak.a.v, thepixelbozz
Priority: NOR    
Version: 24.02.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot
SF Pro Display fonts
Bug for size 48
Bug for size 64
Artefact on blank part when you change file

Description Patrick Silva 2022-09-19 13:56:00 UTC
Created attachment 152222 [details]
screenshot

STEPS TO REPRODUCE
1. open Dolphin
2. set icon view mode
3. use the Zoom slider on bottom to set icon size to 128 pixels
4. rename a file to 'V.S01E02.Parte.II.(1983).720P.BRRip.x264.Dual.Áudio.mkv' or create a fake file with this name
via 'Create new > Text file...' option from the context menu of Dolphin
5. deselect the file and select it again

OBSERVED RESULT
as we can see in the attached screenshot, the file extension is not highlighted. The bug disappears when I alt+tab to another window and switch back to Dolphin.

EXPECTED RESULT
files are always properly highlighted when selected

SOFTWARE/OS VERSIONS
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 1 Patrick Silva 2023-05-13 00:07:36 UTC
*** Bug 469651 has been marked as a duplicate of this bug. ***
Comment 2 Patrick Silva 2023-06-03 16:46:33 UTC
*** Bug 470593 has been marked as a duplicate of this bug. ***
Comment 3 Patrick Silva 2024-02-29 13:08:44 UTC
Created attachment 166187 [details]
SF Pro Display fonts

Can reproduce when using the attached SF Pro Display fonts, cannot reproduce with Noto Sans.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: Wayland
Comment 4 Jean-Baptiste Le Coz 2024-03-26 22:05:53 UTC
Still happen to me with noto sans... different filename trigger the bug depending the size of the icon.
Leave artefact when i change file.... 

Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: X11
Comment 5 Jean-Baptiste Le Coz 2024-03-26 22:12:07 UTC
Created attachment 167819 [details]
Bug for size 48
Comment 6 Jean-Baptiste Le Coz 2024-03-26 22:12:49 UTC
Created attachment 167820 [details]
Bug for size 64
Comment 7 Jean-Baptiste Le Coz 2024-03-26 22:13:51 UTC
Created attachment 167821 [details]
Artefact on blank part when you change file
Comment 8 Patrick Silva 2024-03-31 11:06:20 UTC
*** Bug 484760 has been marked as a duplicate of this bug. ***
Comment 9 Dilam 2024-05-07 08:24:09 UTC
This issue happen when the name overflow (in an unexpected line). To the overflow to happen the text needs to match specific sizes which depend on your font, your file name, your numbers of lines, and your folder zoom level.
No font is needed to produce an name overflow.
Comment 10 Dilam 2024-05-07 08:25:26 UTC
Your just happen to have some files name that produce the bug with this font and not without this font.
This bug is a duplicate of bug 432530.

*** This bug has been marked as a duplicate of bug 432530 ***