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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5
    • None
    • 1430ed07e (dev), 19d3c41c4 (6.5)

    Description

      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)

      Attachments

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            lagocs Laszlo Agocs
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: