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

Allowed to name property with a name that already exists -> overwrites the existing property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • QDS 3.7
    • QDS 3.7
    • All Other Issues
    • None
    • QDS Berlin - 2022 Week 37/38

    Description

      Steps to reproduce:

      • Create/open a project
      • Add rectangle from Components to 2D view
      • Add new property for rectangle from Properties -> User added properties -> +
      • select type string and give a name width
      • -> does not warn about property already existing, in code editor width property gets value ""
          Rectangle {
              id: rectangle1
              x: 566
              y: 334
              width: ""
              height: 200
              color: "#ffffff"
      • Change the original width property value to 300 in Properties -> Geometry - 2D -> Size W
      • Click in 2D view
      • Select rectangle1 again in 2D or Navigator
      • -> new added property is gone from user added properties

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            tanja_remes Tanja Remes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes