Run this test case in qmlscene-qt6 and them resize the window so that the text wraps: import QtQuick import QtQuick.Controls as QQC2 import org.kde.kirigami 2.20 as Kirigami Item { width: 300 height: 200 Kirigami.InlineMessage { anchors { left: parent.left right: parent.right top: parent.top } text: "This is some text and oh my god it's soooooo long" visible: true showCloseButton: true actions: [ QQC2.Action { icon.name: "edit-bomb" text: "I am here, click me" onTriggered: { console.warn("Hello World") } } ] } }
*** Bug 470689 has been marked as a duplicate of this bug. ***
Fixed by Ivan Tkachenko with https://invent.kde.org/frameworks/kirigami/-/commit/015af8738231e08a014ab0533ed1b95d90978e0a!