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

            Bug ID: 432004
           Summary: Baloosearch search syntax confusion
           Product: frameworks-baloo
           Version: 5.78.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: stefan.bru...@rwth-aachen.de
          Reporter: tagwer...@innerjoin.org
  Target Milestone: ---

SUMMARY:

    Baloosearch as a command line program seems to stumble on tags that
    contain spaces. For a file tagged with "Blue Tag"

        baloosearch 'tags:Blue Tag' 

    does not find it. In comparision:

        dolphin 'tags:Blue Tag'

    opens the "Blue Tag" tag folder and shows the file. 

STEPS TO REPRODUCE:

    Create a file, attach a tag "Blue Tag" and check with getfattr:

        getfattr -d File
        # file: File
        user.xdg.tags="Blue Tag" 

    Search for the file with baloosearch, looking for 'tags:Blue'
    and 'tags:Blue Tag'. Assume that baloosearch recognises when
    arguments are quoted: 

OBSERVED RESULTS

        baloosearch 'tags:Blue'

    returns hits but

        baloosearch 'tags:Blue Tag'

    does not

EXPECTED RESULTS

    Both searches should find the file

    Baloosearch ought to give the same results as the tags: folder
    syntax in Dolphin

SOFTWARE/OS VERSIONS

    Neon Testing

    Plasma : 5.20.90
    Frameworks : 5.79.0
    Qt : 5.15.2 

ADDITIONAL INFORMATION

    Seems to be failing as a result of unexpected argument parsing, a

        baloosearch 'tags:Blue Tag' 

    works the same as

        baloosearch tags:Blue Tag

    that is a search for "Tags:Blue AND Tag". Baloo is actually doing
    a search for "tags:Blue" and a content search for "Tag"

    A search:

        baloosearch tags:Blue_Tag 

    returns the expected result (but why? maybe another question...)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to