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

    • Bug
    • Status: Reported
    • P2: Important
    • Resolution: Unresolved
    • 5.15.6, 6.3.0 Feature Freeze
    • None
    • GUI: High-DPI, QPA
    • Windows 10
    • macOS, Windows

    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. MicrosoftTeams-image (2).png
          MicrosoftTeams-image (2).png
          30 kB
        2. nahomi_qtdiag.txt
          11 kB
        3. qtbug97642.tar.gz
          3 kB
        4. 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

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes