Two results for 'gedit'

Bug #1544565 reported by Iain Lane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
appstream-glib (Ubuntu)
Invalid
Undecided
Unassigned
gnome-software (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Open gnome-software and search for gedit. There are two results.

Upstream renamed their desktop file, and we provide a copy with the old name for compatibility purposes.

One result is for gedit.desktop and the other is for gedit's appdata org.gnome.gedit.appdata.xml. The appdata references org.gnome.gedit.desktop which has NoDisplay=true - maybe we could look at that and hide the search result.

This doesn't happen when the application is uninstalled because we added X-AppStream-Ignore=true to gedit.desktop (the one which is not NoDisplay!) so that it's only presented once.

Tags: patch
Revision history for this message
Iain Lane (laney) wrote :

This makes us not add the app to the store if its desktop file (same filename as the ID) is NoDisplay. It works for gnome-software, but I'm not sure if it is sane.

tags: added: patch
Revision history for this message
Matthias Klumpp (ximion) wrote :

This will have sideeffects on things which have a metainfo file - there are several of them which should be shown in a software center, be it for uninstallation or for being extended with addons in the SC.
So you really want to not-hide stuff which has a metainfo file, or decide to ignore the issues this may cause (will definitely become a problem with more addons appearing).

Revision history for this message
Iain Lane (laney) wrote :

Are they type "desktop"? I'm checking this here to hopefully only apply this to applications.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.19.91~git20160217.8ea45b9-0ubuntu1

---------------
gnome-software (3.19.91~git20160217.8ea45b9-0ubuntu1) xenial; urgency=medium

  * New upstream release
  * debian/patches/apt-plugin.patch:
    - Optimise access to dpkg/apt information
  * debian/patches/dedup-source.patch:
    - Stop duplicate apps showing (LP: #1544565)

 -- Robert Ancell <email address hidden> Wed, 17 Feb 2016 10:38:16 -0800

Changed in gnome-software (Ubuntu):
status: New → Fix Released
Matthias Klumpp (ximion)
Changed in appstream-glib (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.