Bug 258693 - Nepomuk search box in dolphin doesn't understand a leading *-wildcard
Summary: Nepomuk search box in dolphin doesn't understand a leading *-wildcard
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-03 15:45 UTC by Janet
Modified: 2011-01-05 15:22 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 Janet 2010-12-03 15:45:08 UTC
Version:           unspecified (using KDE 4.5.4) 
OS:                Linux

Dolphin's Nepomuk search box only understands trailing wildcards, not leading ones. When I search for "foo*" it finds "foobar". When I search for "*bar" it doesn't find "foobar".

Reproducible: Always
Comment 1 Hans-Rudi Denzler 2010-12-04 18:51:44 UTC
Seems to be fixed in KDE: 4.5.80 (4.6 Beta1)
Search for '*ast' finds:
yast
5.Invano_Alvaro_ti_celasti_al_mondo...mp3
Hoher Kasten.jpg

'ast' finds the same files.
'ast*png' finds:
yast Monitor.png
Comment 2 Sebastian Trueg 2011-01-05 15:22:49 UTC
SVN commit 1212019 by trueg:

Use a regex filter instead of bif:contains if wildcards are used without the necessary leading chars.

BUG: 258693

 M  +7 -19     query/comparisonterm.cpp  
 M  +46 -13    query/literalterm.cpp  
 M  +1 -2      query/literalterm_p.h  
 M  +22 -0     test/querytest.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1212019