Bug 277882 - truncate filenames differently, i.e. in the middle
Summary: truncate filenames differently, i.e. in the middle
Status: REOPENED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-16 09:17 UTC by S. Burmeister
Modified: 2022-01-01 19:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2011-07-16 09:17:25 UTC
Version:           unspecified (using Devel) 
OS:                Linux

Currently file names are truncated at the end, i.e. "really_long_filename.jpg" becomes "really_lo...". I noticed that this is not optimal because I often need to know the file's extension in order to know whether it is the right one.

I know there are tooltips and the statusbar, but if there is no better reason to truncate file names at the end, being able to see the extension right away seems a valid reason to change the method.

AFAIK it's how Mac OS X truncates, so it's not that off. :)

Reproducible: Always

Steps to Reproduce:
Make dolphin truncate a file name

Actual Results:  
file's extension not visible

Expected Results:  
visible extension
Comment 1 S. Burmeister 2011-07-16 13:24:03 UTC
Forgot to add how to do it.

"real...name.jpg"
Comment 2 Peter Penz 2012-01-19 17:23:45 UTC
With Dolphin 2.0 per default no filenames get be clipped at all. Does this wish still make sense for you? The only usecase that comes to my mind would be the details-view where the name-column can be shrinked by the user...
Comment 3 Julian Steinmann 2018-03-28 10:53:05 UTC
Would you still like to have this as a feature? If yes, I can set the status to CONFIRMED, but if the new way is good enough for you, I'll close this report.
Comment 4 Julian Steinmann 2018-04-11 09:57:19 UTC
No response -> closing. Please reopen the bug report if you are not satisfied with the current behavior of Dolphin.
Comment 5 tomashnyk 2022-01-01 19:32:28 UTC
Actually, especially with this change: https://invent.kde.org/system/dolphin/-/merge_requests/312 this feature request still makes sense. Now the extension is shown when truncated, but otherwise it is clipped from the end. But especially when several people shift files back and forth, the filename often grows, ie.:
already_a_long_filename.docx
already_a_long_filename_revisions_by_A.docx
already_a_long_filename_revisions_by_A_changed_by_B.docx
etc.

In such cases, I would much rather loose a part of the filename in the middle ("a long filename") then the end (who did the revisions).