From efba12c9f3a4329a30b0cf595210caa76f409cd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Thu, 17 Sep 2020 17:10:16 -0400 Subject: [PATCH] callstackview: avoid fullscreen if not showing the call Change-Id: Ic31cff3445f8921355fe82e9931952a7a4d8f5ef --- src/mainview/components/CallStackView.qml | 1 + src/mainview/components/IncomingCallPage.qml | 3 ++- src/mainview/components/OutgoingCallPage.qml | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mainview/components/CallStackView.qml b/src/mainview/components/CallStackView.qml index 38301eecd..e265e6058 100644 --- a/src/mainview/components/CallStackView.qml +++ b/src/mainview/components/CallStackView.qml @@ -187,6 +187,7 @@ Rectangle { property bool isFullscreen: false onNeedToShowInFullScreen: { + isFullscreen = !isFullscreen VideoCallFullScreenWindowContainerCreation.createvideoCallFullScreenWindowContainerObject() diff --git a/src/mainview/components/IncomingCallPage.qml b/src/mainview/components/IncomingCallPage.qml index 3518d7127..d70ee89e0 100644 --- a/src/mainview/components/IncomingCallPage.qml +++ b/src/mainview/components/IncomingCallPage.qml @@ -44,7 +44,8 @@ Rectangle { MouseArea { anchors.fill: parent propagateComposedEvents: false - acceptedButtons: Qt.RightButton + acceptedButtons: Qt.AllButtons + onDoubleClicked: mouse.accepted = true } ColumnLayout { diff --git a/src/mainview/components/OutgoingCallPage.qml b/src/mainview/components/OutgoingCallPage.qml index 457f8f407..59b38589a 100644 --- a/src/mainview/components/OutgoingCallPage.qml +++ b/src/mainview/components/OutgoingCallPage.qml @@ -44,7 +44,8 @@ Rectangle { MouseArea { anchors.fill: parent propagateComposedEvents: false - acceptedButtons: Qt.RightButton + acceptedButtons: Qt.AllButtons + onDoubleClicked: mouse.accepted = true } ColumnLayout { -- GitLab