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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • None
    • 6.2.0 Beta1
    • Quick: SceneGraph
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes