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

Inconsistent texture provider checks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.6
    • Quick: 2D Renderer
    • None
    • All

      _emphasized text_texture provider checks are implemented differently for different items (e.g. Image vs Canvas vs QQuickPaintedItem), leading to differences in behavior that appear to be unintentional.

      As an example, if you take the code from https://doc.qt.io/qt-6/qml-qt5compat-graphicaleffects-fastblur.html#example and replace the Image with a QQuickPaintedItem, it will trigger "QQuickPaintedItem::textureProvider: can only be queried on the rendering thread of an exposed window", and the blur will not be applied.

      To reproduce that without needing a custom subclass, add the following import and replace the Image with DialImpl:

      import QtQuick.Controls.Fusion.impl
      
      ...
      
      DialImpl { // replace Image with this
          id: bug
          anchors.fill: parent
      }
      

       

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

            janichol Andy Nichols
            mbrasser Michael Brasser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes