From e3090f644f677a969ba332fd95e90efe84a7927e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20O=2E=20Cordero=20P=C3=A9rez?= Date: Sun, 15 Sep 2024 03:59:42 -0400 Subject: [PATCH] Add fake fullscreen option to Windows Should enable users to work around issue #103 --- src/kirigami_ui/+windows/main.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/kirigami_ui/+windows/main.qml b/src/kirigami_ui/+windows/main.qml index 09939efe..55e04841 100644 --- a/src/kirigami_ui/+windows/main.qml +++ b/src/kirigami_ui/+windows/main.qml @@ -400,6 +400,14 @@ Kirigami.ApplicationWindow { checked: root.pageStack.currentItem.document.autoReload onTriggered: root.pageStack.currentItem.document.autoReload = checked } + Kirigami.Action { + id: fakeFullscreenSetting + text: i18nc("Main menu actions. Fake fullscreen behavior instead of requesting true fullscreen", "Fake fullscreen behavior") + icon.source: "qrc:/qt/qml/com/cuperino/qprompt/icons/view-fullscreen.svg" + checkable: true + checked: root.__fakeFullscreen + onTriggered: root.__fakeFullscreen = checked + } } // Kirigami.Action { // text: i18nc("Main menu actions", "Restore factory defaults")