Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
4.8.6, 5.0.0, 5.3.1, 5.4.0 RC
-
None
-
All
Description
If we are using states to change the visiblity on parent and childitem the visibilty can not come back.
In the example video we have the red button as direct visibility inverter. The green button is our state switch button. After we changed the state one time to State1 and back to base state the visiblity inverter does not have any effect anymore.
Sorry for the bad quality in the video, but you can try it with the code from the zip file.
The bug was triggered by a problem in the QmlDesigner.
old Summary: "State view does not update correctly"
old Description
# Open tests\manual\qml\testfiles\states.qml from Creator's sources. # Switch to Design mode. # Select State1. # Select the rect element. # Uncheck and then check "Visible". # Select the image1 element. # Uncheck and then check "Visible". # Select the base state # Select the rect element. # Uncheck and then check "Visible". The state view will not show the image anymore, neither for the base state nor for State2: !states.png!
Attachments
Issue Links
- relates to
-
QTBUG-31914 When a parent is initially not visible then it causes the states to be switched incorrectly later on
- Closed