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

OpenGL stop repainting and app may crash on close after disconnect of one of monitors (linux)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.0.1, 5.0.2, 5.1.1, 5.2.0, 5.3.2
    • GUI: OpenGL
    • None
    • Ubuntu(Unity) 13.04, 13.10 (i386, amd64), 14.04 lts (amd64)

      Ubuntu 14.04 lts + Qt 5.3.2. Can be reproduced by description.

      Reproduce steps (at last I've test with Qt 5.2.0):

      • start QtCreator
      • open "hellogl" example (or any other OpenGL example)
      • run it
      • place app to the monitor, that you want to disconnect (in my case: laptop(1366x768) + external monitor (1920x1080), and app on the laptop's display)
      • Open System settings -> Displays
      • switch of monitor with app (in my case laptop) and apply changes
      • after that OpenGL's scene is black and may be crash on application close

      I can reproduce with external display too, but chance isn't 100 %. Need to repeat a few times.

        1. Qt_opengl_crash.txt
          2 kB
          Kutashenko Roman
        2. debug_in_qtcreator.png
          249 kB
          Kutashenko Roman
        3. hellogl_app_after_monitor_turnoff.png
          10 kB
          Kutashenko Roman
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lagocs Laszlo Agocs
            kutashenko Kutashenko Roman
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes