From f52d2212bb200280f4fb0182b946c9903cfc66c9 Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Fri, 23 Jan 2026 11:21:43 +0100 Subject: [PATCH] override cursor when chat text content hovered (only global cursor works on chat bubble) #LINQT-2364 --- Linphone/view/Control/Display/Chat/ChatTextContent.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Linphone/view/Control/Display/Chat/ChatTextContent.qml b/Linphone/view/Control/Display/Chat/ChatTextContent.qml index 2c3ae7855..dcc73bfdd 100644 --- a/Linphone/view/Control/Display/Chat/ChatTextContent.qml +++ b/Linphone/view/Control/Display/Chat/ChatTextContent.qml @@ -67,7 +67,11 @@ TextEdit { propagateComposedEvents: true hoverEnabled: true scrollGestureEnabled: false - cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.IBeamCursor + onContainsMouseChanged: { + if (containsMouse) UtilsCpp.setGlobalCursor(Qt.IBeamCursor) + else UtilsCpp.restoreGlobalCursor() + } + cursorShape: mainItem.hoveredLink ? Qt.PointingHandCursor : Qt.IBeamCursor acceptedButtons: Qt.LeftButton onPressed: (mouse) => { // if(!keepLastSelection) {