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

OnDemandRendering broken wrt expose events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12
    • Fix Version/s: None
    • Component/s: Qt3D
    • Labels:
      None

      Description

      Qt 3D does not handle expose events when targeting a window directly (i.e. running with the default, asynchronous render aspect). This is wrong.

      With the default rendering model this is masked away since getting unexposed and then exposed again (on Windows this can be triggered by minimizing and restoring the window) seemingly works due to re-rendering no matter what, even if the scene itself is static.

      Enabling on demand mode shows the problem: with static, non-animating scenes the newly exposed window will be empty until something else (e.g. a resize or a change in the scene) triggers rendering.

      As an example, edit simple-cpp not to animate and enable on demand rendering. Or, launch "q3dsviewer -w" which does enable OnDemand and features a static scene when no uip is given. Then minimize and restore (on Windows - the expose semantics differ platform by platform)

       

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-70885
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              dragly Svenn-Arne Dragly
              Reporter:
              lagocs Laszlo Agocs
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes