Bug 394160 - Search (alt+space, or via app menu) does not display files unless they have been opened in current session
Summary: Search (alt+space, or via app menu) does not display files unless they have b...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-12 11:00 UTC by Ivar Erikson
Modified: 2023-07-07 17:09 UTC (History)
6 users (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 Ivar Erikson 2018-05-12 11:00:22 UTC
Kubuntu 18.04

Files does not appear in search

When I invoke file search via alt+space, only files (documents, pictures) that have been opened during the current session will be shown. If not the specific documents that have been opened match the search, only a single PDF file is shown (the same PDF every time).

Same goes for the search box in Application Menu, which yields nothing, not even the documents opend during this session, except the above mentioned PDF which haven't been opened.

I assume these are essentially the same issue, but if not, let me know and I'll file them separately.

$ balooctl status
Baloo File Indexer is not running
Indexed 1470 / 1470 files
Current size of index is 1,69 GiB
Comment 1 Ivar Erikson 2018-05-12 11:07:36 UTC
Deleting the index directory `/home/USER/.local/baloo` (i.e. delete directory `baloo`) seems to set things straight again (at least for now).

Upon deleting the `baloo` dir and rebooting, I get the following output:

$ balooctl status
Baloo File Indexer is running
Indexer state: Idle
Indexed 12040 / 12040 files
Current size of index is 6,92 MiB
Comment 2 Kai Uwe Broulik 2018-05-14 08:50:28 UTC
Baloo used to reliably find newly created (or downloaded) files but it stopped doing that a while ago for some reason. Re-assigning.
Comment 3 Ivar Erikson 2018-05-16 04:28:46 UTC
Problem is that in this case it wasn't just newly created files it didn't find; it didn't find anything except those files that had been opened during the active desktop session.
Comment 4 Kai Uwe Broulik 2018-05-16 06:10:41 UTC
Do you have the "Desktop Search" enabled in KRunner settings?
Comment 5 Ivar Erikson 2018-05-16 06:51:04 UTC
KRunner settings, as in Plasma Search?

If so, yes, Desktop Search is (and was) enabled. 

As mentioned, after deleting the index database, the search function (for files) is at the moment finding the files I'm looking for.
Comment 6 Stefan Brüns 2023-07-07 17:09:34 UTC
According to the last comment it is working now.