qt6-bb10/src/printsupport
Jarkko Koivikko 223b92490e print: windows: Fix setting page orientation
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>
2024-04-12 19:55:46 +00:00
..
dialogs QWin32PrintEnginePrivate: Properly initialize flags and fields of DEVMODE 2023-11-22 05:56:25 +01:00
doc Correct doc snippet license 2024-02-28 19:15:51 +01:00
kernel Fix previewing a preview on reentrance 2024-03-01 21:16:56 +01:00
platform print: windows: Fix setting page orientation 2024-04-12 19:55:46 +00:00
widgets Fix previewing a preview on reentrance 2024-03-01 21:16:56 +01:00
CMakeLists.txt Enable QT_NO_CONTEXTLESS_CONNECT for most of QtBase 2023-07-11 22:44:29 +02:00
configure.cmake Fix build with -no-feature-lineedit 2023-03-04 09:45:21 +00:00
qt_cmdline.cmake