favorites apps with _ can crash unity at start

Bug #645835 reported by Didier Roche-Tolomelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Gord Allott
unity (Ubuntu)
Fix Released
High
Unassigned

Bug Description

ok, having /home/didrocks/Bureau/test .desktop is transformed in:

didrocks@tidus:~$ gconftool-2 -g /desktop/unity/launcher/favorites/favorites_list
[app-csh.desktop,app-terminator-1.desktop,app-test_.desktop]
didrocks@tidus:~$ gconftool-2 -g /desktop/unity/launcher/favorites/app-test_.desktop/priority
3
didrocks@tidus:~$ gconftool-2 -g /desktop/unity/launcher/favorites/app-test_.desktop/desktop_file
/home/didrocks/Bureau/test .desktop

As you can see, I can get it from gconftool-2 without any issue. The python gconf binding is working well too.

$ mutter --replace --mutter-plugins=/usr/lib/mutter/plugins/libunity-mutter.so
** (mutter:718): DEBUG: OpenGL renderer string: GeForce Go 7900 GS/PCI/SSE2

(mutter:718): libunity-WARNING **: unity-favorites.vala:263: GConf float lookup failed: Nom de clé ou de répertoire non conforme: « /desktop/unity/launcher/favorites/app-test .desktop/priority » : «   » est un caractère non valide dans un nom de clé/répertoire
Erreur de segmentation (core dumped)

-> it seems _ has been replaced by ' '. (also think that desktop_file can have a space too as seen above)

Related branches

Changed in unity:
status: New → Triaged
Changed in unity (Ubuntu):
status: New → Triaged
Changed in unity:
importance: Undecided → High
Changed in unity (Ubuntu):
importance: Undecided → High
David Barth (dbarth)
Changed in unity:
assignee: nobody → Gord Allott (gordallott)
milestone: none → 2010-09-24
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

as request, a pretty backtrace for you gord :)

Gord Allott (gordallott)
Changed in unity:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 0.2.44-0ubuntu1

---------------
unity (0.2.44-0ubuntu1) maverick; urgency=low

  * New upstream release:
    - refine launcher tile super key overlay aesthetic (LP: #633069)
    - improve Cof logo (LP: #644686)
    - fix a crasher in the place activation (LP: #634364)
    - fixes favorite loading for didrocks (thanks!) (LP: #645835)
    - workaround translation issue for Unity trash (LP: #646653)
    - MT final adjustement for maverick (LP: #645848, #640501)
  * debian/control:
    - depend on latest unity-asset-pool
  * backport fix to respect workspace layout
  * debian/libunity0.symbols:
    - updated
 -- Didier Roche <email address hidden> Fri, 24 Sep 2010 19:57:46 +0200

Changed in unity (Ubuntu):
status: Triaged → Fix Released
Omer Akram (om26er)
Changed in unity:
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.