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

QWindow::showFullScreen, showMaximized, showMinimized broken on wayland

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.9
    • 5.9
    • QPA: Wayland
    • None
    • 61afb5bf23df8a33930941fd9b5bbaab9fdaebfc

      when a qwindow is shown for the first time, in the qpa, QWaylandWindow::setWindowStateInternal() gets called before initWindow()

      this makes setWindowStateInternal not work correctly the first time, as mShellSurface isn't existing yet.

      then initWindow gets called, and it calls setWindowStateInternal again, but this will fail again due to the guard on mState == state at the beginning

       

      the result will be mShellSurface not having correctly been set as fullscreen

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

            johanhelsing Johan Helsing
            mart Marco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes