Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.3, 6.6.3, 6.7.0
-
-
468cb035e (dev), bab177366 (6.7), 4019ec732 (tqtc/lts-6.5)
Description
App crashes on quit if the Quick Platform menu is open
Sample code:
import QtQuick import QtQuick.Window import Qt.labs.platform as Platform Window { visible: true Platform.Menu { id: menu Platform.MenuItem { text: 'Some action' } } TapHandler { acceptedButtons: Qt.RightButton onTapped: { exitAppTimer.start() menu.open() } } Timer { id: exitAppTimer interval: 5000 onTriggered: Qt.quit() } }
Steps to reproduce:
1. Click right mouse button, so menu is open
2. Quit the app (e.g. Cmd + Q on macOS), or just wait for 5 secs