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

Toplevel QOpenGLWidget without children freezes until device is rotated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.4.0 RC
    • QPA
    • None
    • Android

    Description

      A toplevel QOpenGLWidget will receive a resize event to 0x0. This makes the widget believe it is hidden, and it will not get any paintGL() calls.

      Rotating the device will generate a resize event.

      The workaround is to use QOpenGLWindow instead, which is a much better alternative in 99.9% of the cases.

      Attachments

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

        Activity

          People

            rampe Rami Potinkara
            tvete Paul Olav Tvete
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes