qt6-bb10/src
Tor Arne Vestbø 8b60ebf93a macOS: Ensure initial geometry is always set
QPlatformWindow initializes its view of the geometry based on the
QWindow geometry during construction. If the initial geometry we
then compute is the same, we would end up exiting early from
QCocoaWindow::setGeometry(), because we compared the new geometry
against the QPlatformWindow::geometry(), and the geometry would
never be reflected in the NSView.

Due to other setGeometry calls this was in most cases masked, but
could in theory happen, and is preventing us from cleaning up other
parts of the code.

The call to QWindow::setGeometry() after setting the initial geometry
is also broken, as the initial geometry is available through the
platform window and QWindow::geometry() already, so setting it again
serves nothing except disabling d->positionAutomatic, which is not
correct.

Change-Id: I0db3cfe7d7c3d14070beee6ae3ea3dfd49da9e05
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-07-22 14:33:29 +00:00
..
3rdparty sqlite: Upgrade to 3.32.3 2020-07-16 10:09:41 +02:00
android Android: add missing printStackTrace() in catch statements 2020-07-14 11:25:47 +03:00
concurrent QtConcurrent: Get rid of multi-inheritance inside RunFunctionTaskBase 2020-07-14 14:52:08 +02:00
corelib Temporarily add a private QESDPv2 2020-07-22 16:33:29 +02:00
dbus Fix passing QDBusUnixFileDescriptors over peer-to-peer connections 2020-07-13 20:45:20 +02:00
gui Remove an outdated and nonsensical comment in the docs 2020-07-22 02:19:25 +02:00
network Fix OCSP-Stapling error if identity cannot be verified 2020-07-17 16:28:52 +02:00
opengl Move glxconvenience into QtGui 2020-07-10 00:47:56 +02:00
openglwidgets Doc: Change docs from internal to reimp 2020-06-25 11:00:47 +02:00
platformheaders Start the native interface QWindowsApplication 2020-07-21 14:14:50 +02:00
platformsupport Remove linuxofono 2020-07-15 07:33:32 +02:00
plugins macOS: Ensure initial geometry is always set 2020-07-22 14:33:29 +00:00
printsupport Fix some MSVC int conversion warnings 2020-07-17 22:14:43 +02:00
sql Doc: Update sql-driver to reflect current minimum versions needed 2020-07-20 00:42:01 +02:00
testlib QTestlib: Enable comparing QList against initializer lists/arrays 2020-07-21 22:01:20 +02:00
tools Suffix qt_pluginMetaData with class name 2020-07-16 20:51:04 +02:00
widgets Ensure styles always get to polish the application palette 2020-07-21 13:43:19 +02:00
winmain Remove winrt 2020-06-06 20:25:49 +02:00
xml Fix some MSVC int conversion warnings 2020-07-17 22:14:43 +02:00
CMakeLists.txt Android: Add support for proxies 2020-06-16 11:06:42 +02:00
src.pro Move linuxaccessibility to QtGui 2020-07-06 11:15:08 +02:00