Bug 395016 - Dolphin is unable to find some files
Summary: Dolphin is unable to find some files
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-03 23:19 UTC by Yan
Modified: 2019-06-12 14:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screencast (336.36 KB, video/webm)
2018-06-03 23:19 UTC, Yan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yan 2018-06-03 23:19:45 UTC
Created attachment 113057 [details]
screencast

Dolphin fails to find some files even after baloo indexing is done!

And there is no fallback to disable baloo engine and seach every subfolder
Comment 1 fire f. 2018-06-11 19:36:01 UTC
that is why I suggested to dump current FIND stuff for good and replace it with KFIND.

see:  https://bugs.kde.org/show_bug.cgi?id=395255
Comment 2 Yan 2018-11-11 10:00:26 UTC
Using arch with latest versions, expirience the same. Would do you think if I introduce a patch that will create a tick in dolphin settings that disables using baloo index and uses directory traversing?

Baloo bug: https://bugs.kde.org/show_bug.cgi?id=400932
Comment 3 Michael D 2019-06-07 12:08:18 UTC
I would very much welcome an option to use FIND as the search backend over baloo.
Comment 4 Nate Graham 2019-06-07 15:10:43 UTC
Some ideas:
- Can you run `balooshow [path to file]`? Is that file in the index? If it is, does `baloosearch [filename]` find it?
- Is the file located on an NTFS disk? Those don't get indexed.
- Is the file inside a folder in the excluded folders list?
Comment 5 Michael D 2019-06-07 15:16:58 UTC
- balooshow shows the file in the index.
- EXT4 partition
- not inside excluded folder list

I often don't get any search results Dolphin. I literally just now had to disable and reenable baloo to get results again in Dolphin. (I've tried restarting dolphin first which does nothing.)
Comment 6 Nate Graham 2019-06-10 22:27:25 UTC
Very strange. :/ Sounds like Baloo is doing its part, so maybe Dolphin is to blame...
Comment 7 Michael D 2019-06-11 05:53:24 UTC
If Dolphin is to blame why does search work after disbaling and reenabling baloo? Strange indeed!
Comment 8 Nate Graham 2019-06-11 13:02:22 UTC
Oh, that was an important piece of information! :) Disabling and re-enabling Baloo deletes and recreates the index. So it seems like the old index had problems, and re-indexing fixed them. This is not entirely unexpected since there have been a lot of fixes and improvements to indexing recently.
Comment 9 Michael D 2019-06-12 14:04:47 UTC
Well, I've had to rebuild the index in a single day without having updated my system, so the database seems to somehow corrupt on its own.