Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-9294

Live preview is crashing for material bundle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • QDS 4.0
    • QDS 4.0
    • QML Live Preview
    • None
    • macOS, Windows
    • QDS Berlin - 2023 Week 9/10

      Open the Material Bundle Example from the examples tab.

      Open Screen01.ui.qml (default)

      Run the projet (works).
      Live preview current file (crashes).

      If both DRBloomTonemap effects are removed the example works.

      DRBloomTonemap {
          id: hDRBloomTonemap1
          exposure: -0.5
          blurFalloff: 1
          bloomThreshold: 0
      }
      

      The parameters do not matter. The effect does not have to be applied to the environment.
      Simply instantiating the object is enough.

      The issue can be easily reproduced in a simple example (attached file).

      You do not require QDS. You can use the qmlpreview standalone tool instead.

      qml C:\example_test\BloomTest\content\Screen01.ui.qml (works)

      qmlpreview qml C:\example_test\BloomTest\content\Screen01.ui.qml (crashes if you apply the first update)

      If I remove the DRBloomTonemap effect qmlpreview works as expected.

      (Qt Version 6.4.1)

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

            thohartm Thomas Hartmann
            thohartm Thomas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes