Bug 470593

Summary: Particularly named files show end of the filename outside the selection in "Icons view mode"
Product: [Applications] dolphin Reporter: Andrei Rybak <rybak.a.v>
Component: view-engine: icons modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, kfm-devel
Priority: NOR    
Version: 23.04.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screen recording of the OBSERVED RESULT

Description Andrei Rybak 2023-06-03 16:22:38 UTC
Created attachment 159443 [details]
Screen recording of the OBSERVED RESULT

SUMMARY
File named "20230602_It's Time To Name And Shame - WAN Show June 2, 2023_ntgYW8LfNfk.ogg" causes visual glitches in "Icons view mode" of Dolphin.


STEPS TO REPRODUCE
1. Open Dolphin
2. Navigate to /tmp
3. Switch Dolphin to "Icons view mode"
4. Create a text file (right click > "Create New" > "Text File...") named "20230602_It's Time To Name And Shame - WAN Show June 2, 2023_ntgYW8LfNfk.ogg" – don't forget to delete automatic ".txt" filename extension.
5. Move file to the trash bin by pressing Delete on the keyboard


OBSERVED RESULT
After step 4, the "ogg" part of the filename is wrapped to the fourth line of text under the icon.
After step 5, the "ogg" part of the filename remains visible for some time, even though the file isn't in the directory anymore.

EXPECTED RESULT
The "ogg" part of the filename is not wrapped to the fourth line.

ADDITIONAL INFORMATION
I played around with different filenames and couldn't reproduce the issue for other filenames. My guess would be that is has something to do with the particular font kerning of this exact string that causes the issue.

VERSION
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 5.19.0-42-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Inspiron 5570
Comment 1 Patrick Silva 2023-06-03 16:46:33 UTC

*** This bug has been marked as a duplicate of bug 459395 ***
Comment 2 Andrei Rybak 2024-05-07 20:46:17 UTC

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