Bug 450067 - Tags filter folder doesn't show tagged dot files and files inside dot folders
Summary: Tags filter folder doesn't show tagged dot files and files inside dot folders
Status: RESOLVED NOT A BUG
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 21.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2022-02-12 04:57 UTC by rdxsquirrel9111555
Modified: 2022-02-14 06:59 UTC (History)
3 users (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 rdxsquirrel9111555 2022-02-12 04:57:48 UTC
SUMMARY
When in the tags filter view (e.g., "tags:/TestTag/") exploring my files tagged "TestTag" i can't see the ones that are under dot folders, but are not dot files itself, and i can't see dot files. It's important mentioning that tagged dot folders appear under "tags:/TestTag/".

STEPS TO REPRODUCE
1. First create the following folder structure under a normal folder, like ~/Downloads
cd ~/Downloads
mkdir -p ~/Downloads/showsdirectly/
touch ~/Downloads/showsdirectly/showsdirectly.txt
touch ~/Downloads/showsdirectly/.doesntshowdirectly.txt
mkdir -p ~/Downloads/.showsdirectly/doesntshowdirectly
2. Tag every folder and file created with "TestTag"
3. Go under "tags:/TestTag/" with Dolphin


OBSERVED RESULT

Only the "showsdirectly" folders and files appear.

EXPECTED RESULT

Show every folder and file, including the "doesntshowdirectly" ones, inside "tags:/TestTag/" in the FIRST LEVEL of the path.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.16.8
(available in About System)
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 tagwerk19 2022-02-12 12:45:10 UTC
Do you have "Index hidden files" selected?

    $ balooctl config list hidden
    $ balooctl config list includeFolders
    $ balooctl config list excludeFolders
Comment 2 rdxsquirrel9111555 2022-02-12 17:53:36 UTC
(In reply to tagwerk19 from comment #1)
> Do you have "Index hidden files" selected?
> 
>     $ balooctl config list hidden
>     $ balooctl config list includeFolders
>     $ balooctl config list excludeFolders

Not actually, when I enabled the "hidden" option I got the expected result. Thanks for the help :).
Comment 3 tagwerk19 2022-02-13 08:51:56 UTC
(In reply to rdxsquirrel9111555 from comment #2)
> ... when I enabled the "hidden" option I got the expected result ...
Good News :-)

If you are indexing hidden files/folders, you might want to add .cache and .local/share/Trash to the "excluded folders" list (see Bug 434705)
Comment 4 rdxsquirrel9111555 2022-02-14 06:59:05 UTC
(In reply to tagwerk19 from comment #3)
> (In reply to rdxsquirrel9111555 from comment #2)
> > ... when I enabled the "hidden" option I got the expected result ...
> Good News :-)
> 
> If you are indexing hidden files/folders, you might want to add .cache and
> .local/share/Trash to the "excluded folders" list (see Bug 434705)

Okay, I appreciate the additional information. Thanks.