[dolphin] [Bug 433247] Folder expanded incorrectly when sorted by ascending size

Elvis Angelaccio bugzilla_noreply at kde.org
Tue Jul 13 20:51:41 BST 2021


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

Elvis Angelaccio <elvis.angelaccio at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/commit/baaf0c29b
                   |                            |857997720b9cb0d584a44306963
                   |                            |fb97
   Version Fixed In|                            |21.08
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Elvis Angelaccio <elvis.angelaccio at kde.org> ---
Git commit baaf0c29b857997720b9cb0d584a44306963fb97 by Elvis Angelaccio, on
behalf of Christian Muehlhaeuser.
Committed on 13/07/2021 at 19:48.
Pushed by elvisangelaccio into branch 'release/21.08'.

Ensure stable sort order when sorting by size

Folders with equal size caused the sort operation to become unstable,
as the result of lessThan was non-deterministic.

We need the fallback mechanisms at the bottom of the function to
resovle the situation and provide a stable sort order.

This also fixes expanding the contents of a folder into the wrong
parent.
FIXED-IN: 21.08

M  +13   -5    src/kitemviews/kfileitemmodel.cpp

https://invent.kde.org/system/dolphin/commit/baaf0c29b857997720b9cb0d584a44306963fb97

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


More information about the kfm-devel mailing list