-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
QDS 3.5
-
f70059da7f (qt-creator/tqtc-plugin-qtquickdesigner/qds/dev)
-
QDS Berlin - 2022 Week 41/42, QDS Berlin - 2022 Week 43/44, QDS Berlin - 2022 Week 45/46, QDS Berlin - 2022 Week 47/48
Steps to reproduce
- From Qt Design Studio's Example page, download and open the "Figma Variants" example
- Without changing anything, re-import FigmaVariants.qtbridge (found at C:\Users\<USERNAME>\Documents\QtDesignStudio\FigmaVariants\FigmaVariants.qtbridge on Windows)
Outcome
The import log contains the following warnings
Reading metadata archive C:/Users/dev/Documents/QtDesignStudio/FigmaVariants/FigmaVariants.qtbridge Conflicting component name State_active is replaced with State_active_1. Update the respective QML id to avoid this warning. Conflicting component name State_warning is replaced with State_warning_1. Update the respective QML id to avoid this warning. Conflicting component name State_active is replaced with State_active_2. Update the respective QML id to avoid this warning. Merging QML Cannot locate the node in the imported QML file C:/Users/dev/Documents/QtDesignStudio/FigmaVariants/FigmaVariants/content/FigmaVariants/ViewPanel.ui.qml Cannot locate the node in the imported QML file C:/Users/dev/Documents/QtDesignStudio/FigmaVariants/FigmaVariants/content/FigmaVariants/ViewPanel.ui.qml Cannot locate the node in the imported QML file C:/Users/dev/Documents/QtDesignStudio/FigmaVariants/FigmaVariants/content/FigmaVariants/ViewPanel.ui.qml Cannot locate the node in the imported QML file C:/Users/dev/Documents/QtDesignStudio/FigmaVariants/FigmaVariants/content/FigmaVariants/ViewPanel.ui.qml Cannot locate the node in the imported QML file C:/Users/dev/Documents/QtDesignStudio/FigmaVariants/FigmaVariants/content/FigmaVariants/ViewPanel.ui.qml Cannot locate the node in the imported QML file C:/Users/dev/Documents/QtDesignStudio/FigmaVariants/FigmaVariants/content/FigmaVariants/ViewPanel.ui.qml Cannot locate the node in the imported QML file C:/Users/dev/Documents/QtDesignStudio/FigmaVariants/FigmaVariants/content/FigmaVariants/ViewPanel.ui.qml Merging dynamic property (binding): pushButton buttonLabelText ...
Furthermore, ViewPanel.ui.qml now contains duplicated states:
states: [ State { name: "state_state_active" }, State { name: "state_state_normal" extend: "state_state_active" PropertyChanges { target: panelBottomBar border.color: "#767676" } PropertyChanges { target: panelBackground border.color: "#767676" } PropertyChanges { target: panelTopBar border.color: "#767676" } }, State { name: "state_state_active" }, State { name: "state_state_normal" extend: "state_state_active" PropertyChanges { target: panelBackground border.color: "#767676" } PropertyChanges { target: panelTopBar border.color: "#767676" } PropertyChanges { target: panelBottomBar border.color: "#767676" } } ]