https://bugs.kde.org/show_bug.cgi?id=482470
Akseli Lahtinen <akse...@akselmo.dev> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/ |03ef2343212bbc4be274b1b3778 |f1a9052dff63938fd96890c7f88 |8186df03a8cb3 |c6aa508e5f9a6 --- Comment #8 from Akseli Lahtinen <akse...@akselmo.dev> --- Git commit f1a9052dff63938fd96890c7f88c6aa508e5f9a6 by Akseli Lahtinen. Committed on 12/05/2025 at 08:09. Pushed by akselmo into branch 'Plasma/6.3'. 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 (cherry picked from commit 03ef2343212bbc4be274b1b37788186df03a8cb3) 10260acb FolderModel: When adding files, keep the current sorting e64705c8 Fix comment, combine ifs Co-authored-by: Akseli Lahtinen <akse...@akselmo.dev> M +4 -8 containments/desktop/plugins/folder/foldermodel.cpp https://invent.kde.org/plasma/plasma-desktop/-/commit/f1a9052dff63938fd96890c7f88c6aa508e5f9a6 -- You are receiving this mail because: You are watching all bug changes.