The .directory file is where Dolphin checks to have per-directory view modes, but that does not carry over to KFileWidget, the file picker. Couldn’t this widget also read .directory files, and use that to know which view mode to be in? If I always want to see pictures in a grid, and the details of documents when browsing, I’ll also want that when picking a file to upload.
Hi! I’m no expert on the workings here, but just a couple of things for reference as you look into this:
- When supported by the filesystem, Dolphin now prefers to store per-folder view mode information in the extended attributes of the folder: ViewProperties: Store view properties in extended file attributes (!573) · Merge requests · System / Dolphin · GitLab
- There’s an existing feature request in the KDE Bugtracking System around syncing folder view information between Dolphin and KIO’s Open/Save dialogs: 433737 – File-open dialogs do not follow per-folder sorting options set by Dolphin
1 Like
Thanks for the info. Also, I’d call it a feature request rather than a bug.
1 Like
Yep, I would too - it’s just in the Bugtracking System because KDE developers use Bugzilla for both bug reports and feature requests, with the severity field distinguishing them (feature requests are “wishlist” severity)