Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.6, 6.3.0 Feature Freeze, 6.5.0 Beta3
-
Windows 10
-
-
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
Issue Links
- is duplicated by
-
QTBUG-109238 Moving application to other window results in unexpected zoom
- Closed
- relates to
-
QTBUG-89294 QScrollArea fails to re-layout widgets correctly in high DPI environments
- Closed
-
QTBUG-64229 setMask does not work well on retina due to QRegion resolving QRegion::Ellipse to rects without scale factor
- Closed
For Gerrit Dashboard: QTBUG-97642 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
471815,1 | windows: Re-apply mask when DPI changes, to account for new scale factor | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |
464730,4 | Reset the widget's mask when the screen changes | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
470248,4 | windows: Re-apply mask when DPI changes, to account for new scale factor | dev | qt/qtbase | Status: MERGED | +2 | 0 |
471810,2 | windows: Re-apply mask when DPI changes, to account for new scale factor | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |