Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.1, 5.14
-
-
b6d88c73c4affec93655f97588abc7ae1d53cea0 (qt/qtdeclarative/5.13)
Description
When reusing a QML loader for loading different qml files then parts of last loaded item is visible when loading a new item which inherits from the first item. I have uploaded a small example.
Steps to reproduce:
1. Click on comp2 (Should show a blue rectangle over a red rectangle with some text stating comp2)
2. Click on comp1 (Should show a green rectangle with text stating comp1)
3. Click on comp2 again
Result: Step 3 should show the same as step 1 but instead it shows a blue rectangle over a green one with text stating comp1. In short: the properties "color" and "text" for Comp1 are not overridden by Comp2.
Can reproduce on:
- desktop 64 bit linux with X11 using the attached files
- arm 32 bit linux with wayland using similar code
This bug may be related to QTBUG-50677
Attachments
For Gerrit Dashboard: QTBUG-79435 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
278719,5 | Loader: Actually clear initial properties when changing source | 5.13 | qt/qtdeclarative | Status: MERGED | +2 | 0 |