Bug 451895 - KXmlGui ignores Action attributes set in XML
Summary: KXmlGui ignores Action attributes set in XML
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.90.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
Depends on:
Reported: 2022-03-25 17:37 UTC by Soren Stoutner
Modified: 2023-06-09 21:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Soren Stoutner 2022-03-25 17:37:16 UTC
KXmlGui ignores Action attributes enumerated at https://invent.kde.org/frameworks/kxmlgui/-/blob/master/src/kxmlgui.xsd beyond "name".  For example, setting "text", "icon", or "group" in the ui.rc file are ignored.

Creating the Action and setting the "name" in the XML file and then setting the "text", "icon", or "group" attributes programaticaly in C++ works as expected.
Comment 1 Soren Stoutner 2022-03-29 20:53:30 UTC
As a followup piece of information, setting attributes like "icon" work correctly for Menus.  So, this appears to just be a problem with Actions.