Bug 419977 - Dolphin fails to display "tags" folder
Summary: Dolphin fails to display "tags" folder
Status: REPORTED
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Tags (show other bugs)
Version: 5.69.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-12 06:31 UTC by tagwerk19
Modified: 2020-11-21 20:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


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.