Bug 427985

Summary: Folders' names and folder structure in plasma vault can be accessed when the vault is closed
Product: [Applications] dolphin Reporter: Jacob <05e42f84-6281-4bcb-8159-d432d71ae338>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: major CC: Die_Adresse, eppers, kfm-devel, nate, sunny.bed7466, tagwerk19
Priority: HI    
Version: 20.08.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jacob 2020-10-19 15:22:07 UTC
SUMMARY
Folders' names and folder structure in plasma vault can be accessed when the vault is closed at /home/user/.local/share/dolphin/view_properties/local/home/user/....
It happens when the view properties of the folder is changed.


STEPS TO REPRODUCE
1. set dolphin to remember display style for each folder
2. open a vault with folders
3. change the view properties of a folder in the vault
4. close the vault

OBSERVED RESULT
the name of the folder within the vault can be seen at /home/user/.local/share/dolphin/view_properties/local/home/user/... (location of the mount point of your vault)

EXPECTED RESULT
the name of the folder within the vault cannot be seen at /home/user/.local/share/dolphin/view_properties/local/home/user/... (location of the mount point of your vault)


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro KDE
Kernel Version: 5.4.67-1-MANJARO
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1


ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-10-19 16:12:17 UTC
We should probably store view information inside the disk it's relevant for. That way view information for a vault will live inside the vault and be correctly inaccessible when the vault is closed.
Comment 2 MrFrank 2021-02-05 22:47:40 UTC
I have a kind of related issue, not sure if it is worth opening a separate issue for that.

The thumbnails of documents inside a vault (or in any other encrypted container like e.g. Cryptomator) are stored in .cache/thumbnails.

A solution could be to turn of thumbnails for these kind of folders or to store them inside the folder as already mentioned.
Comment 3 Detlef Eppers 2022-02-10 17:05:32 UTC
Somewhat related: Files from a Vault are moved to trash when deleted and remain accessible after the Vault is closed.

It will be difficult to guess if this is desired or undesired behavior, so I think ideally it should be configurable.
Comment 4 Detlef Eppers 2022-02-10 18:02:17 UTC
(In reply to Detlef Eppers from comment #3)
> It will be difficult to guess if this is desired or undesired behavior, so I
> think ideally it should be configurable.

Or maybe there could be a prompt similar to the one we get 
with SHIFT+DEL, just with three choices?