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

QWidget does not handle spontaneous QPlatformWindow creation or destruction

    XMLWordPrintable

Details

    • All
    • 009abcd7b66738bece6cf354776dfb2ef401636b (qt/qtbase/5.14) e2f35fa6842508f6bd9d2343f08a17a2a292fd71 (qt/qtbase/5.12.7)

    Description

      As discovered in QTBUG-74559 and QTBUG-69289 QWidget does not handle surfaces created or destroyed under its feet, e.g. not initiated by QWidget::create or QWidget::destroy. The winId and created-attribute, among others, gets out of sync.

      We should handle QPlatformSurfaceEvent by running the relevant parts of the QWidget::create/destroy logic.

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              vestbo Tor Arne Vestbø
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes