From 2ef3fd9d6cbdd4e71f10b79310c166c8ae4eef9e Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 17 Jan 2026 15:01:44 -0500 Subject: [PATCH] Add hack to fix crash when sending long text reactions This is some bug in Flow (that is really hard to debug, I can't get it to exit at all) but we can work around it for a minor visual impact. It seems to me allow the reaction list to become slightly larger, but that's about it. BUG: 504344 FIXED-IN: 25.12.2 (cherry picked from commit 93e932c09c2c2c48ca0bb6bedf6c9d4a9d03a313) --- src/messagecontent/ReactionComponent.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/messagecontent/ReactionComponent.qml b/src/messagecontent/ReactionComponent.qml index dab47c53a..a03ae28f6 100644 --- a/src/messagecontent/ReactionComponent.qml +++ b/src/messagecontent/ReactionComponent.qml @@ -23,9 +23,7 @@ Flow { */ required property ReactionModel reactionModel - Layout.fillWidth: true - Layout.fillHeight: true - Layout.maximumWidth: Message.maxContentWidth + // HACK: We do not set Layout properties here, see BUG 504344 for the crash it caused. spacing: Kirigami.Units.smallSpacing