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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.7.0-beta2
    • Fix Version/s: None
    • Component/s: Quick Designer
    • Labels:
    • Platform/s:
      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

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

          Activity

            People

            Assignee:
            thohartm Thomas Hartmann
            Reporter:
            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