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

Duplicate reorders properties and adds unneeded x/y properties

    XMLWordPrintable

Details

    • 873805796 (qds/dev)
    • QDS Berlin - 2023 Week 49/50, QDS Berlin - 2023 Week 51/52

    Description

      When duplicating an object, all the properties in the duplicated copy of the object will have their properties reordered. This interferes with whatever user logic the original object had its properties ordered.

      The order seems to be consistent for the duplicated object, but it also does not seem to follow any logical ordering such as the documentation. 

       

      In addition, the duplicated object will have a slight offset added by changing the x/y property.

      If there is no x/y property already defined it will add them, however this is unnecessary for objects that define their horizontal and vertical orientation using properties like anchors.horizontalOffset and anchors.topMargin.

      When you grab and move objects that use properties like anchors.horizontalOffset and anchors.topMargin, those property values are changed so there is no reason for duplicated objects to add x/y for those objects

       

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            kevin.zhang Kevin Zhang
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes