[dolphin] [Bug 497664] Tuncate files names in the middle

Felix Ernst bugzilla_noreply at kde.org
Tue Jan 7 01:47:01 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=497664

Felix Ernst <felixernst at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/f42e81f
                   |                            |b5d71ffa23948c4edea9bb3f86c
                   |                            |84e8c7
   Version Fixed In|                            |25.04.0

--- Comment #6 from Felix Ernst <felixernst at kde.org> ---
Git commit f42e81fb5d71ffa23948c4edea9bb3f86c84e8c7 by Felix Ernst, on behalf
of Nate Graham.
Committed on 07/01/2025 at 01:46.
Pushed by felixernst into branch 'master'.

Elide file names in the middle again

In ye olden days, filenames were elided on the right. This prevented
seeing the filename extension and any suffix style text the user
included in the filename (e.g. "myfile 1", "myfile 2" and so on).

In 97f49347482519b9ad53b7596d7462e68b7c2e14, this was changed to elide
in the middle, fixing both problems and bringing Dolphin into Jakobs'
Law style consistency with MacOS Finder and Windows Explorer, and
possibly other file managers too.

However it worsened the situation for users who name their files such
that most of the information was on the left. After some complaints, it
was changed in 99cf24c03def1c0722ba8dbd86a27b9dbc521f43 to right-elide
again, but excluding the filename extension.

Unfortunately user complaints have continued. At this point it's clear
that nothing will satisfy everyone due to diversity of file naming
styles. In such a situation, Jakobs' Law consistency with the rest of
the industry is the best solution short of making it configurable,
which has its own drawbacks.

Accordingly, return to middle-elision.
Related: bug 404955
FIXED-IN: 25.04.0

M  +4    -21   src/kitemviews/kstandarditemlistwidget.cpp
M  +0    -2    src/kitemviews/kstandarditemlistwidget.h

https://invent.kde.org/system/dolphin/-/commit/f42e81fb5d71ffa23948c4edea9bb3f86c84e8c7

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list