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

New windows don't appear (unless resized by compositor)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12.0
    • Fix Version/s: 5.12.0
    • Component/s: QPA: Wayland
    • Labels:
      None
    • Platform/s:
      Linux/Wayland
    • Commits:
      7451faab740ec6294159be60d8a713f5e8070c09 (qt/qtwayland/5.12.0)

      Description

      New windows sometimes don't get an initial exposeEvent and therefore don't commit anything.

      m_widow->applyConfigure sends an expose event for the whole window, the change to call it directly on the shell means we dont' get that.

      It sometimes still works as resizeFromApplyConfigure will setGeometry and that'll call expose. However, if the window size is undefined by the compositor then we'll call setGeometry with the size we already have.

      There's a fix on review already but Johan said

      > create a bug report with P1 and fix version 5.12.0 (i.e. release blocker) so we make sure it gets merged in time?

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              johanhelsing Johan Helsing
              Reporter:
              davidedmundson David Edmundson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes