Bug 437494 - Dolphin stumbles on tags that include double slashes, as in "parent//tag"
Summary: Dolphin stumbles on tags that include double slashes, as in "parent//tag"
Status: CONFIRMED
Alias: None
Product: baloo-widgets
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-22 11:52 UTC by tagwerk19
Modified: 2024-12-13 15:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Dolphin error and getfattr output (77.91 KB, image/png)
2021-05-22 11:52 UTC, tagwerk19
Details

Note You need to log in before you can comment on or make changes to this bug.
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