Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.3.0
-
None
-
Windows & Mac OS
Description
If you run the attached QML scene, an orange rectangle is displayed, which is wrong. If you comment out any of the 5 aliases of the contained image item, an orange triangle is displayed, which is correct.
This means, simply defining property aliases (not setting them) changes the way the scene is evaluated and breaks it. We fear that this is a general problem, which may cause one unsuspicious change like defining a property alias break code in another part of the program. These bugs would be very hard to find.
Unfortunately, we could not reduce the example any further. It stems from our initial implementation for supporting colored SVGs on Retina displays. In the meantime, we have found a better solution, but we are afraid that a similar error on another component might bite us in the future.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-40849 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
104683,8 | Move SourceProxy to C++ and introduce "private" module. | dev | qt/qtgraphicaleffects | Status: MERGED | +2 | 0 |