[dolphin] [Bug 444896] New: FR: Search using wildcards does not work

Adrian Fluturel bugzilla_noreply at kde.org
Wed Nov 3 17:57:00 GMT 2021


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

            Bug ID: 444896
           Summary: FR: Search using wildcards does not work
           Product: dolphin
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: search
          Assignee: dolphin-bugs-null at kde.org
          Reporter: fluturel.adrian at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
When baloo is enabled, it ignores wildcards and searches anyway, but just in
the areas that it indexes, as it should. But I should also be able to use
wildcards to search for anything, which right now does not happen. When baloo
is disabled, dolphin uses regular expressions, which do not accept wildcard
expressions like "*.jpg"

STEPS TO REPRODUCE
1. Enable baloo
2. Search for something that only a wildcard would return, for example, if
there is a file called "file_033.txt", searching with "*_033.t*" and
successfully finding the file means wildcards are not ignored, while if it
doesn't find it, it means they are ignored
3. Disable baloo and try again 

OBSERVED RESULT
The latter is the case here, baloo does not return the file requested with
"*_033.t*" as a search term.
When baloo is disabled, nothing is found and in the console the message
"QString::contains: invalid QRegularExpression object" is outputted.

EXPECTED RESULT
It should find the file using wildcards.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: kernel 5.14.15-zen1-1-zen
(available in About System)
KDE Plasma Version: Plasma not installed
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Dolphin version 21.11.70

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


More information about the kfm-devel mailing list