From c70426f770ed4ba5360efa7ebaddd53d0c9f9944 Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Thu, 6 Nov 2025 09:11:53 +0100 Subject: [PATCH] fix crash (showing window while it is destroyed) (fix #LINQT-2077, #LINQT-2087, #LINQT-2110) --- Linphone/view/Page/Window/AbstractWindow.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linphone/view/Page/Window/AbstractWindow.qml b/Linphone/view/Page/Window/AbstractWindow.qml index 5f24c8126..b8ddc8d2b 100644 --- a/Linphone/view/Page/Window/AbstractWindow.qml +++ b/Linphone/view/Page/Window/AbstractWindow.qml @@ -16,7 +16,7 @@ ApplicationWindow { width: Math.min(Utils.getSizeWithScreenRatio(1512), Screen.desktopAvailableWidth) height: Math.min(Utils.getSizeWithScreenRatio(982), Screen.desktopAvailableHeight) - onActiveChanged: UtilsCpp.setLastActiveWindow(this) + onActiveChanged: if (active) UtilsCpp.setLastActiveWindow(this) property bool isFullscreen: visibility == Window.FullScreen onIsFullscreenChanged: DesktopToolsCpp.screenSaverStatus = !isFullscreen