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

Windows, dual screen: Changing desktop geometry crashes QGLWindow

    XMLWordPrintable

Details

    Description

      Using a QGLWindow as the viewport for a QGraphicsView leads to crashes when resizing the desktop on Windows. Steps to reproduce:

      1. Use a dual-screen setup; The "main" screen (with the windows task bar) is screen (2), the laptop screen is screen (1).
      2. Screens (1) & (2) are set to 1600x900, (2) is left of (1), the screens are aligned at the bottom.
      3. Set the desktop to "extended" so that the screen area covers both.
      4. Launch qmlviewer with the -opengl argument.
      5. Use the windows screen resolution tool to select "Show desktop only on 2", then "Revert"
      6. The qmlviewer may now crash, or the view goes completely black. The same applies to a QML app in a GL window.

      The scenario above is relatively common with a laptop - unplugging / plugging an external display, projector or docking station. The bug only seems to occur when a display is disabled.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            jds21 John Stark
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes