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

Mouse click inside an empty QML TabView or TextArea yields warnings/errors in console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P4: Low P4: Low
    • None
    • 5.5.0
    • None
    • Macbook Pro Retina early 2013
      Mac OSX 10.10.3
      clang version 3.5.0
      Qt Creator 3.4.2, Qt 5.5.0
    • macOS

      1) Create a new empty Qt Quick application, removing the default content of main.qml (except the ApplicationWindow and its properties)
      2) Add a TabView with anchors.fill: parent
      3) Run and mouse click anywhere (also the window title bar)
      Errors/warnings in console:
      QQuickListView_QML_17 QVariant(Invalid) QRect(400,220 320x0)
      QQuickListView_QML_17 QVariant(Invalid) QRect(400,220 320x0)
      QQuickListView_QML_17 QVariant(Invalid) QRect(400,220 320x0)
      QQuickListView_QML_17 QVariant(Invalid) QRect(400,220 320x0)
      QQuickListView_QML_17 QVariant(Invalid) QRect(400,220 320x0)
      QQuickListView_QML_17 QVariant(Invalid) QRect(400,220 320x0)
      QQuickListView_QML_17 QVariant(Invalid) QRect(400,220 320x0)
      QQuickListView_QML_17 QVariant(Invalid) QRect(400,220 320x0)
      QQuickListView_QML_17 QVariant(Invalid) QRect(400,220 320x0)
      QQuickListView_QML_17 QVariant(Invalid) QRect(400,220 320x0)

      Attached is a code example reproducing the error. I also added a TextArea which gives these warnings/errors when mouse clicked inside:
      FocusFrame_QMLTYPE_28 QVariant(Invalid) QRect(0,0 0x0)
      ScrollBar_QMLTYPE_29_QML_35 QVariant(Invalid) QRect(0,0 0x0)
      ScrollBar_QMLTYPE_29_QML_34 QVariant(Invalid) QRect(0,0 0x0)
      FocusFrame_QMLTYPE_28 QVariant(Invalid) QRect(0,0 0x0)
      ScrollBar_QMLTYPE_29_QML_35 QVariant(Invalid) QRect(0,0 0x0)
      ScrollBar_QMLTYPE_29_QML_34 QVariant(Invalid) QRect(0,0 0x0)

      This also happens when they are filled with content.

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

            srutledg Shawn Rutledge
            anderhaf Anders Hafreager
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes