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

QWidget does not handle spontaneous QPlatformWindow creation or destruction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12, 5.13, 5.14
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      All

      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

          For Gerrit Dashboard: QTBUG-77350
          # Subject Branch Project Status CR V

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There is 1 open Gerrit change