SUMMARY Desktop wallpaper previews are shuffling infinitely in System Settings Wallpaper KCM when user selects Wallpaper type: Slideshow and Order: Date modified (newest first) STEPS TO REPRODUCE 1. Open System Settings Wallpaper KCM 2. Select Wallpaper type: Slideshow 3. Select Order: Date modified (newest first) OBSERVED RESULT Desktop wallpaper previews are shuffling infinitely EXPECTED RESULT Desktop wallpaper previews are sorted by Date modified (newest first) SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.8.7-arch1-2 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz Memory: 7.7 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2
Created attachment 169185 [details] bug-demonstration
Yikes, can confirm!
Can reproduce, looks like a QtBug.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4371
Git commit 8d9b34a713b4509cd085d63bb60047464e5fa1fd by Fushan Wen. Committed on 30/05/2024 at 08:13. Pushed by fusionfuture into branch 'master'. wallpapers/image: avoid using equal in model index comparison Equal can confuse the sort filter model when 3 items have the same date. For reversed order Qt swaps the left index and the right index internally, so let's follow the best practice. FIXED-IN: 6.1 M +1 -1 wallpapers/image/plugin/slidefiltermodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/8d9b34a713b4509cd085d63bb60047464e5fa1fd
Git commit 66222d167d4d6e97b2f1940bd6a316759f355247 by Fushan Wen. Committed on 30/05/2024 at 08:14. Pushed by fusionfuture into branch 'Plasma/6.1'. wallpapers/image: avoid using equal in model index comparison Equal can confuse the sort filter model when 3 items have the same date. For reversed order Qt swaps the left index and the right index internally, so let's follow the best practice. FIXED-IN: 6.1 (cherry picked from commit 8d9b34a713b4509cd085d63bb60047464e5fa1fd) Co-authored-by: Fushan Wen <qydwhotmail@gmail.com> M +1 -1 wallpapers/image/plugin/slidefiltermodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/66222d167d4d6e97b2f1940bd6a316759f355247