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

QWidget::resize does not send a LayoutRequest to the parent widget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2
    • Widgets: Layout
    • None

    Description

      A widget with no layout and a child widget does not receive LayoutRequest events if the child widget resizes.

      LayoutRequest events are sent if the size contraints change (setMiniumumSize, updateGeometry(), etc.), but not on a mere resize, forcing the parent to do event filtering for resize events on the child instead of what looks like a more correct solution.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes