Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.8.0
-
None
-
Android Samsung Galaxy Tab
Description
Create a QtQuick Control app using QtCreator. Change main.qml to this simple qml:
import QtQuick 2.5 import QtQuick.Controls 1.4 import QtLocation 5.6 ApplicationWindow { visible: true width: 640 height: 480 title: qsTr("Hello World") Map { anchors.fill: parent plugin: Plugin { name: "osm" } Button { id: button1 x: 100 y: 100 text: "Button1" onClicked: { console.log("Button1 clicked") button2.visible = true } } Button { id: button2 x: 200 y: 100 text: "Button1" visible: false onClicked: visible = false } } }
Repro steps:
Click button 1 - button 2 shows up
Click button 2 - button 2 hides
Click button 1 - doesn't work
Click button 1 - now it works
Hoping to at least get workaround since my app is now unusable. I have not being able to find workaround myself. All worked fine in Qt 5.5. Moved my app to 5.8, now unusable. The lost click problems show up all over my app since it is based on a Map ui. The above was the smallest repro I could come up with. But I'm seeing it all over the place.
Change Map to Rectangle for Flickable and it works.
Attachments
Issue Links
- duplicates
-
QTBUG-57797 Android: Qt Quick Controls 2 button autorepeat goes into infinite loop if disabled while pressed
- Closed
-
QTBUG-59098 StackView Blocking UngrabMouse
- Closed