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

Reset in qoffscreensurface when closing app when using multiple monitors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.2
    • 5.9.1
    • GUI: Window management
    • None
    • ebae7fc4264b393436450a6355df38eb97770f9f

    Description

      The qoffscreensurface::setScreen crashes in create if application is
      closing. This happens in multimonitor setup when one of the screens is
      already destroyed and qoffscreensurface handles the screenDestroyed
      signal. In this case the QGuiApplication::primaryScreen returns non-null
      surface and selects the codepath that recreates the surface. The create
      function calls the qGuiApp->thread function, which crashes since the
      application instance has already been set to nullptr.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            anmaatta Antti Määttä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes