Bug 437494

Summary: Dolphin stumbles on tags that include double slashes, as in "parent//tag"
Product: [Frameworks and Libraries] baloo-widgets Reporter: tagwerk19
Component: generalAssignee: Stefan BrĂ¼ns <stefan.bruens>
Status: CONFIRMED ---    
Severity: minor CC: baloo-bugs-null, goodaqua, postix
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=437501
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Dolphin error and getfattr output

Description tagwerk19 2021-05-22 11:52:32 UTC
Created attachment 138674 [details]
Dolphin error and getfattr output

SUMMARY:

    Dolphin stumbles on tags that include double slashes, as in "parent//tag"

STEPS TO REPRODUCE:

    Make sure baloo is up and running...

    Create a testfile and assign a tag (with Assign Tag) "parent//tag" to it

    Confirm the tag has been written "as given" with getfattr:

        getfattr -d testfile.txt

        # file: testfile.txt
        user.xdg.tags="parent//tag" 

    See that the Information Panel is quite cool about this :-)

    Go to Places and open

        All Tags 

    folder, step down to the "parent" folder and see that it has a "tag"
    folder in it. Try to open that... 

OBSERVED RESULTS

    Get a:

        Could not enter folder tags:/parent/tag.

    (See attached)

EXPECTED RESULTS

    Expect that if a tag folder is listed, it should be possible to open it.

SOFTWARE/OS VERSIONS

    Checked on Neon Unstable... 
    Plasma: 5.22.80
    Frameworks: 5.83.0
    Qt: 5.15.2

ADDITIONAL INFORMATION

    This is another twist on Bug 433990. Maybe roll up as a duplicate
    but might need a separate unit test

    [Hunting for causes for Bug 437176]
Comment 1 reports_go_brrr 2024-09-17 17:07:30 UTC
In my case "parent//tag" is not present in "All Tags". Even as "parent" or "tag".

Operating System: Arch Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-arch1-1 (64-bit)
Graphics Platform: Wayland