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

setMask does not work well on retina due to QRegion resolving QRegion::Ellipse to rects without scale factor

XMLWordPrintable

      When setting a mask on a top level window it will not display correctly on retina displays. This can be tested using the shapedclock example in qtbase/examples/widgets/widgets, the outline is not smooth, whereas on a non-retina display it is smooth.

        1. image-2019-12-05-16-26-35-737.png
          90 kB
          Tor Arne Vestbø
        2. image-2019-12-05-16-27-08-750.png
          28 kB
          Tor Arne Vestbø
        3. image-2019-12-06-16-20-45-931.png
          90 kB
          Tor Arne Vestbø
        4. rasterwindow_smoothmasked.png
          47 kB
          Eirik Aavitsland
        5. rasterwindow.diff
          2 kB
          Eirik Aavitsland
        6. shapedclock.diff
          1 kB
          Eirik Aavitsland
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vestbo Tor Arne Vestbø
            andysh Andy Shaw
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes