Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-14473

The display of the Layout component differs between the 2D window and the live preview.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • QDS 4.7.1
    • QDS 4.6.1
    • 2D View
    • None
    • macOS
    • QDS Berlin - 2025 Week 7/8, QDS Berlin - 2025 Week 9/10, QDS Berlin - 2025 Week 11/12

    Description

      Summary:

      When an object placed in the RowLayout is deleted, the display in the 2D window and the live preview do not match.

       

      Details:

      When an object placed in the RowLayout is deleted, the display is automatically updated but does not render correctly. Pressing the reload button resolves the issue and updates the display to the correct state.

       

      Expected Behavior:

      The display should update correctly without requiring the user to press the reload button.

       

      Reproduction Steps:

      1. Set up Auto Layout in Figma and import it into QDS.
      2. Remove the fill parent setting from the RowLayout anchors.
      3. Delete some of the objects placed in the RowLayout via GUI operations.

       

      Note:

      This issue frequently occurs when importing using the Bridge plugin in Figma. There are two main problems:

      1. When Figma's Auto Layout is used, a Rectangle that wasn't created in Figma is added. As a result, the RowLayout has its parent and fill settings applied.
      2. In practice, since optimization is required for No 1, when removing the parent and fill settings and deleting the Rectangle, the display issue mentioned earlier occurs.

      Both of these issues result in unnecessary tasks for the user, which could give a negative impression.

      Bridge file and video attached.

       

      Attachments

        1. AutoLayout.qtbridge
          5 kB
        2. image-2025-01-08-18-31-48-990.png
          image-2025-01-08-18-31-48-990.png
          824 kB
        3. RowLayout.mp4
          2.54 MB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              thohartm Thomas Hartmann
              kiyo Kiyokazu Katagishi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes