Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.15.0
-
None
-
Ubuntu 20.10 Wayland
-
-
8cb1b07aea12d50b4fecc45c903705dfd368022a (qt/qtwayland/dev) 10005185e06857ce119c50fe710f9eedde06ec5e (qt/qtwayland/5.15)
Description
At first the window is not created.
I set the size of the ApplicationWindow in Qml. This size is scaled by QHighDpi::toNativePixes(). But due to that the window does not exist, this resize has no effect.
Then when applyConfigure(), the size is restored to original size.
Then when the rendering thread starts to run, the window is created with the original size, not the scaled size.
Attachments
For Gerrit Dashboard: QTBUG-88064 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
321744,5 | Make setting QT_SCALE_FACTOR work on Wayland | dev | qt/qtwayland | Status: MERGED | +2 | 0 |
322169,3 | Make setting QT_SCALE_FACTOR work on Wayland | 5.15 | qt/qtwayland | Status: MERGED | +2 | 0 |