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

When a mask is set on a widget after being moved to a different display with a different DPR then it can end up not being set correctly because it is seen as the same as the previous one

    XMLWordPrintable

Details

    • macOS, Windows
    • bbd6cbd71 (dev), a458c7b36 (6.5)

    Description

      When a mask is set on a widget after being moved to a different display with a different DPR then it can end up not being set correctly because it is seen as the same as the previous one, although due to the DPR change it is not the same.

      In the attached example wait a few seconds and the shapedclock will move, when it fails it will not appear correctly. If the mask is cleared before it is set then it is shown correctly.

      Attachments

        1. image-2023-03-31-16-45-11-953.png
          image-2023-03-31-16-45-11-953.png
          44 kB
        2. image-2023-03-31-18-35-07-041.png
          image-2023-03-31-18-35-07-041.png
          108 kB
        3. image-2023-03-31-18-37-12-727.png
          image-2023-03-31-18-37-12-727.png
          153 kB
        4. main.cpp
          4 kB
        5. MicrosoftTeams-image (2).png
          MicrosoftTeams-image (2).png
          30 kB
        6. nahomi_qtdiag.txt
          11 kB
        7. qtbug97642.tar.gz
          3 kB
        8. qtbug97642.zip
          5 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews