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

Item.grabToImage() has AA edges assuming the background is white

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0 Beta1
    • Fix Version/s: None
    • Component/s: Quick: SceneGraph
    • Labels:
      None

      Description

      You can see this with src/quick/doc/snippets/qml/externaldrag.qml : drag the green rectangle, it uses grabToImage() to create a DnD pixmap, and you can see a white halo around the rectangle's radius as you are dragging, although the far corners are transparent. Setting antialiasing: false is a workaround. Seems like it should just have alpha falling off around the edges instead of fading to white.

        Attachments

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

          Activity

            People

            Assignee:
            janichol Andy Nichols
            Reporter:
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes