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

2D View does not process enums correctly

XMLWordPrintable

      Code

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

       

      Steps to reproduce
      Check the 2D View, Live Preview, and Properties pane after each step below:

      1. Put the code above into a *.ui.qml file
      2. Replace === with !==

       

      Expected outcomes (Live Preview/Propererties)
      Step #1 shows "Native", Step #2 shows "Not Native"

       

      Actual outcomes (2D View)
      We get the opposite of the expected outcomes

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

            thohartm Thomas Hartmann
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes