Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-11350

Coordinates skewed after Move Component into separate file

    XMLWordPrintable

Details

    Description

      Reproduce:

      1. QtC: Create a Qt Quick Hello World, make it 800x800
      2. Designer: Create a rectangle, say 200x200 at 100,100 coordinates
      3. Code: RightClic the rectangle->Refactoring->Move to Separate File

      The new file has 100,100 coordinates making it move 100,100 pixels on each instance. The main qml has not set x,y coordinates

      Expected:
      The new file to have x,y coordinates as (0,0), the parent to have (100,100) applied to the instance.

      This might be applied to anchors too.

      Attachments

        1. bug2.png
          bug2.png
          107 kB
        2. bug3.png
          bug3.png
          151 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thohartm Thomas Hartmann
            desert Ariel Molina R.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes