Bug 228157

Summary: Dolphin fails to display properly filenames ending in certain characters
Product: [Applications] dolphin Reporter: Samu Juvonen <samu.juvonen>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: normal CC: frank78ac
Priority: NOR    
Version First Reported In: 16.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Samu Juvonen 2010-02-23 08:33:09 UTC
Version:            (using KDE 4.4.0)
Compiler:          gcc 4.4.3 
OS:                Linux
Installed from:    Archlinux Packages

Dolphin fails to display correctly filenames that end in some certain letters. It happens with every filename that is at least seven characters long. If the filename contains a hyphen and ends in a "bad character", then the filename is split after the hyphen and not just the last letter.

The described behaviour also occurs with some other characters, at least with capitals A and L (but not with capital S nor O, nor with lower-case letters a and l).

Some examples:

"thisisafileabcde" vs "thisisafile<break>A"
"thisisa-filea" vs "thisisa-<break>files"
"Pictures--backup" vs "Picture<break>s"

Text width is set to huge, but it does occur with all other text widths too. 
I noticed that if the filename is already longer than one line, then the last character will not produce a third line.
Comment 1 Samu Juvonen 2010-02-23 08:37:06 UTC
"The described behaviour also occurs with some other characters, at least with
capitals A and L (but not with capital S nor O, nor with lower-case letters a
and l)."

I meant to write it happens with at least lower-case 's' and with some others too.
Comment 2 Peter Penz 2010-02-23 08:50:17 UTC
Thanks for the report, but I'm quite surprised by this issue: I would get flamed if this bug would really occur in each environment, where filenames end with specific letters. Would it be possible that you zip a very small directory where the issue occurs and attach it to the bug report? It might be an encoding issue of your filenames, but I need an example to reproduce it...
Comment 3 Samu Juvonen 2010-02-23 09:06:20 UTC
http://sj87.hopto.org/stuff/test.tar

There's also a screenshot of how it is displayed on my system.
Comment 4 Frank Reininghaus 2010-02-23 11:52:09 UTC
Looks like a duplicate of bug 173647?
Comment 5 Peter Penz 2010-08-08 13:35:29 UTC

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