Previously when PPK_Orientation property was set, updateMetrics() was called before doReinit() and updateMetrics() used physical dimensions of the DC initialized with previous orientation, which resulted in miscalculation of m_paintRectPixels, origin_x and origin_y variables. This bug manifested itself as all sorts of weird behavior, such as unexpected margins when changing paper size and printing beyond paper margins. Pick-to: 6.7 6.5 Change-Id: I2d0e104bee11165e3541e7f3119b29edd4b882c8 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> |
||
|---|---|---|
| .. | ||
| dialogs | ||
| doc | ||
| kernel | ||
| platform | ||
| widgets | ||
| CMakeLists.txt | ||
| configure.cmake | ||
| qt_cmdline.cmake | ||