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 789006 - SearchProvider interface always returns name "Untitled Document" and blank icon
SearchProvider interface always returns name "Untitled Document" and blank icon
Status: RESOLVED DUPLICATE of bug 791613
Product: gnome-documents
Classification: Core
Component: general
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME documents maintainer(s)
GNOME documents maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-10-15 09:43 UTC by jaha
Modified: 2018-02-16 20:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
search results from activities overview (156.27 KB, image/png)
2017-10-15 09:43 UTC, jaha
Details

Description jaha 2017-10-15 09:43:38 UTC
Created attachment 361605 [details]
search results from activities overview

Overview:
Searching from Gnome Shell activities overview shows all results from Gnome Documents with name "Untitled Document" and blank icon (see attached screenshot for example). If the same search is done however from Gnome Documents itself, the document names and preview icons are displayed correctly. The number of search results match between the two.

Clicking on any "Untitled Document" search result does open Gnome Documents with a document. When there is only one search result, it opens the expected document.

Steps to Reproduce:
Do a search from Gnome Shell activities overview for a string that should (partially) match the name of a document available in Gnome Documents.

Actual Results:
The search results from Gnome Documents all show with name "Untitled Document" and blank icon.

Expected Results:
The search results from Gnome Documents should show the actual name and preview icon of the documents.

Build Date & Hardware:
OS = Arch Linux [64-bit]
Version = 3.26.1
Build date = Tue 03 Oct 2017 20:05:04 CEST

Additional Builds and Platforms:
OS = Fedora Workstation 27 Beta [64-bit]
Version = 3.26.0
Comment 1 jaha 2017-10-15 09:50:56 UTC
Searching from the command line gives the same "Untitled Document" results.

I used this command to get search results (replace "something" with name to search for):
dbus-send --session --dest=org.gnome.Documents --print-reply /org/gnome/Documents/SearchProvider org.gnome.Shell.SearchProvider2.GetInitialResultSet array:string:"something"

And this command to get the details of a search result (replace "something" with a urn:uuid:string from above search results):
dbus-send --session --dest=org.gnome.Documents --print-reply /org/gnome/Documents/SearchProvider org.gnome.Shell.SearchProvider2.GetResultMetas array:string:"something"
Comment 2 krinkodot22 2017-11-19 06:52:11 UTC
This issue still exists in the release version of Fedora 27 + Gnome 3.26, and did not happen in Gnome 3.24. Glad to see that it's been reported already.
Comment 3 Michael Heyns 2017-12-01 06:56:53 UTC
I can confirm this issue is still present in the latest GNOME on Arch Linux.
Comment 4 krinkodot22 2018-02-16 19:50:21 UTC
The gnome-documents 3.26.2 release fixed this bug. Hooray!
Comment 5 Debarshi Ray 2018-02-16 20:01:54 UTC
Thanks for testing!

*** This bug has been marked as a duplicate of bug 791613 ***