Apps scope crashes due to malformed AppID in .desktop file

Bug #1530841 reported by Daniel d'Andrada
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Pat McGowan
unity-scope-click (Ubuntu)
Fix Released
Critical
dobey

Bug Description

Steps to reproduce the issue:

1 - Copy football.desktop (see attachment) to /home/phablet/.local/share/applications
2 - Copy football-ball.png [1] to /home/phablet/animatedDemos
3 - Pull down the Apps scope in unity8-dash to refresh it

Expected outcome:
I should see a football icon the Apps scope. Or, if there's something wrong in that desktop file, I should at least see the same list of applications as before.

Actual outcome:
Nothing is shown at all. The apps scope remains empty.

Comments:
I was trying to have an icon in the apps scope point to a test application of mine.
Removing that desktop file from the applications dir makes the apps scope work again

[1] - http://bazaar.launchpad.net/~dandrader/+junk/animatedDemos/download/head:/footballball.png-20140319191707-ez6oj9qlrwtvziw5-7/football-ball.png

Related branches

Revision history for this message
Daniel d'Andrada (dandrader) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-scope-click (Ubuntu):
status: New → Confirmed
dobey (dobey)
Changed in unity-scope-click (Ubuntu):
importance: Undecided → Critical
assignee: nobody → Rodney Dawes (dobey)
status: Confirmed → In Progress
Changed in canonical-devices-system-image:
assignee: nobody → Pat McGowan (pat-mcgowan)
importance: Undecided → Critical
milestone: none → ww02-2016
status: New → Confirmed
dobey (dobey)
summary: - Apps scope stops working due to a simple desktop file
+ Apps scope crashes due to malformed AppID in .desktop file
Revision history for this message
dobey (dobey) wrote :

A quick workaround for this before the fix lands, is to just remove the "X-Ubuntu-Application-ID" field from the .desktop file.

Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-click - 0.1.1+16.04.20160106-0ubuntu1

---------------
unity-scope-click (0.1.1+16.04.20160106-0ubuntu1) xenial; urgency=medium

  [ Rodney Dawes ]
  * Add the fallback attribute to the result components. (LP: #1520631)
  * Handle App-ID fields that aren't package_app_version as "unknown."
    (LP: #1530841)

 -- <email address hidden> (Alejandro J. Cura) Wed, 06 Jan 2016 18:11:18 +0000

Changed in unity-scope-click (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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