KDE/Gnome inconsistency in associations

Francois Gouget fgouget at codeweavers.com
Fri Jan 6 13:29:24 EET 2006


Hi,

I have noticed an inconsistency in the way KDE and Gnome treat 
ampersands in associations names. Here's an example to make things 
concrete. The attached file defines the application name as:

Name=Ampersand+foo &foo

If you put it in $HOME/.local/share/applications you will get the 
following entries in 'Open with...':

  * In Gnome 'Ampersand+foo &foo'
    That is the ampersand is not interpreted and is left as is.

  * In KDE 'Ampersand+foo foo' plus a keyboard shortcut for the letter 'f'.
    That is, KDE interpreted the ampersand and thus removed it from the 
application name. To avoid that, one must double the ampersand. But then 
one gets '&&' in Gnome.

The Desktop Entry Specification says nothing on the subject. Hence the 
question:

Which of KDE or Gnome is right?


-- 
Francois Gouget
fgouget at codeweavers.com

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ampersand.desktop
Url: http://lists.freedesktop.org/archives/xdg/attachments/20060106/3a89781a/attachment.txt 


More information about the xdg mailing list