Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
QDS 4.6.2
-
None
-
9093ff231 (qds/dev), eda279d41 (qds/4.7)
-
QDS Berlin - 2025 Week 5/6, QDS Berlin - 2025 Week 7/8
Description
Depending on default variant of a Component Set, qml code generated by importer might be invalid.
> "Invalid property name 'visible'. (M16)"
In particular, importer generates Gradient item with "visible: false" property, while visible property doesn't exist on Gradient type.
Issue appears when default variant of an artboardSet doesn't have a gradient nodeChild, but at least one other variant does. Importer attempts to deactivate the gradient in the main body of qml code by generating "visible" property, which doesn't exist on Gradient type in QML.
See attached .fig project (don't forget to activate basic gradients exports in bridge settings), generated .qtbridge or the generated QML code of components in the .zip.
In all of them, there are 2 Components inside, one of them is functioning, another one is faulty, the only difference is order of defined, exported and generated states.