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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Component/s: Widgets: Layout
    • Labels:
      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            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