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

[REGRESSION] nested layout not correctly polished on start

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.2
    • Quick: Layouts
    • None
    • Linux/Other display system, Windows

    Description

      Culprit is commit 70120c931faa0c6139354c75fcf8d39b77ec3b4a, i.e. 5.14.1 is fine.

      The code is similar to what I have attached. What happens is that for the component that contains the scrollbar, and any components used after it (i.e. YetAnotherControl) the subcontrols are at the top left corner, overlapping even the grey control Rectangle. When someone touches the splitter things are layout out properly. If there are multiple controls with ScrollViews then the "healing" does not affect all of them, i.e. I have to make them visible, touch the splitter, but afterwards things are fine. The items inside the scrollview seem to be irrelevant, I get the effect also for ScrollViews with empty models.

      I increased the limit in QQuickLayout::invalidate() from 2 to 3, which seems to fix the issue for me.

      Attachments

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

        Activity

          People

            smd Jan Arve
            rebemlix Rolf Eike Beer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes