From 3c4465a680dc1e7c4128beb0946bb25fd56a63da Mon Sep 17 00:00:00 2001 From: consti10 Date: Tue, 20 Feb 2024 00:42:49 +0100 Subject: [PATCH 1/4] android fix - sidebar and advanced menu back / open button conflict --- qml/ui/HUDOverlayGrid.qml | 4 ++++ .../openhd_settings/ChooseResolutionDialoque.qml | 8 +------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/qml/ui/HUDOverlayGrid.qml b/qml/ui/HUDOverlayGrid.qml index 0146b033e..77be32dd9 100644 --- a/qml/ui/HUDOverlayGrid.qml +++ b/qml/ui/HUDOverlayGrid.qml @@ -247,6 +247,10 @@ Item { anchors.leftMargin: 8 anchors.top: parent.top anchors.topMargin: 0 + // If the sidebar is activated, do not show the (button/image) that opens the advanced menu + // since on devices with a funky ratio (e.g. extra wide, like most modern android phones) + // the back button of the sidebar and this button conflict + visible: !sidebar.m_extra_is_visible MouseArea { id: settingsButtonMouseArea diff --git a/qml/ui/configpopup/openhd_settings/ChooseResolutionDialoque.qml b/qml/ui/configpopup/openhd_settings/ChooseResolutionDialoque.qml index 5b23704fb..a23bbbe5c 100644 --- a/qml/ui/configpopup/openhd_settings/ChooseResolutionDialoque.qml +++ b/qml/ui/configpopup/openhd_settings/ChooseResolutionDialoque.qml @@ -27,16 +27,10 @@ Card { property bool argh_is_changing_model:false; ListModel{ id: resolutions_model - //ListElement {title: "0x0@0 (AUTO)"; value: "0x0@0"} - //ListElement {title: "480p@30fps (4:3)"; value: "640x480@30"} + // NOTE: elements are overridden when we know the camera ListElement {title: "480p@60fps (4:3)"; value: "640x480@60"} - //ListElement {title: "480p@60fps (16:9)"; value: "848x480@60"} - //ListElement {title: "720p@49fps (16:9)"; value: "1280x720@49"} - //ListElement {title: "720p@60fps (4:3)"; value: "960x720@60"} ListElement {title: "720p@60fps (16:9)"; value: "1280x720@60"} ListElement {title: "1080p@30fps (16:9)"; value: "1920x1080@30"} - //ListElement {title: "1080p@30fps (4:3)"; value: "1440x1080@30"} - //ListElement {title: "1080p@49fps (4:3)"; value: "1440x1080@49"} } function close(){ From 2b496874b8c24f0d3f95d0bedb3ff3e050947785 Mon Sep 17 00:00:00 2001 From: consti10 Date: Tue, 20 Feb 2024 00:55:24 +0100 Subject: [PATCH 2/4] android - we can already increase the version code --- android/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 92fb361ba..12bed522d 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -1,5 +1,5 @@ - +