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

Akseli Lahtinen <akse...@akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |03ef2343212bbc4be274b1b3778
                   |                            |8186df03a8cb3
   Version Fixed In|                            |6.3.6
         Resolution|---                         |FIXED

--- Comment #7 from Akseli Lahtinen <akse...@akselmo.dev> ---
Git commit 03ef2343212bbc4be274b1b37788186df03a8cb3 by Akseli Lahtinen.
Committed on 09/05/2025 at 08:53.
Pushed by akselmo into branch 'master'.

FolderModel: When adding files, keep the current sorting

The sort mode got changed to unsorted if any file was added.
This was probably due to the infinite while loop that would happen
later when we're looking for a new blank spot from an index
that does not exist: This would return an empty QVariant that is
false by default.

We need to check if the index is valid. If it's not, we know
it's a new index and can create one, so it is a blank spot.
FIXED-IN: 6.3.6

M  +4    -8    containments/desktop/plugins/folder/foldermodel.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/03ef2343212bbc4be274b1b37788186df03a8cb3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to