Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-99231

"Could not set initial property horizontalAlignment" when trying to set resettable property

    XMLWordPrintable

Details

    • ea3d7ec08 (dev), 476adce4a (6.7), 37533c8b7 (6.6), 0a94758a8 (tqtc/lts-6.5)

    Description

      Running tst_basic with (this data row):

      /home/mitch/dev/qt-dev2-debug/qtdeclarative/tests/auto/quickcontrols2/controls/basic/tst_basic -input /home/mitch/dev/qt-dev2/qtdeclarative/tests/auto/quickcontrols2/controls/data/tst_textarea.qml TextArea::test_alignment:empty
      

      results in:

      10:47:30: Starting /home/mitch/dev/qt-dev2-debug/qtdeclarative/tests/auto/quickcontrols2/controls/basic/tst_basic -input /home/mitch/dev/qt-dev2/qtdeclarative/tests/auto/quickcontrols2/controls/data/tst_textarea.qml TextArea::test_alignment:empty...
      ********* Start testing of tst_controls::Basic *********
      Config: Using QtTest library 6.3.0, Qt 6.3.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 9.3.0), ubuntu 20.04
      PASS   : tst_controls::Basic::TextArea::initTestCase()
      QWARN  : tst_controls::Basic::TextArea::test_alignment(empty) file:///home/mitch/dev/qt-dev2/qtdeclarative/tests/auto/quickcontrols2/controls/data/tst_textarea.qml: Could not set initial property horizontalAlignment
      PASS   : tst_controls::Basic::TextArea::test_alignment(empty)
      PASS   : tst_controls::Basic::TextArea::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 64ms
      ********* Finished testing of tst_controls::Basic *********
      10:47:33: /home/mitch/dev/qt-dev2-debug/qtdeclarative/tests/auto/quickcontrols2/controls/basic/tst_basic exited with code 0
      

      This should work, since the property is resettable.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-99231
          # Subject Branch Project Status CR V

          Activity

            People

              qtqmlteam Qt Qml Team User
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes