Bug 443639 - Add ability to hide file/folder from the context menu [feature request]
Summary: Add ability to hide file/folder from the context menu [feature request]
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.08.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-12 14:03 UTC by Andrew Shark
Modified: 2021-10-12 14:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Shark 2021-10-12 14:03:38 UTC
You can have files/folders that you do not normally want to see. Such as for example, "__pycache__" folders near python projects.

For this example, it is more logical to have a global hide patterns, and there is already a bug report for this: #3212 (wow! I see such short bug number for the first time! It is from 2000.)

But I am speaking about hiding at folder scope. It would be nice to have ability to quickly hide such files/folders with context menu.

STEPS TO REPRODUCE
1. Open a folder where you have some non-dot file/folder that you want to be hidden. For example, your folder contains "__pycache__" folder.
2. Click with right mouse button on that "__pycache__" folder.
3. Observe the menu entries

OBSERVED RESULT
There is no ability to make it hidden.

EXPECTED RESULT
There should be an entry "Hide file/folder". After user clicks it, dolphin creates ".hidden" file in the current folder if it does not already exist, and adds the name of file/folder to that file.

Workaround solution:
Prerequisite is that user knows about ".hidden" file. Create a ".hidden" file in the folder. Open it and type the name of the file/folder to hide. Then __pycache__ folder becomes hidden.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2