Bug 477662 - Saved display style differ for a shared folder and symlink
Summary: Saved display style differ for a shared folder and symlink
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 23.04.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-28 09:24 UTC by Ivan Korytov
Modified: 2023-11-28 09:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Korytov 2023-11-28 09:24:47 UTC
STEPS TO REPRODUCE
1. Set option "View" to "Remember display style" in Dolphin configuration
2. Get in to a shared folder (e.g. /mnt/shares/Public), set view option to Compact
3. Create symlink to that folder somewhere else (e.g. /home/user/Desktop/Public)
4. Get in to a folder using symlink

OBSERVED RESULT
Display style in symlink (/home/user/Desktop/Public) is not the same as in folder itself (/mnt/shares/Public).

EXPECTED RESULT
Display style in symlink is the same as in folder itself, because they are the same folder, only path differs.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ALT Linux Workstation K 10.2 x86_64
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Dolphin creates a structure to hold .directory files for shared folders in ~/.local/share/dolphin/view_properties and it confirms that it differentiates between folder and symlink by storing separate settings for them.

For other directories, e.g. ~/Downloads, there is no such behavior, because .directory file created in the directory itslef, not in "view_properties". For shared folders, keeping the .directory files separate should be more convenient, because user doesn't always have access to write in the root of the shared folder.