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

Binding Editor shows mangled view of non-trivial bindings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • Some future release
    • QDS 4.5.1, QDS 4.6.0
    • Binding Editor
    • None

    Description

      It looks like the Binding Editor simply splits the expression at the first dot, without understanding QML. 

      Code

      import QtQuick
      
      Text {
          id: root
          width: 100
          renderType: Text.NativeRendering
          text: renderType === Text.NativeRendering ? "Native" : "Not Native"
      }
      

       

      Outcome
      The Binding Editor treats the binding for root.text as:

      • ID: renderType === Text
      • Property: NativeRendering ? "Native" : "Not Native"

      Attachments

        Issue Links

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

          Activity

            People

              henning Henning Gründl
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes