[baloo-widgets] [Bug 433990] Dolphin does not trim leading/trailing spaces from new tags

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat May 22 08:23:24 BST 2021


https://bugs.kde.org/show_bug.cgi?id=433990

--- Comment #1 from tagwerk19 at innerjoin.org ---
Created attachment 138664
  --> https://bugs.kde.org/attachment.cgi?id=138664&action=edit
Comparision of Assign Tags, Information Panel and Tag Folder views

There's a similar behaviour with leading or trailing slashes on tags...

STEPS TO REPRODUCE

    Make sure Baloo is running in order to see the tag folders under "Places"

    Create a testfile and create, with "Assign Tags", the tags "/tag"
    and "tag/". Confirm the tags have been written with getfattr:

            getfattr -d testfile.txt

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

OBSERVED RESULTS

    Go back to the file with "Assign Tags" and see what it shows

        * /tag
          tag
        * tag/

    Compare the info to that displayed in the Information Panel and listed
    under "Places" (see attachment...)

EXPECTED RESULTS

    "Assign Tags", the Information Panel and the Tag Folders under
    "Places" should be consistent.

    Maybe "Assign Tags" should drop leading and trailing slashes as
    typed in, should cope with existing leading/trailing slashes when
    it meets them. 

ADDITIONAL INFORMATION

    The information panel doesn't get it quite right either...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list