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

Crash when enabling/disabling an item layer containing a ShaderEffect from within paint() method on MacOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.12.5, 5.13.1
    • Quick: SceneGraph
    • None
    • MacOS Mojave, XCode 10
    • macOS

    Description

      If you bind an exposed QML property to the 'enabled' property of a button, and the signal that notify that the property have been updated is emitted from the paint() method of a QQuickPaintedItem derived class, will cause a crash.


       

      See attached example for more details.


       

      Note that this behavior happens only on MacOS (not an issue on Windows, but I didn't check on Linux) and only if the button is in Material Style. Other styles (default, Fusion, Imagine) work just fine.

      Attachments

        1. crash.png
          crash.png
          566 kB
        2. EnabledBugMaterial.zip
          6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            janichol Andy Nichols
            blabbe Boris LABBE
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes