Bug 493950 - Dolphin inconsistently handles case in Tags
Summary: Dolphin inconsistently handles case in Tags
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-02 05:13 UTC by tagwerk19
Modified: 2024-10-02 05:15 UTC (History)
1 user (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 2024-10-02 05:13:07 UTC
SUMMARY
    If you tag a file with a tag of the "wrong case", Dolphin gets confused.

STEPS TO REPRODUCE: 
1...
    Make sure you have content indexing enabled and you are indexing your test directory

2...
    Create a test file and assign a tag "mytag":

        $ echo "Hello Penguin" > testfile.txt
        $ setfattr -n "user.xdg.tags" -v "mytag" testfile.txt  

3... 
    Check to see Baloo has indexed it and the "mytag" folder appears in Places Panel,
    Tags section and in the "All Tags" folder

4...
    In Dolphin, find the file and add a tag "MyTag" through the "Assign Tags" context
    menu (don't use the "Edit..." in the F11 Information Panel, you will hit Bug 493862)
    
    See what's happened...

OBSERVED RESULT:
    You will see both mytag and MyTag in the "assign Tags" dropdown list and both listed
    in the F11 information panel. The tag handling here seems to be case sensitive.
    
    However, you will see only the second tag, "MyTag" appear in the Places Panel, Tags
    section and in the "All Tags" folder. The earlier "mytag" disappears. The tag
    handling here seems to be case insensitive but Dolphin seems to show the "last
    used" tag.

EXPECTED RESULT:
    Baloo generally ignores case when indexing and searching. It does however index tags
    in mixed case. Somebody was doing the right thing :-)
        
    If you have used the "wrong case" when applying a tag, *both* tags should appear in
    the Places, Tags section and in the "All Tags" folder view
    
SOFTWARE/OS VERSIONS:
    Neon Unstable 
    Dolphin: 24.11.70
    Plasma: 6.1.90
    Frameworks: 6.7.0
    Qt: 6.7.2

ADDITIONAL INFORMATION:
    Command line searches "baloosearch6 tags:mytag", "baloosearch6 tags:MyTag",
    "baloosearch6 tags:mYtAG" seemingly do case insensitive searches.