Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
Windows 7 64bits
Qt 5.7.0
-
1bcd068c082b3fab92637686447c2c82b4a0968c
Description
Test case:
- StackView with redRect as initial item
- Push redRect again
- Stackview is displayed empty (although depth is 2)
import QtQuick 2.7 import QtQuick.Window 2.2 import QtQuick.Controls 2.0 ApplicationWindow { id: mainWindow visible: true StackView { id: stackView anchors.fill: parent initialItem: redRect } Button { anchors.centerIn: parent text: "Push" onClicked: stackView.push(redRect) } Rectangle { id: redRect; color: "red" } }
Attachments
Issue Links
- is duplicated by
-
QTBUG-57267 StackView: pushing an item again before its exiting animation ends visually clears the stack
- Closed