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

QWindow::showFullScreen, showMaximized, showMinimized broken on wayland

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes