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

Shapes in multisampling layers draw "bounding box" when strokeWidth is constant instead of shape

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0 Beta 1
    • 5.11.1
    • Quick: Other
    • KDE Neon 16.04, nvidia 1070 gpu
      Also, on embedded linux iMX6-based
    • Linux/X11, Linux/Other display system
    • 10356e7d5aa3fdb12b01239498ccc0c1cdf5a721

    Description

      Trying to use the QtQuick.Shapes with layer multisampling, it turns out it does not work if the shape strokeWidth is constant.

      The examples for this kind of smoothing all use an animation on the stroke width, so the issue is hidden.

      To reproduce, try replacing the NumberAnimations on strokeWidth in the shapes example file "sampling.qml" with a constant strokeWidth (like, strokeWidth: 5). Observe that some kind of bounding area is drawn instead of the shape. It goes wrong in both cases either using multisampling or supersampling. See screenshot attached. 

      Also, with the strokeWidth enabled, there is a flickering where the same "bounding area" is briefly visible during the animation.

       

       

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            olathorsen Ola Røer Thorsen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes