https://bugs.kde.org/show_bug.cgi?id=433472
Bug ID: 433472
Summary: InlineMessage does not support icon.name
Product: frameworks-kirigami
Version: Master
Platform: Other
OS: All
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Not decided
Attempting to use Kirigami.InlineMessage and assigning an icon by name fails
(and requires that it is done by icon.source instead), which is inconsistent
with how the rest of our APIs tend to do things, and leads to odd looking code,
where the InlineMessage itself needs icon.source to be set, while the actions
use icon.name.
A cursory glance suggests this is due to the custom IconPropertiesGroup, which
only has source, but a fix to introduce a more expected API might be as simple
as an alias between source and name, but also it seems unintended and thought a
bug might be useful.
For example:
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/PageRow.qml:575: Error: Error
while loading page: qrc:/qml/BrowsingPage.qml:89 Cannot assign to non-existent
property "name"
--
You are receiving this mail because:
You are watching all bug changes.