Bug 492905

Summary: Dolphin search for files with (slash)tags and tags without slash is separated
Product: [Applications] dolphin Reporter: reports_go_brrr <goodaqua>
Component: searchAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: akselmo, kfm-devel, tagwerk19
Priority: NOR    
Version: 24.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Showcase

Description reports_go_brrr 2024-09-09 20:17:19 UTC
Created attachment 173488 [details]
Showcase

SUMMARY
Tags with slash (/) and without slash are separated in Dolphin search results, which summons headaches sometimes.

STEPS TO REPRODUCE
1. Open Dolphin
2. Select file
3. Open Information Panel by F11
4. In Tags section click "Add..."
5. Add your tag with any name
6. Refresh your current folder by F5
7. Select another file
8. Right Click upon it to call Context Menu
9. Go to "Assign Tags" section
10. Assign the same tag you selected earlier.
11. Select first file or folder.
12. Select tag name in Information Panel.

OBSERVED RESULT
Tag search is separated for tags with slash (/) and without slash.

EXPECTED RESULT
It must be fixed. Search must show tags with slash and without slash, no matter you sear tag with slash or without it.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-arch1-1 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Vanilla Dolphin, vanilla Baloo, vanilla EndeavourOS.
Comment 1 Akseli Lahtinen 2024-11-26 14:57:24 UTC
Potential duplicate, related to handling slashes in tags

*** This bug has been marked as a duplicate of bug 493862 ***
Comment 2 tagwerk19 2024-11-26 15:17:18 UTC
(In reply to reports_go_brrr from comment #0)
> EXPECTED RESULT
> It must be fixed. Search must show tags with slash and without slash, no
> matter you search tag with slash or without it.
There's a case that if you search for "tags:/parent" you are searching for a top level tag (finding files tagged with "parent/child" but not "ancestors/parent"), but if you search for "tags:child" you'll find files tagged "child", "parent/child" or "parent/child/grandchild"