desktop icons created by prism don't work

Bug #196861 reported by Matthew Nuzum
8
Affects Status Importance Assigned to Milestone
prism (Ubuntu)
Fix Released
High
Fabien Tassin
Hardy
Fix Released
High
Fabien Tassin

Bug Description

Binary package hint: prism

On Hardy, when you use prism to create a link to a web application, it creates an icon on the desktop for the application. However, clicking it does nothing. The reason is the path created in the icon is wrong.

On a test I did, it created this line in the .desktop file:
Exec=xulrunner-1.9 /usr/lib/prism/application.ini -webapp <email address hidden>

It should instead be:
Exec=xulrunner-1.9 /usr/share/prism/application.ini -webapp <email address hidden>

(note the /usr/share/prism)

Editing the file and changing lib to share causes the icon to start working.

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

$ apt-cache policy prism
prism:
  Installed: 0.8+svn20071115r8030-0ubuntu1
  Candidate: 0.8+svn20071115r8030-0ubuntu1
  Version table:
 *** 0.8+svn20071115r8030-0ubuntu1 0
        500 http://us.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Related branches

Revision history for this message
Beni Buess (beni-benel) wrote :

I confirm this behaviour with the same software versions.

Changed in prism:
status: New → Confirmed
Revision history for this message
Michael Chang (thenewme91) wrote :

The problem in question is introduced by debian/patches/fix_desktop_launcher.patch which contains the following line:

+ cmd += "Exec=xulrunner-1.9 /usr/lib/prism/application.ini -webapp " + id + "\n";

Attached is an updated patch, which points to /usr/share/prism/application.ini instead.

Revision history for this message
Fabien Tassin (fta) wrote :

Thank you for reporting this.
Fix committed in the bzr branch.

Changed in prism:
assignee: nobody → fta
importance: Undecided → High
milestone: none → ubuntu-8.04-beta
status: Confirmed → Fix Committed
Steve Langasek (vorlon)
Changed in prism:
milestone: ubuntu-8.04-beta → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package prism - 0.8+svn20071115r8030-0ubuntu2

---------------
prism (0.8+svn20071115r8030-0ubuntu2) hardy; urgency=low

  * Bump Standards-Version to 3.7.3
    - update debian/control
  * Bump debhelper requirement to (>= 5.0.51~) because of dh_icons
    - update debian/control
  * Fix desktop icons created by prism (LP: #196861)
    Thanks to Michael Chang <email address hidden>
    - update debian/patches/fix_desktop_launcher.patch
  * Updated desktop file categories (LP: #180879)
    Thanks to Dean Sas <email address hidden>
    - update debian/prism-google-*.desktop
  * Update update-apps.sh to handle desktop file categories
    - update debian/update-apps.sh
    - update debian/rules
  * Update prism-google-groups.desktop category too
    - update debian/prism-google-groups.desktop
  * Restore auto-save of webapps size and position broken since ScriptableIO
    has been dropped from xulrunner-1.9 (at beta 3).
    - add debian/patches/remove_scriptableio.patch
    - update debian/patches/series
  * Prevent webapps to be unpacked at each run so user data is now
    preserved (LP: #200469)
    - update debian/control
    - update debian/prism.sh

 -- Fabien Tassin <email address hidden> Sun, 16 Mar 2008 14:16:47 +0100

Changed in prism:
status: Fix Committed → Fix Released
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.