Summary: | dev-util/kdevelop ships invalid desktop file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John Frazier <jwf> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | kdevelop.desktop |
Description
John Frazier
2006-03-07 15:26:27 UTC
Are you sure this is a gentoo bug? Have you asked some xfce dev about it? (.. just a quick note, I stumbled across this bug report looking for something else *g) I'm inclined to think this is more a kdevelop problem than XFCE problem. /usr/share/applications/kde isn't a exactly 'standard' location for storing .desktop files. I also find it odd that removing the category X-KDE-KdevelopIDE prevents it from showing up in xfce menu. Adding kde folks for input. (In reply to comment #2) > I'm inclined to think this is more a kdevelop problem than XFCE problem. > /usr/share/applications/kde isn't a exactly 'standard' location for storing > .desktop files. I also find it odd that removing the category X-KDE-KdevelopIDE > prevents it from showing up in xfce menu. > > Adding kde folks for input. > Xfce follows this standard, http://standards.freedesktop.org/menu-spec/latest/apc.html#adding-items It says there, "Install desktop entries to datadir/applications/ for each menu item. Please namespace the filename, as in "vendor-foo.desktop", or use a subdirectory of datadir/applications/ so you have "vendor/foo.desktop." Please be sure all desktop entries are valid (see the desktop-file-utils package for a validation utility)." So if kde can be considered as vendor application with valid .desktop entry should show in Xfce menu too. Another thing is.. Is it a valid .desktop file, according to standard? Documentation says to validate with desktop-file-utils, so I suggest REPORTER or any of kind people in KDE herd does exactly that for us. (In reply to comment #0) > in /usr/share/applications/kde/kdevelop.desktop Can you please attach this .desktop file to this bug. Thanks, drac > Categories=Qt;KDE;Development;IDE;X-KDE-KdevelopIDE; > to > Categories=Qt;KDE;Development;IDE; According to http://standards.freedesktop.org/menu-spec/latest/apa.html X-KDE-KdevelopIDE isn't a valid Category which makes this .desktop file invalid. And since removing that invalid Category makes it show up in Xfce it's a problem in KDE end for breaking this standard. > According to http://standards.freedesktop.org/menu-spec/latest/apa.html
It says too..
"By including one of these categories in an application's desktop entry file the application will be ensured that it will show up in a section of the application menu dedicated to this category."
And it indeed has at least one of these categories, Development there. Tricky, tricky.
Not a XFCE bug Copied kdevelop.desktop to /usr/share/applications/kde , and opened xfce4-appfinder. It finds it, under category Development as f.d.o spec expects it to. It looks like xfdesktop's menu doesn't see this Category, but xfce4-appfinder does. Looks like XFCE bug afterall? Created attachment 105909 [details]
kdevelop.desktop
For testing pursose.
unique applications # desktop-file-validate kdevelop.desktop kdevelop.desktop: warning: file contains key "DocPath", this key is currently reserved for use within KDE, and should in the future KDE releases be prefixed by "X-" kdevelop.desktop: error: Categories values must be one of "Core", "Development", "Building", "Debugger", "IDE", "GUIDesigner", "Profiling", "RevisionControl", "Translation", "Office", "Calendar", "ContactManagement", "Database", "Dictionary", "Chart", "Email", "Finance", "FlowChart", "PDA", "ProjectManagement", "Presentation", "Spreadsheet", "WordProcessor", "Graphics", "2DGraphics", "VectorGraphics", "RasterGraphics", "3DGraphics", "Scanning", "OCR", "Photography", "Viewer", "Settings", "DesktopSettings", "HardwareSettings", "PackageManager", "Network", "Dialup", "InstantMessaging", "IRCClient", "FileTransfer", "HamRadio", "News", "P2P", "RemoteAccess", "Telephony", "WebBrowser", "WebDevelopment", "AudioVideo", "Audio", "Midi", "Mixer", "Sequencer", "Tuner", "Video", "TV", "AudioVideoEditing", "Player", "Recorder", "DiscBurning", "Game", "ActionGame", "AdventureGame", "ArcadeGame", "BoardGame", "BlocksGame", "CardGame", "KidsGame", "LogicGame", "RolePlaying", "Simulation", "SportsGame", "StrategyGame", "Education", "Art", "Construction", "Music", "Languages", "Science", "Astronomy", "Biology", "Chemistry", "Geology", "Math", "MedicalSoftware", "Physics", "Teaching", "Amusement", "Applet", "Archiving", "Electronics", "Emulator", "Engineering", "FileManager", "Shell", "ScreenSaver", "TeminalEmulator", "TrayIcon", "System", "Filesystem", "Monitor", "Security", "Utility", "Accessibility", "Calculator", "Clock", "TextEditor", "KDE", "GNOME", "GTK", "Qt", "Motif", "Java", "ConsoleOnly" (found "X-KDE-KDevelopIDE") Please report this to KDevelop upstream; if they are willing to fix this, reopen this bug, set the URL according, and I ĺl see to backport the fix. |