Bug 419977 - Dolphin fails to display "tags" folder. "Could not enter folder tags:/parenttag/mytag"
Summary: Dolphin fails to display "tags" folder. "Could not enter folder tags:/parentt...
Status: CONFIRMED
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Tags (show other bugs)
Version: 6.6.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-12 06:31 UTC by tagwerk19
Modified: 2024-09-30 09:02 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 tagwerk19 2020-04-12 06:31:59 UTC
SUMMARY:

    Dolphin (or the tags.so slave) fails when displaying a "tags" folder when you create a file with a name that includes the tag.

    Affects "hierarchical" tags; in this example the tag "parenttag/mytag" when a file mytag.jpg is created and tagged with "parenttag"

STEPS TO REPRODUCE:

    Create a file:

        image.jpg 

    and assign a tag "parenttag/mytag" to it.

    Confirm that you can see the file in the "tags" folder:

        Dolphin tags:/parenttag/mytag 

    Then create a file:

        mytag.jpg

    and assign "parenttag" to it. Check the "tags" folder again:

        Dolphin tags:/parenttag/mytag 

OBSERVED RESULTS:

    You get a failure:

    Could not enter folder tags:/parenttag/mytag 

EXPECTED RESULTS:

    You see the tagged image.jpg file listed

SOFTWARE/OS VERSIONS:

    Dolphin 20.03.90
    Baloosearch/Balooctl 5.69.0
    from Neon Testing 

    KDE Plasma 5.18.4
    KDE Frameworks 5.69.0
    Qt 5.14.1 

ADDITIONAL INFORMATION:

    Confirming that the tags are created:

        $ getfattr -dR .

        # file: mytag.jpg
        user.xdg.tags="parenttag"

        # file: image.jpg
        user.xdg.tags="parenttag/mytag" 

    and that baloosearch can find the files:

        $ baloosearch //?query=tags:parenttag
        /home/test/Pictures/image.jpg
        /home/test/Pictures/mytag.jpg

        $ baloosearch //?query=tags:parenttag/mytag
        /home/test/Pictures/image.jpg

        $ baloosearch //?query=tags:mytag
        /home/test/Pictures/image.jpg 

    So, as Baloosearch works, it's not a baloo issue :-)

    You can have many files tagged with "parenttag/mytag" and still get the: 

        Could not enter folder tags:/parenttag/mytag 

    message.

    You also get the failure if the "mytag" appears _within_ the filename, for example "name-mytag.jpg"

    Behaviour also seen in

        Fedora 31 (Dolphin 19.12.1, Plasma 5.17.5, Framework 5.67.0)
        fedora 30 (Dolphin 19.08.3, Framework 5.64.0)
Comment 1 tagwerk19 2020-05-10 21:20:08 UTC
Checked after https://phabricator.kde.org/D28932

    Dolphin 20.07.70
    Baloosearch/Balooctl 5.71.0
    from Neon Unstable

    KDE Plasma 5.18.80
    KDE Frameworks 5.70.0
    Qt 5.14.2

The same "funny"...
Comment 2 tagwerk19 2020-11-21 20:29:05 UTC
Revisited...

Issue is still there, Neon Testing...
    Dolphin: 20.11.80
    Plasma: 5.20.3
    Frameworks: 5.77.0
    Qt: 5.15.1

Ok, rather less "revisted", more fallen into the same hole again.
Comment 3 reports_go_brrr 2024-09-23 17:40:45 UTC
Still can reproduce.....

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
Comment 4 reports_go_brrr 2024-09-23 17:43:27 UTC
Also, can you help me to Confirm similar bug #492901?
Comment 5 tagwerk19 2024-09-30 09:02:59 UTC
(In reply to reports_go_brrr from comment #4)
> Also, can you help me to Confirm similar bug #492901?
I'll check....

I've separated out some of the behaviour in this Bug into Bug 493862. That is a bit more focused