Sometimes, seemingly useless items appear when searching in GNOME shell. In order to find out what they are, you have to have a good idea of the search provider--that is, the program providing the search result.

In this case, we see an "Untitled Document" result when searching for pav, a result provided by GNOME Documents. Clicking the search result has never actually resulted in Documents displaying the result, in my experience. Some day I'll file a bug about this, but in the mean time, let's work out which document is responsible.

The GetInitialResultSet method expects an array of strings; these are presumably the search terms. Calling the method with a single string gives us a single result:

$ busctl --user call org.gnome.Documents /org/gnome/Documents/SearchProvider org.gnome.Shell.SearchProvider2 GetInitialResultSet as 1 pav
as 1 "urn:uuid:47fa6454-d109-f6d4-a7f3-16cec03e9885"

$ tracker  info urn:uuid:47fa6454-d109-f6d4-a7f3-16cec03e9885 
Querying information for entity:'urn:uuid:47fa6454-d109-f6d4-a7f3-16cec03e9885'
  '' = '2013-06-03T16:55:38Z'
  '' = '2014-08-21T08:23:20Z'
  '' = 'application/pdf'
  '' = ''
  '' = 'urn:nepomuk:datasource:9291a450-1d49-11de-8c30-0800200c9a66'
  'tracker:added' = '2017-10-02T10:08:45Z'
  'tracker:modified' = '1330'
  'rdf:type' = ''
  'rdf:type' = ''
  'rdf:type' = ''
  'rdf:type' = ''
  'rdf:type' = ''
  'rdf:type' = ''
  'rdf:type' = ''
  'nie:byteSize' = '275838'
  'nie:dataSource' = ''
  'nie:dataSource' = 'urn:nepomuk:datasource:9291a450-1d49-11de-8c30-0800200c9a66'
  'nie:isPartOf' = 'urn:uuid:27f6d8cd-6b05-2b9e-6670-7b8396fd2f83'
  'nie:url' = 'file:///home/sam/ownCloud/_path_redacted_.pdf'
  'nfo:belongsToContainer' = 'urn:uuid:27f6d8cd-6b05-2b9e-6670-7b8396fd2f83'
  'tracker:available' = 'true'
  'maemo:relevance' = '0.0'
  'nie:contentCreated' = '2013-06-03T16:55:38Z'
  'nie:informationElementDate' = '2013-06-03T16:55:38Z'
  'nie:isStoredAs' = 'urn:uuid:47fa6454-d109-f6d4-a7f3-16cec03e9885'
  'nie:mimeType' = 'application/pdf'
  'nfo:tableOfContents' = 'Cover Table of Contents Introduction Section 1: _text_redacted_'
  'nfo:fileLastAccessed' = '2014-08-21T08:23:20Z'
  'nfo:fileLastModified' = '2014-08-21T08:23:20Z'
  'nfo:fileName' = '_filename_redacted_.pdf'
  'nfo:fileSize' = '275838'
  'nfo:pageCount' = '34'

There is no mention of "Untitled" in the metadata, but Evince displays the document's title as None, so presumably this PDF is simply missing the metadata. This seems rather common and I think Documents should display something else in this case, like at least the file name!

CategoryTechnote DebuggingGnomeSearch (last edited 2017-11-22 13:59:11 by sam)

© Sam Morris <>.
Content may be distributed and modified providing this notice is preserved.