Bug 424915 - Q: When view setting is sort by modified, It affected by '.directory' file change. Is that intended?
Summary: Q: When view setting is sort by modified, It affected by '.directory' file ch...
Status: REOPENED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-02 10:47 UTC by dontdieych
Modified: 2020-10-04 23:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Directory and File sorting according to modified date in Details view (21.78 KB, image/png)
2020-10-04 23:00 UTC, Nikunj Bhatt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dontdieych 2020-08-02 10:47:47 UTC
'.directory' file changed by many of dolphin's function. Like changing view mode settings temporarily. So if I change view mode in sub directory, parent directory view order is changed also.

It feels little bit awkward with 'sort by modified time' as default setting. Technically correct but still. :D

How do you think about it?

Thanks.

Linux/Manjaro
dolphin 20.04.3-1
plasma-desktop 5.19.3-1
plasma-framework 5.72.0-1
qt5-base 5.15.0-4
Comment 1 Nate Graham 2020-08-02 13:34:00 UTC
This is because the default setting is to use the same view setting for all folders. If you would like yo use per-folder view settings, you can do it in Dolphin's settings window on the "General" page. You want to set "View: Remember display style for each folder"
Comment 2 Christoph Feck 2020-08-02 15:29:10 UTC
Nate, the issue reported here is about timestamp of the .directory file. It is possible that Dolphin doesn't just write to the file, but recreates it on each change, causing the timestamp of the folder itself to be affected.
Comment 3 Nate Graham 2020-08-02 16:55:10 UTC
Ah ok. I was having a hard time understanding the bug report I guess. Feel free to take over.
Comment 4 Nikunj Bhatt 2020-10-04 23:00:51 UTC
Created attachment 132121 [details]
Directory and File sorting according to modified date in Details view

The sorting order of directory is right but it is not helpful when we want to see the directories sorted by modified date of the files inside them. Mostly main purpose of sorting is this rather than what is currently implemented and correct. I think an option should be given to sort directories according to the files' order. However problem deepens when deeper directories are opened in the details view which could result in resorting of the whole tree.

This feature/suggestion require brainstorming to think about various possibilities and options.
Comment 5 Nikunj Bhatt 2020-10-04 23:03:54 UTC
As can be seen in the attached image, the sorting order of the directories is right but it is not helpful when we want to see the directories sorted by modified date of the files inside them. Mostly main purpose of sorting is this rather than what is currently implemented and correct. I think an option should be given to sort directories according to the files' order. However, problem deepens when deeper directories are opened in the details view which could result in resorting of the whole tree.

This feature/suggestion require brainstorming to think about various possibilities and options.