Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
QDS 4.1
-
None
Description
Here's the QDS version I use.
I attached the project for reproducing the issue.
There, you can also find image_fill.fig and image_fill.qtbridge.
The expected output is like this. A dog image cropped inside ellipse and a text.
Here's the output of the QDS. As you can see in the LivePreview window on the left, nothing is shown.
I think the issue is in line 8, where the color of the root rectangle(frame_1) is set as transparent.
I guess this is something we as Qt must adapt to how things work in Figma and treat Frame in this case as an opaque object.
About the sentence above, it seems to be incorrect and the issue may lie in a different place.
I just changed the color of the Frame from "Pass through" to "Normal" and exported it with Qt Bridge.
Then after I imported it to QDS, I got this result. where the launched app behaves fine.
The weird thing is, the output QML files are exactly the same with the one with "pass through" and the one with "Normal".
I attached the "before.txt" and "after.txt" respectively for the concerned QML files.
I also attached the project "mask_image_after_changing_it_to_Normal.zip." You can find the image_fill_Frame_color_as_Normal.qtbridge, image_fill_Frame_color_as_Normal.fig and Masks.qmlproject for seeing what's happening.