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

Reset in qoffscreensurface when closing app when using multiple monitors

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes