From 5170361e905e3609c6f86e9ed6fe6e190561b01e Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Thu, 8 Oct 2026 17:33:41 +0200 Subject: [PATCH] gui: fix chat block binding loop breaking rendering The Item wrapper added in 1cfa424 set height: mainTextEdit.height while the TextEdit used anchors.fill: parent, so the TextEdit height depended on the Item height and vice versa. The resulting binding loop collapsed the block layout into visual garbage. Size the TextEdit from width: parent.width and let its content height drive the Item. --- kde/gui/ChatBlockDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kde/gui/ChatBlockDelegate.qml b/kde/gui/ChatBlockDelegate.qml index ee3e297..41d0672 100644 --- a/kde/gui/ChatBlockDelegate.qml +++ b/kde/gui/ChatBlockDelegate.qml @@ -199,7 +199,7 @@ Column { TextEdit { id: mainTextEdit - anchors.fill: parent + width: parent.width text: root.blockRenderedHtml textFormat: Text.RichText selectByMouse: true