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

QuickDesigner: C'n'P on navigator evaluates JS before pasting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.7.0-beta2
    • Quick Designer
    • Linux/X11

    Description

      Steps to reproduce:

      • create a simple QML file or use the attached one
      • open the file inside the Quick Designer, switch to the integrated editor to see what happens
      • select the unnamed Rectangle inside the navigator
      • trigger copy (using keyboard or context menu)
      • select the outer most (named) Rectangle
      • trigger paste (using keyboard or context menu)

      Current result:

      • not sure.. but it feels like that the x and y properties content get (wrongly) evaluated before pasting it

      Expected result:

      • paste what is copied

      Note: This seems to happen on the navigator only - when triggering only copy on the navigator and paste on the editor everything is fine..

      Attachments

        1. exmpl.qml
          0.2 kB
          Christian Stenger
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thohartm Thomas Hartmann
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes