Bug 1690935

Summary: Doesn't show any documents when started through search provider
Product: Red Hat Enterprise Linux 7 Reporter: Debarshi Ray <debarshir>
Component: gnome-documentsAssignee: Debarshi Ray <debarshir>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.7CC: mboisver, mkrajnak
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-documents-3.28.2-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 12:38:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Debarshi Ray 2019-03-20 13:44:35 UTC
Description of problem:

gnome-documents doesn't display documents when started through the search provider.


Version-Release number of selected component (if applicable):

gnome-documents-3.28.2-1.el7


How reproducible:

Always


Steps to Reproduce:

Ensure that a fresh application process is started through the search provider.
1. Type something in gnome-shell's search entry. This will spawn gnome-documents' search provider.
2. Launch gnome-documents from the gnome-shell UI.

Note that the gnome-documents process stays around for a few seconds after the main window is closed. Kill the process if necessary before following the above steps.


Actual results:

Progress wheel spins indefinitely and following WARNING is logged:
(org.gnome.Documents:5687): Gjs-WARNING **: 14:32:30.120: JS ERROR: GLib.Error g-invoke-error-quark: Could not locate gd_filename_strip_extension: (null)


Expected results:

Spinner should eventually stop and documents should be displayed.

Comment 2 Debarshi Ray 2019-03-20 13:55:52 UTC
Here's the corresponding Fedora 29 bug that got fixed:
https://bugzilla.redhat.com/show_bug.cgi?id=1654178

Comment 3 Debarshi Ray 2019-03-20 14:44:51 UTC
Here's a scratch build:
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=20675274

Comment 4 Debarshi Ray 2019-03-21 19:01:14 UTC
Built gnome-documents-3.28.2-2.el7:
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=20691193

Comment 6 Debarshi Ray 2019-03-21 19:05:14 UTC
Oops, need to build against the rhel-7.7-gnome tag:
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=20691275

Comment 7 Debarshi Ray 2019-04-10 09:22:46 UTC
*** Bug 1610873 has been marked as a duplicate of this bug. ***

Comment 8 Martin Krajnak 2019-04-10 11:56:58 UTC
gnome-documents-3.28.2-2.el7.x86_64
gnome-documents-libs-3.28.2-2.el7.x86_64

Comment 10 errata-xmlrpc 2019-08-06 12:38:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2044