[Pkg-kde-talk] .desktop files / X-KDE-* category
Christopher Martin
christopher.martin at utoronto.ca
Sun Sep 11 20:01:32 UTC 2005
On September 11, 2005 13:54, Jeremy Lainé wrote:
> I have been spending some time trying to fix kdevelop3 bugs and building
> it against KDE 3.4.2 libs, and I am running into a strange problem
> concerning the .desktop files distributed with kdevelop3.
Out of curiosity, are you planning to maintain/co-maintain it in Debian?
> When I install kdevelop3, I end up with a submenu of K / Development
> called "X-KDE-KDevelopIDE" containing the entries from the different
> .desktop files. Probing around revealed that kdevelop3's .desktop files
> all have a Categories line like this:
>
> Categories=Qt;KDE;Development;IDE;X-KDE-KDevelopIDE;
>
> I can get rid of the submenu by either removing the last component or
> changing the line to:
>
> Categories=Qt;KDE;Development;IDE;X-KDE-kDevelopIDE;
>
> Any ideas of why the capital "K" results in having a submenu? I do not
> recall seeing this strange submenu on KDE 3.3.x, and the .desktop files
> have not been changed!
I've noticed perplexing issues with .desktop files and capitalization in the
past. When I added a .desktop file to the xmms package, I found that the
filename xmms.desktop didn't work, but XMMS.desktop (or, in fact, virtually
any change from xmms.desktop) worked fine. With KDE 3.4 these weird
glitches seemed to disappear, but apparently you're still encountering
(probably) related issues with the Category field.
Playing around, I can reproduce your problem. Note that if instead of
changing the capital "K" to a "k", I change it to any other letter, capital
or not, the problem disappears. Perhaps there is a subtle parsing issue
that treats the capital letter "K" specially (this is KDE, after all), in a
particular way that leads to the strange results you're observing. Well, at
least there is a work-around.
Cheers,
Christopher Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-talk/attachments/20050911/2485f9f5/attachment.pgp
More information about the pkg-kde-talk
mailing list