From 2ca744c9608890f725e976ef9807fbb057ad8087 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 17 Feb 2025 00:31:54 -0600 Subject: [PATCH] Remove TapHandler for CodeMaximizeComponent This specific TapHandler proves to be a bit trigger-happy; when trying to copy text, select or de-select text, or generally do more than stare at it without touching your mouse, it is too easy to minimize the fullscreen component. This fixes the issue entirely; when tapping on the message in the timeline, it still shows a maximized message. This only applies to the maximized message. --- src/qml/CodeMaximizeComponent.qml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/qml/CodeMaximizeComponent.qml b/src/qml/CodeMaximizeComponent.qml index 0b01e2b36..6dfe6abfe 100644 --- a/src/qml/CodeMaximizeComponent.qml +++ b/src/qml/CodeMaximizeComponent.qml @@ -139,10 +139,6 @@ Components.AbstractMaximizeComponent { leftMargin: lineNumberColumn.width + lineNumberColumn.anchors.leftMargin + Kirigami.Units.smallSpacing } } - TapHandler { - acceptedButtons: Qt.LeftButton - onTapped: root.close() - } background: null }