After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 326261 - Path= generates menu error
Path= generates menu error
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
git master
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-09 02:56 UTC by Rod Butcher
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rod Butcher 2006-01-09 02:56:47 UTC
latest cvs head as at 8th Jan generates a menu error :-
Could not launch menu item. Details : failed to change to directory " (No such file or directory).
when .desktop entry contains Path= (commonly created by KDE).
Perhaps panel should just ignore this and run the menu item anyway.
Comment 1 Vincent Untz 2006-01-09 07:16:29 UTC
What is the path specified in the .desktop file? Does it exist?

It looks like a broken package. We should probably default to $HOME if the path does not exist, though.
Comment 2 Rod Butcher 2006-01-09 07:28:25 UTC
typical examples of kde 3.5 .desktop files follow; like you say I would expect an app to default to my home directory if no valid path is specified.

kwrite.desktop
--------------------
MimeType=text/plain
Exec=kwrite %U
X-KDE-StartupNotify=true
Icon=kwrite
Path=
DocPath=kwrite/index.html
Type=Application
Terminal=false
InitialPreference=8
X-DCOP-ServiceType=Multi
Categories=Qt;KDE;TextEditor;

ksysgeard.desktop
-------------------------
Exec=ksysguard %U
Icon=ksysguard
Type=Application
MimeType=application/x-ksysguard
DocPath=ksysguard/index.html
Terminal=false
Path=
X-KDE-StartupNotify=true
X-DCOP-ServiceType=Multi
Categories=Qt;KDE;System;

kcoloredit.desktop
-------------------------
Encoding=UTF-8
Type=Application
Exec=kcoloredit %i %m %U
Icon=kcoloredit
Path=
Terminal=false
DocPath=kcoloredit/index.html
Comment 3 Vincent Untz 2006-01-09 09:22:27 UTC
Ah. In this case, Path is empty :-) That's not really the same as non-existant directory. I'll fix it ASAP.
Comment 4 Vincent Untz 2006-01-11 21:32:26 UTC
Fixed in HEAD.