Bug 451895

Summary: KXmlGui ignores Action attributes set in XML
Product: [Frameworks and Libraries] frameworks-kxmlgui Reporter: Soren Stoutner <soren>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: REPORTED ---    
Severity: normal CC: soren
Priority: NOR    
Version: 5.90.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.