GNOME Bugzilla – Bug 326261
Path= generates menu error
Last modified: 2015-03-24 13:00:56 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.
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.
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
Ah. In this case, Path is empty :-) That's not really the same as non-existant directory. I'll fix it ASAP.
Fixed in HEAD.