Search results shows desktop entries with NoDisplay set to true causing duplicated list items

Bug #1082677 reported by Aditya2204
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

When searching for software many a time multiple entries with same name and attributes i.e.symbol, description and number in front of them (not always though) are displayed.

Revision history for this message
Aditya2204 (aditya2204) wrote :
Revision history for this message
Robert Roth (evfool) wrote :

The reason for this seems to me that the app-install-data-ubuntu package (with the metainformation for the applications) contains two desktop files, one for starting epiphany, and another for opening a new tab with epiphany (with NoDisplay set to True, so it should not be displayed in the software list), but it is still displayed. This is not an exceptional case, software-center should really do something about this, the number of similar reports is getting higher and higher: see just a few: bug #1068444 for nautilus being displayed twice, bug #999204 for krita, etc.

All in all: apps with desktop files with NoDisplay set to True should not show up in the list, and I am updating the bug title with this information.

summary: - Search results shows multiple entries of same application
+ Search results shows desktop entries with NoDisplay set to tru
summary: - Search results shows desktop entries with NoDisplay set to tru
+ Search results shows desktop entries with NoDisplay set to true causing
+ duplicated list items
Changed in software-center (Ubuntu):
status: New → Triaged
Revision history for this message
Robert Roth (evfool) wrote :

Another report with banshee and rhythmbox is reported in bug #1049835.

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

<mvo> mpt: yes, I think that is valid. if we do not display NoDisplay=true we would miss out on some like bzr-gtk, deja-dup and more ~174 according to my counting
<mvo> mpt: this may actually be a good thing
<mvo> mpt: or we need to manually inspect them all
<mpt> mvo, e.g. to investigate why bzr-gtk has NoDisplay=true?
<mvo> mpt: yeah
<mvo> mpt: or selectively blacklist/whitelist the ones that have this property

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.