Created attachment 152679 [details] modified Dolphin serttings panel Currently we are allowed 1) Global user folder views, or 2) Customized folder views with .directory file stored in that folder, and visible to user. This change allows the user to 3) Customize folder views and store .directory files in their central: <USER>/.local/share/dolphin/view_properties/ Example functional patch https://pastebin.com/ibPQBhsR
I totally agree that saving all folder view properties in a local folder would be preferable. AFAIK we actually have a consensus among Dolphin contributors that we would want this as a default behaviour if it were to be implemented correctly. Unfortunately implementing this correctly is somewhat difficult. You see, if we don't save the .directory files within the folders but at a local location, renaming or moving of a folder would make us lose the view properties for this folder. You might be interested in this discussion: https://invent.kde.org/system/dolphin/-/merge_requests/288#note_368581 If anyone is able to implement this correctly, their contributions would be very very welcome. It would also allow us to to enable specially fitted view modes for special views like recent files and search or the trash folder by default.
Thanks for the feedback, I'll check : https://invent.kde.org/system/dolphin/-/merge_requests/288#note_368581 I'd like to suggest that this become a user decision. The .directory file intrudes on user space for what is essentially OS control data. AS a user, moving / renaming (or deleting) folders makes them "new" to me. Redoing view settings by the user at that point is acceptable (I'd suggest) for the low number of convenience edge cases. An option / settings pref let's the user decide.
(chopped off) A user pref here lets the user decide and ant be expanded along with specially fitted view modes.
Better solution from KDE otw ...... \o/ *** This bug has been marked as a duplicate of bug 322922 ***