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

HorizontalHeaderView with resizableColums true eats input when visible (Quick 3D DebugView)

XMLWordPrintable

    • 1430ed07e (dev), 19d3c41c4 (6.5), 345189c46 (dev), fd0a3c1e7 (6.6), 1866c62db (dev), 176465784 (6.6), b18f3659a (6.5)

      DebugView is an Item in Qt Quick 3D applications can add to their scenes.
      Some of the tabs contain a TableView (there is 3 of them).
      These have HorizontalHeaderViews.
      See e.g. https://code.qt.io/cgit/qt/qtquick3d.git/tree/src/helpers/DebugView.qml?h=6.5#n167

      Now, whenever these leave resizableColumns set to the default true, input gets "eaten", meaning one cannot click on any other controls or MouseAreas in the scene as long as the tab (with the headerview and tableview) is visible. Switching to another tab that does not have these restores input to function as expected.

      For now, a patch like this will be pushed to dev/6.5:

      diff --git a/src/helpers/DebugView.qml b/src/helpers/DebugView.qml
      index 7903f066..cd1cd37f 100644
      --- a/src/helpers/DebugView.qml
      +++ b/src/helpers/DebugView.qml
      @@ -166,6 +166,7 @@ Pane {
                               spacing: 0
                               HorizontalHeaderView {
                                   syncView: passesTableView
      +                            resizableColumns: false // otherwise QTBUG-111013 happens
                                   boundsBehavior: Flickable.StopAtBounds
                                   flickableDirection: Flickable.VerticalFlick
                               }
      @@ -231,6 +232,7 @@ Pane {
                               spacing: 0
                               HorizontalHeaderView {
                                   syncView: texturesTableView
      +                            resizableColumns: false // otherwise QTBUG-111013 happens
                                   boundsBehavior: Flickable.StopAtBounds
                                   flickableDirection: Flickable.VerticalFlick
                               }
      @@ -282,6 +284,7 @@ Pane {
                               spacing: 0
                               HorizontalHeaderView {
                                   syncView: meshesTableView
      +                            resizableColumns: false // otherwise QTBUG-111013 happens
                                   boundsBehavior: Flickable.StopAtBounds
                                   flickableDirection: Flickable.VerticalFlick
      
      

      Ideally the root cause should be investigated at some point.

      Attached is a video of the sceneeffects example with dev to illustrate. (when the mouse cursor moves to other controls, I actually try to click - but that has no effect as long as a HorizontalHeaderView is visible)

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

            mitch_curtis Mitch Curtis
            lagocs Laszlo Agocs
            Votes:
            8 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: