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

MultiEffect does not accept a maskSource size that is different from the one of the source

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4, 6.5, 6.6, 6.8, 6.9.1
    • None
    • Linux/Wayland, Linux/X11, Linux/Yocto, Linux/Other display system, macOS, Windows
    • Linux/Wayland, Linux/X11, macOS, Windows

    Description

      Documentation indicates : "If the maskSource and the source have different dimensions, the maskSource image is stretched to match the source size."

      It is a problem if we want to mask an Item in another larger Item. For example, if we want a ProgressBar with a rounded Rectangle background (see image with light orange progress bar), it is impossible to set a mask with the background size and which has the light orange Rectangle as a source, because the mask will change its width according to the light Rectangle width which matches the ProgressBar's value (as we can see on the images with the white progress bar)

      Attachments

        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
            gaelleb Gaelle Braud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes