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

Drag and drop in QML Outline moves when it should copy

    XMLWordPrintable

Details

    Description

      1. Open a simple QML file in Creator:
        import QtQuick 1.1
        
        Rectangle {
            width: 360
            height: 360
        
            Text {
                text: qsTr("Hello World")
                anchors.centerIn: parent
            }
        }
        
      2. In the Outline view for the file, start dragging the width property of the Rectangle.
      3. While dragging, press Ctrl to indicate that you want to copy the property.
        A small "+" icon appears next the mouse pointer.
      4. Drop the property onto the Text item in the Outline view.
        The width property is being moved into the Text item.

      Instead, the width property should be copied. After this, the line "width: 360" should appear twice, once in the Rectangle item and once in the Text item.

      Attachments

        Issue Links

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

          Activity

            People

              mabenell Marco Benelli
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes