desktop items with special chars in filename don't show in gnome-panel untill relog

Bug #117058 reported by Kamil Páral
2
Affects Status Importance Assigned to Milestone
gnome-menus (Ubuntu)
Confirmed
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-menus

When you install/copy some .desktop file into /usr/share/applications, it
usually shows immediately in Applications menu. But this doesn't work when the
.desktop file has some non-standard character in filename (eg. app+.desktop,
app=.desktop, appí.desktop, appš.desktop, ...). For these .desktop files you
have to log out and log in again into gnome session to see these items in
Applications menu. I have found out this when installing this package:
http://packages.debian.org/unstable/net/linuxdcpp
and saw these symptoms (it uses "dc++.desktop" menu file).

Notice: I use Ubuntu 7.04, not Debian (forementioned is debian package), but it
doesn't matter, try simply create your own .desktop files in
/usr/share/applications. It a general problem.

Steps to reproduce:
 1. $ cd /usr/share/applications
 1. Find some .desktop file, eg. firefox.desktop
 2. $ cp firefox.desktop firefox2.desktop
 3. Now you have 2 firefox's in menu.
 4. $ rm firefox2.desktop
 5. Original state
 6. $ cp firefox.desktop firefox+.desktop
 7. Now you have only 1 firefox in menu. Where's the difference? In the "+" in
filename.
 8. Log out, log in, now you have finally 2 firefox's.

Happens:
 Everytime.

Expected result:
 Desktop files with non-standard filenames also appears immediately.

==================================
Note: This bug has been reported in Gnome Bugzilla:
http://bugzilla.gnome.org/show_bug.cgi?id=441407
but was marked as Ubuntu-specific.

Comment from Vincent Untz:
I've tested a bit, and it seems to only happen in ubuntu because it's using the
gnome-vfs backend, which is not upstream. Somebody should fix the downstream
patch. Can you file a bug in launchpad?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug

Changed in gnome-menus:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Kamil Páral (kamil.paral) wrote :

Are you sure this is a duplicate of bug #64264 ? I'm not an expert, but it seems to me it doesn't have to be necessarily the same bug...

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.