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

QtGraphicalEffects FastBlur seems to break Canvas line drawing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.0.0 Beta 1, 5.0.0
    • None

    Description

      Attached is an example containing an (extracted for simplicity) FastBlur from QtGraphicalEffects, and a simple canvas example that uses a MouseArea to create strokes when the user presses and moves the mouse.

      As a default, this testcase is broken.

      Observe that when the FastBlur in main.qml is commented out, pressing the mouse will correctly draw things.

      Observe that when (in main.qml) parenting the SketchWidget to the element with id "blurrable" as opposed to putting it into a child rectangle, pressing the mouse will correctly draw things.

      I'm not certain that this problem is in the Canvas element, there seems to be some more underlying problem here, but I'm not sure what it is.

      Attachments

        1. testcase.tar.gz
          4 kB
          Robin Burchell
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            w00t Robin Burchell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes