Return-Path: Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by arago-project.org (Postfix) with ESMTPS id 15EB552A2E for ; Mon, 12 Jun 2017 23:04:41 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v5CN4eh0027013 for ; Mon, 12 Jun 2017 18:04:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1497308680; bh=QjXYTF9QmEj7lexDWTUBY7+jt/8M905gtIcT+VaItbI=; h=From:To:Subject:Date:In-Reply-To:References; b=xbBbBecSSbdhAinE/JLM1ZZDDoDWqxsA8eA0vtit4NSqhAZX8CiWcLb6rqfucBOHm tr9iFnRWHeeNQ1qeSNVhBrwpH76mLuibsR/CnKDGbKlEBbNZX8n5OfyruePon1G/fs Kq2GSsOq07EO3AXOp40g+N6pbrl1OS5+nkNG+TL4= Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5CN4eb5008104 for ; Mon, 12 Jun 2017 18:04:40 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Mon, 12 Jun 2017 18:04:40 -0500 Received: from uda0850410.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5CN4d3j023863 for ; Mon, 12 Jun 2017 18:04:40 -0500 From: Eric Ruei To: Date: Mon, 12 Jun 2017 19:04:35 -0400 Message-ID: <1497308675-64220-3-git-send-email-e-ruei1@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497308675-64220-1-git-send-email-e-ruei1@ti.com> References: <1497308675-64220-1-git-send-email-e-ruei1@ti.com> MIME-Version: 1.0 Subject: [morty/master][PATCH v4 3/3] qtwebbrowser: disable Fullscreen mode X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 23:04:41 -0000 Content-Type: text/plain We need to disable full-screen mode because there is no way to exit when the browser is launched from matrix-gui Signed-off-by: Eric Ruei --- ...0001-qtwebbrowser-disable-FullScreen-mode.patch | 32 ++++++++++++++++++++++ .../recipes-qt/examples/qtwebbrowser_1.0.bbappend | 7 +++++ 2 files changed, 39 insertions(+) create mode 100755 meta-arago-distro/recipes-qt/examples/qtwebbrowser/0001-qtwebbrowser-disable-FullScreen-mode.patch create mode 100755 meta-arago-distro/recipes-qt/examples/qtwebbrowser_1.0.bbappend diff --git a/meta-arago-distro/recipes-qt/examples/qtwebbrowser/0001-qtwebbrowser-disable-FullScreen-mode.patch b/meta-arago-distro/recipes-qt/examples/qtwebbrowser/0001-qtwebbrowser-disable-FullScreen-mode.patch new file mode 100755 index 0000000..fcf768b --- /dev/null +++ b/meta-arago-distro/recipes-qt/examples/qtwebbrowser/0001-qtwebbrowser-disable-FullScreen-mode.patch @@ -0,0 +1,32 @@ +From 720056bbce57184c1f352abb160942dbff2c1cd0 Mon Sep 17 00:00:00 2001 +From: Eric Ruei +Date: Tue, 6 Jun 2017 14:40:08 -0400 +Subject: [PATCH] qtwebbrowser: disable FullScreen mode + +We need to disable full-screen mode because there is no way to exit +when the browser is launched from matrix-gui + +Upstream-Status: Inappropriate +It is a TI-specific workaround per matrix-gui operation + +Signed-off-by: Eric Ruei +--- + src/main.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/main.cpp b/src/main.cpp +index 2181f15..5f146b6 100644 +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -101,7 +101,7 @@ int main(int argc, char **argv) + if (view.size().isEmpty()) + view.setGeometry(0, 0, 800, 600); + #else +- view.showFullScreen(); ++ view.show(); + #endif + + app.exec(); +-- +1.9.1 + diff --git a/meta-arago-distro/recipes-qt/examples/qtwebbrowser_1.0.bbappend b/meta-arago-distro/recipes-qt/examples/qtwebbrowser_1.0.bbappend new file mode 100755 index 0000000..3b7e80f --- /dev/null +++ b/meta-arago-distro/recipes-qt/examples/qtwebbrowser_1.0.bbappend @@ -0,0 +1,7 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += " \ + file://0001-qtwebbrowser-disable-FullScreen-mode.patch \ +" + +PR_append = ".arago0" -- 1.9.1