Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
QNX Neutrino RTOS 6.6
-
14dd934c3203b614e43be9fa5b17761d43092351
Description
Everything works fine with click events, but when I start using a touch instead of a mouse, everything continues to receive events (I can press any button on screen), but popups do not close.
Popups close with touches if ApplicationWindow is used as root item.
main.qml:
Item { //ApplicationWindow visible: true width: 768 height: 1024 Button { anchors.centerIn: parent onPressed: { popup.open() } Popup { id: popup closePolicy: Popup.CloseOnPressOutsideParent // doesn't cloes with tauches contentItem: Slider { orientation: Qt.Vertical } } } }
main.cpp:
QGuiApplication app(argc, argv); QQuickView view; view.setSource(QUrl(QLatin1String("qrc:/main.qml"))); view.show(); return app.exec();