diff --git a/client/ui/qml/Controls2/PageType.qml b/client/ui/qml/Controls2/PageType.qml index edeb07fe..c2ed5197 100644 --- a/client/ui/qml/Controls2/PageType.qml +++ b/client/ui/qml/Controls2/PageType.qml @@ -10,7 +10,7 @@ Item { property StackView stackView: StackView.view onVisibleChanged: { - if (visible && !GC.isMobile()) { + if (visible) { timer.start() } } @@ -20,10 +20,11 @@ Item { id: timer interval: 200 // Milliseconds onTriggered: { + console.debug(">>> PageType timer triggered") FocusController.resetRootObject() FocusController.setFocusOnDefaultItem() } repeat: false // Stop the timer after one trigger - running: !GC.isMobile() // Start the timer + running: true // Start the timer } } diff --git a/client/ui/qml/Controls2/PopupType.qml b/client/ui/qml/Controls2/PopupType.qml index d067fc12..dfb6f273 100644 --- a/client/ui/qml/Controls2/PopupType.qml +++ b/client/ui/qml/Controls2/PopupType.qml @@ -45,15 +45,13 @@ Popup { Timer { id: timer - interval: 400 // Milliseconds + interval: 200 // Milliseconds onTriggered: { - if (!GC.isMobile()) { - FocusController.setFocusItem(closeButton) - FocusController.pushRootObject(root) - } + FocusController.pushRootObject(root) + FocusController.setFocusItem(closeButton) } repeat: false // Stop the timer after one trigger - running: !GC.isMobile() // Start the timer + running: true // Start the timer } contentItem: Item {