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

Incorrect strokeColor behaviour using property bindings and CurveRenderer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.2, 6.9.0 FF
    • 6.8.0
    • Quick: Shapes
    • None
    • KDE Plasma 6.2.3
      KDE Frameworks 6.8.0
      Qt 6.8.0
      Linux 6.11.8-300.fc41.x86_64
      Wayland
      Fedora 41
    • Linux/Wayland
    • e98912888 (dev), 58fba288f (6.8)

    Description

      When using renderType Shape.CurveRenderer on a Shape, colour changes via property bindings don't appear to work as expected.

      This issue does not exist when using Shape.SoftwareRenderer or Shape.GeometryRenderer.

      test2.qml included, which provides a fairly minimal example of the issue and can be run in qml (or qml-qt6 on Fedora)

      Having each ShapePath in the same Shape exhibits the same behaviour. Forcing a redraw seems to correct the colours briefly during the "flicker", but then it goes back to being weird. I've commented out the Behavior on strokeColor as it doesn't seem to matter if it's on or off, but I thought it was interesting that the sections incorrectly fade between the respective colours.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            danieloneill Daniel O'Neill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes