Bug 281608 - Clearing search input field lists ALL files in Nepomuk index
Summary: Clearing search input field lists ALL files in Nepomuk index
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: 16.12.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 293985 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-08 10:00 UTC by Elias Probst
Modified: 2017-09-03 05:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2011-09-08 10:00:07 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

Using actually KDE 4.7.1 which wasn't available for selection yet.

When clearing the search input field in Dolphin, it lists ALL files in the Nepomuk index as result.

Reproducible: Always

Steps to Reproduce:
1. Open Dolphin
2. Press Ctrl+F
3. Enter a search term
4. Delete the search term
5. Look at the file listing
Note! No advanced filters were set in the search panel

Actual Results:  
Dolphin lists all files in the Nepomuk index.

Expected Results:  
No results should be shown when clearing the search input field.
Comment 1 Elias Probst 2011-09-08 10:01:13 UTC
Some additional information regarding the used software components:

Nepomuk 4.7.1
Soprano git 432b73f5
Virtuoso 6.1.3
Comment 2 Elias Probst 2011-11-04 23:50:05 UTC
This is still valid for:
KDE SC 4.7.3
Soprano 2.7.0
Virtuoso 6.1.3
Comment 3 Elias Probst 2011-12-25 10:18:25 UTC
Still valid for
KDE 4.7.95 (4.7.80 RC1)
Soprano 2.7.3
Virtuoso 6.1.4

I assume this is mostly a Dolphin issue, where simply a check is missing, whether the search string is empty and still a search request is executed for an empty search string.
Comment 4 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:19:38 UTC
Resetting assignee to default as per bug #305719
Comment 5 Frank Reininghaus 2013-05-12 20:48:52 UTC
*** Bug 293985 has been marked as a duplicate of this bug. ***
Comment 6 Emmanuel Pescosta 2013-06-21 13:42:36 UTC
I can't reproduce this bug in Dolphin KDE 4.11 Beta 1. When I clear the search input field only the items from the previous search result are displayed.

@Frank:
I think we should open the search path when the user clears the search input field (same as user opens the search widget in a folder) or at least clear the view. What do you think?
Comment 7 Frank Reininghaus 2013-06-25 08:59:10 UTC
It seems that I can reproduce this in KDE 4.10.3 when I press "Enter" after clearing the search field. But the original report sounded like it happens even without pressing "Enter"?

On the one hand, clearing the view might make sense if the search string is empty, But it also makes it more difficult to do a generic search with additional search options, right?
Comment 8 Nate Graham 2017-09-03 05:59:12 UTC
Doesn't seem to happen anymore in Dolphin 16.x or 17.x.