summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/jami-disable-webengine.patch
blob: 1a08fea80bb0f2bc03a9881f0ac94b6d4884c8b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Upstream-status: https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/2072

--- a/src/app/LayoutManager.qml	2025-06-18 02:28:42.298627257 +0300
+++ b/src/app/LayoutManager.qml	2025-06-18 02:34:07.528403540 +0300
@@ -17,7 +17,6 @@
 
 import QtQuick
 import QtQuick.Controls
-import QtWebEngine
 
 import net.jami.Adapters 1.1
 import net.jami.Enums 1.1
@@ -41,9 +40,6 @@ QtObject {
     // Used to store if a CallStackView component is fullscreened.
     property bool isCallFullscreen: false
 
-    // Used to store if a WebEngineView component is fullscreened.
-    property bool isWebFullscreen: false
-
     // QWK: Provide spacing for widgets that may be occluded by the system buttons.
     property QtObject qwkSystemButtonSpacing: QtObject {
         id: qwkSystemButtonSpacing
@@ -253,9 +249,6 @@ QtObject {
             isCallFullscreen = fullScreenItems
                 .filter(o => o.item.objectName === "callViewLoader")
                 .length
-            isWebFullscreen = fullScreenItems
-                .filter(o => o.item instanceof WebEngineView)
-                .length
         }
 
         // Listen for a hangup combined with a fullscreen call state and
--- a/src/app/mainview/components/CallStackView.qml	2025-06-18 02:36:58.863782993 +0300
+++ b/src/app/mainview/components/CallStackView.qml	2025-06-18 02:38:00.994456741 +0300
@@ -43,7 +43,7 @@ Item {
     Shortcut {
         sequence: "F11"
         context: Qt.ApplicationShortcut
-        enabled: CurrentConversation.hasCall && !layoutManager.isWebFullscreen
+        enabled: CurrentConversation.hasCall
         onActivated: toggleFullScreen();
     }