Bug 368077 - FIND sometimes fails to find any files
Summary: FIND sometimes fails to find any files
Status: VERIFIED REMIND
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-31 23:09 UTC by Leon Arundell
Modified: 2017-09-04 22:19 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 Leon Arundell 2016-08-31 23:09:17 UTC
When I select "Find" from the menu and type part of a file name, dolphin sometimes fails to find any files.

For example, if I go to my home directory and try to find files whose name included "doc", dolphin finds almost 2,000 files. But if I click on "This Week" it finds no files even though I saved several "doc" files yesterday.

Reproducible: Sometimes

Steps to Reproduce:
1. Select "Find" from the menu
2. Type "doc"
3. Click on "This Week"

Actual Results:  
Dolphin reports "No items found" and then displays "0 folders, 0 files" at the bottom of its window

Expected Results:  
Dolphin displays a list of files "doc" that have been saved in the past week.
Comment 1 Leon Arundell 2016-08-31 23:10:01 UTC
I'm using Ubuntu 16.04.1
Comment 2 Nate Graham 2017-09-03 05:14:09 UTC
Works for me in Kubuntu 17.04 with Dolphin 16.12.3, as well as KDE Neon with Dolphin 17.08.0. Can you try again with more recent software?
Comment 3 Leon Arundell 2017-09-03 22:21:13 UTC
I just reinstalled Dolphin in Ubuntu 16.04, haveing not used it for quite some time.

Searching for "docx" a a folder with 8 docx files, Dolphin reported "0 Folders, 0 Files."

I recall that the "search" function relies on file indexing software which is not automatically installed alongside Dolphin.
Comment 4 Nate Graham 2017-09-03 23:05:04 UTC
Right, you need baloo. Try again in Kubuntu. I'm using 17.04 right now and it's a dream.
Comment 5 Leon Arundell 2017-09-04 22:16:37 UTC
This is no longer an issue for me as I have switched from Dolphin back to Nautilus.

For the benefit of others who have this problem, can you explain how to get file indexing to work with Dolphin?

Baloo does not appear in the Ubuntu 16.04 LTS Software installer.

Synaptic reports that I already have baloo-kf5 version 5.18.0-Oubuntu1.1 installed, and that the following packages are available but not installed:
baloo-dbg
baloo-dev
baloo-kf5-dbg
baloo-utils
baloo4
Comment 6 Nate Graham 2017-09-04 22:19:13 UTC
I didn't have to do anything special. It's always worked just fine for me. I'm running Kubuntu 17.04, but it also worked with with openSUSE Tumbleweed and Manjaro.

Maybe baloo is not enabled? What does `balooctl status` show? If it's not enabled, you can enable it with `balooctl enable && balooctl start`. If it's on and not working, try restarting it with `balooctl restart`