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

            Bug ID: 459148
           Summary: Items e.g. containing a minus or underscore are not
                    found in some cases
           Product: frameworks-baloo
           Version: 5.97.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: baloo-bugs-n...@kde.org
          Reporter: openmail+...@siezi.com
  Target Milestone: ---

It seems that some characters like underscore or minus create word boundaries
that makes it impossible to search for some types of partial string crossing
that boundary.   

STEPS TO REPRODUCE
1. Create test files

echo "text" > "aaaa bbbb cccc.txt"
echo "text" > "aaaa-bbbb-cccc.txt"
echo "text" > "aaaa_bbbb_cccc.txt"

2. Search with a partial search term not bordering _ or -

baloosearch "aaaa-bb"
baloosearch "aaaa_bb"

OBSERVED RESULT

No search results are found.

EXPECTED RESULT

The appropriate items should be found.


SOFTWARE/OS VERSIONS
Operating System: NixOS 22.11
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION

Searching for baloosearch "aaaa bb" shows all the result, spaced and connected
with - or _.

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

Reply via email to