KDE and XDG menu specs

Franklin Weng franklin at goodhorse.idv.tw
Thu May 12 02:23:27 CEST 2011


Hi list,

I'm now studying XDG menu specs and want to create our own menu
structure.  I followed XDG menu specs and created one.

Now I met some problems.  I found that in my submenu layout, the menu
attributes like "show_empty", "inline" didn't work.  It looks like all
the attributed were ignored.

I tried this on Kubuntu (with KDE 4.6.2) and Mageia 1 beta 2 (with KDE 4.6.2).

Kevin suggested me to ask in this plasma-devel mailing list, since the
XDG menu implementation might be done in launchers and their
libraries.  Could anyone please help me with this?  How could I dig in
to find out why the menu attributes are ignored?


Thanks,
Franklin

---------- Forwarded message ----------
From: Kevin Krammer <kevin.krammer at gmx.at>
Date: 2011/5/11
Subject: [kde] Re: KDE and XDG menu specs
To: kde at mail.kde.org


On Wednesday, 2011-05-11, Frank Weng (a.k.a. Franklin) wrote:
> Hi list,
>
> I'm now studying XDG menu specs and want to create our own menu structure.
> I followed XDG menu specs and created one.
>
> Now I met some problems.  I found that in my submenu layout, the menu
> attributes like "show_empty", "inline" didn't work.  It looks like all the
> attributed were ignored.
>
> I tried this on Kubuntu (with KDE 4.6.2) and Mageia 1 beta 2 (with KDE
> 4.6.2).
>
> I googled some but wasn't sure if this part is handled by KDE or system.  I
> mean, who is in charge of parsing the menu files and showing menu trees?

Implementations of launchers, or their libraries. In case of KDE probably some
library in kdelibs but maybe also some higher level component in kdebase.

> http://efod.se/blog/archive/2006/01/07/the-xdg-menu-standard-parsers-in-kde
> - and-gnome
>
> This link shows that it seems to be KDE/Gnome's responsibility to parse and
> show menus.  If so, my question is that, does KDE fully follow the XDG menu
> specs?  How could I dig in to find out why the menu attributes are ignored?

The general idea is that the spec is fully supported, though new additions or
changes might take a while to become implemented.
I suggest to ask on the plasma-devel list, as it is the main discussion list
for workspace related topics (such as the launcher).

Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20110512/5eb48d3f/attachment.sig 


More information about the Plasma-devel mailing list