qt6-bb10/src
Morten Sørvig 940e4e5428 Avoid rounding errors for fullscreen window geometry
Add a special case for handling Qt::WindowMaximized and
Qt::WindowFullScreen which don't call QPlatformWindow::
initialGeometry(). Handle the case by setting window
geometry to be equivalent to available screen geometry.

This avoids any rounding errors introduced by scaling
available screen geometry by a (possibly) fractional
scale factor.

Task-number: QTBUG-87334
Change-Id: Ia1b96057bdf3d3787f1b77b81078856fdd33fe9d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-11-27 19:53:41 +01:00
..
3rdparty SQLite: Update SQLite to v3.44.1 2023-11-23 19:31:14 +01:00
android Android: don't return an unused result from QtNative.startApplication() 2023-11-24 03:48:39 +02:00
assets
concurrent Doc: Fix \fn template arguments for Qt Concurrent 2023-11-18 13:01:53 +01:00
corelib Qt::*_ordering: use std::bit_cast when converting to std::_ordering 2023-11-27 18:34:10 +01:00
dbus QDBusConnection: output error message from findSlot 2023-11-22 07:18:08 +01:00
entrypoint
gui Fix off-by-one surface pixel size on Android 2023-11-27 18:53:41 +00:00
network wasm: Proxy emscripten_fetch() to the main thread 2023-11-22 20:15:38 +00:00
opengl Doc: Fix \fn template arguments for Qt OpenGL 2023-11-18 10:31:35 +01:00
openglwidgets QOpenGLWidget: Call glClear in the default paintGL implementation 2023-09-04 11:46:29 +02:00
platformsupport Rename QWSI::handleWindowActivated to QWSI::handleFocusWindowChanged 2023-11-23 02:37:12 +01:00
plugins Avoid rounding errors for fullscreen window geometry 2023-11-27 19:53:41 +01:00
printsupport QWin32PrintEnginePrivate: Properly initialize flags and fields of DEVMODE 2023-11-22 05:56:25 +01:00
sql Highlight some examples for 'Data Processing & IO' category 2023-10-31 19:35:59 +02:00
testlib QTest: make failOnWarning() functional on temp objects destruction 2023-11-22 20:15:38 +00:00
tools Moc: don't stumple over inline namespace in more places 2023-11-24 08:48:01 +01:00
widgets QCommonStyle: Adjust painting arrows in high-dpi mode 2023-11-26 13:59:37 +01:00
xml Doc: Fix warnings and linking issues 2023-10-09 17:24:07 +00:00
CMakeLists.txt