After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 677169 - gnome-shell doesn't show recent files when searching in Activity window
gnome-shell doesn't show recent files when searching in Activity window
Status: RESOLVED OBSOLETE
Product: gnome-documents
Classification: Core
Component: general
0.4.x
Other All
: Normal normal
: ---
Assigned To: GNOME documents maintainer(s)
GNOME documents maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-05-31 09:06 UTC by Robert Balent
Modified: 2014-04-28 16:21 UTC
See Also:
GNOME target: ---
GNOME version: 3.3/3.4



Description Robert Balent 2012-05-31 09:06:52 UTC
When you open an Activities window and try search some of your recent opened documents, there is not anyone displayed.

Some time ago I've read that the gnome-documents application is responsible for this functionality. But when I open gnome-documents application, there are some documents which I opened long time ago, but not recently.

Are there some prerequisites that should be met to have this functionality activated?


Operating system: 
Arch Linux x86_64

Packages versions:
gnome-shell 3.4.1-3
gnome-documents 0.4.2-1
Comment 1 Milan Bouchet-Valat 2012-06-01 19:27:10 UTC
The Documents apps is responsible for adding documents search results, so the problem is there. (Other apps are supposed to add other types of content, but they currently don't support this.)
Comment 2 Cosimo Cecchi 2012-06-01 19:34:29 UTC
Robert and Milan: Documents is responsible to add search results, but only for the types it supports, i.e. PDF/Office/Google Docs.
What kind of results are you expecting to see? For e.g. images/videos, other similar search providers still need to be written.
Comment 3 Robert Balent 2012-06-04 10:08:43 UTC
I've just tried it with clean install of Fedora 17 and it works with PDF and Office files. Problem is on my Arch Linux machine. No document appears in gnome-documents application. Is there any log file where I could track the problem?

Also it would be good to have displayed in gnome-documets text files opened in gedit.
Comment 4 Matthijs Wensveen 2012-06-06 08:26:57 UTC
This is also reported in launchpad for Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/970686?comments=all

I can confirm this for Debian sid.
Comment 5 Matthias Clasen 2012-06-12 02:00:01 UTC
See bug 670150
Comment 6 Daniel Arteaga 2012-07-06 06:58:42 UTC
I can confirm this for Ubuntu 12.04 Precise.

Any workaround available?
Comment 7 Ryan Fugger 2012-07-29 15:59:32 UTC
I am experiencing this bug in Debian testing.
Comment 8 Daniel Arteaga 2012-08-27 10:15:58 UTC
Document search worked for me briefly right after restarting the computer. Stopped working after that.
Comment 9 Ernest 2012-09-04 19:06:33 UTC
Same issue in Debian testing amd64, GNOME 3.4.2
Comment 10 Pedro Martinez-Julia 2013-03-07 21:18:53 UTC
You can try [1]. It returns the previously existing functionality to show the items from the recently-used list.

[1] https://extensions.gnome.org/extension/558/search-recently-used-files/
Comment 11 Debarshi Ray 2014-03-28 13:08:33 UTC
Are you saying that the Documents search provider is not returning any results on Arch ? Can you try a reasonably recent version of GNOME? Say 3.8 or later.
Comment 12 Debarshi Ray 2014-03-28 13:30:36 UTC
Downgrading from major to normal because I doubt that the search provider is broken in recent versions.
Comment 13 Debarshi Ray 2014-04-25 13:40:04 UTC
Closing as OBSOLETE.

Have not heard back from the reporters in a while and as far as I can make out the bug has been fixed in recent versions.

Please feel free to reopen if you have reason to believe otherwise.
Comment 14 Ryan Fugger 2014-04-25 17:33:43 UTC
I'm running Gnome 3.8.4 on Ubuntu, and this bug is still present.  I don't get any documents when I search in the Activities screen.
Comment 15 Debarshi Ray 2014-04-28 09:58:49 UTC
Given that I can not reproduce this on Fedora 19, which has GNOME 3.8.x, lets try to narrow down the differences in our setups. I have got the following versions:
 - sqlite-3.8.3-1.fc19.x86_64
 - tracker-0.16.2-3.fc19.x86_64
 - gnome-documents-3.8.5-1.fc19.x86_64

The tracker package in Fedora 19 has the fix for bug 710413

What do you have?
Comment 16 Ryan Fugger 2014-04-28 15:53:10 UTC
I have:

libsqlite3-0:amd64/saucy 3.7.17-1ubuntu1
tracker:amd64/saucy 0.16.2-1ubuntu1
gnome-documents:amd64/saucy 3.8.3.1-1

Also, I just did some more testing, and it turns out I can get a few file/directory results to come up, but only the ones directly in my home directory -- nothing nested beyond that.  I can also get "gnome-documents-gettings-started".  Is this a configuration issue?
Comment 17 Debarshi Ray 2014-04-28 16:02:58 UTC
Does it help if you add the patch for bug 710413 to your tracker package?
Comment 18 Ryan Fugger 2014-04-28 16:21:16 UTC
No, but setting org.freedesktop.Tracker.Miner.Files.index-recursive-directories to ['$HOME'] and then restarting the session did the trick.  I didn't know that the default configuration was to not index $HOME recursively.  I don't use any of the default directories that are recursively indexed, so I wasn't seeing any results.