Bug 480498

Summary: Sort mode reset when dolphin is closed
Product: [Applications] dolphin Reporter: Steve Cossette <farchord>
Component: view-engine: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: agurenko, brandowlucas, kfm-devel, nate
Priority: NOR Keywords: qt6
Version First Reported In: 24.01.90   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Steve Cossette 2024-01-29 16:47:24 UTC
Problem: In dolphin, if you set a filter on a specific column in a specific folder, Dolphin will not retain your preference next time it is started.

Steps to reproduce:
1- Open Dolphin, go in any folder.
2- Click on a column to sort by said column.
3- Close, and reopen Dolphin
4- Go back to that folder.

The filter you set should have reverted back.

(NOTE: This bug does not occur on the "File Picker" dialogs in apps, that one retains the settings you set as far as filters go.)
Comment 1 Steve Cossette 2024-01-29 16:48:29 UTC
I keep forgetting to post this:

Operating System: Fedora Linux 40
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Kernel Version: 6.8.0-0.rc0.20240112git70d201a40823.5.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT
Comment 2 Nate Graham 2024-01-29 22:09:45 UTC
Is Dolphin in per-folder sorting mode, or global sorting mode? You can see in its config dialog.
Comment 3 Steve Cossette 2024-01-29 22:21:42 UTC
It's set to "Use common display style for all folders", I swear it was set to remember display style for each folder though...
Comment 4 Steve Cossette 2024-01-29 22:34:55 UTC
I found something interesting.

If I go in a folder and click on the "Modified" column to sort, and restart dolphin, it will not remember the settings.

BUT, if I do the same sorting, but using the Right Click -> Sort By -> Modified and relaunch Dolphin, THEN it remembers.
Comment 5 Brandow 2024-02-09 19:55:30 UTC
I can reproduce.

Operating System: EndeavourOS 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.3-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5500U with Radeon Graphics
Memory: 5,6 GiB of RAM
Graphics Processor: AMD Radeon Graphics