qt6-bb10/src
Paul Olav Tvete d8f7a2ddf4 EglFS: make sure resize events are delivered
Make sure that resize events are delivered when the platform
plugin overrides the geometry set in setGeometry().

This fixes a race condition where a widget was resized to its
sizeHint() while the window was maximized, and the content was
shown scaled on the screen.

The problem is that the widget gets the wrong size from
QWidget::setWindowState() (which calls adjustSize() in order to support
normalGeometry). This size is used to resize the backingStore. When the
QWindow is resized, it calls QEglFSWindow::setGeometry() which corrects the
size to screen()->availableGeometry(), and triggers a GeometryChangeEvent
since the size was corrected.

This ends up in QGuiApplicationPrivate::processGeometryChangeEvent() which
will not send a resize event, since the size has not changed (it is always
availableGeometry()). Therefore the widget is never resized, and the
backingStore remains the wrong size.

Task-number: QTBUG-34421
Change-Id: Iee49c53cc529de36010db2695d838d8c2284edd4
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
2013-11-06 17:47:25 +01:00
..
3rdparty Fix compilation with MinGW gcc 64 bit 2013-10-29 15:09:29 +01:00
android Android: Fix registerClipboardManager semaphore initialization 2013-11-06 17:47:25 +01:00
angle use private linkage where possible 2013-10-31 19:49:32 +01:00
concurrent Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
corelib QMetaType: Fix conversion between module types. 2013-11-06 16:15:15 +01:00
dbus Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
gui EglFS: make sure resize events are delivered 2013-11-06 17:47:25 +01:00
network Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
opengl Doc: Fix broken links 2013-11-05 00:29:01 +01:00
openglextensions Use BSD licensing for QtOpenGLExtensions instead of LGPL 2013-06-24 10:16:32 +02:00
platformsupport use private linkage where possible 2013-10-31 19:49:32 +01:00
plugins EglFS: make sure resize events are delivered 2013-11-06 17:47:25 +01:00
printsupport Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
sql Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
testlib Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
tools Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
widgets Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
winmain winmain for winrt 2013-09-14 15:42:24 +02:00
xml Doc: Updated url variable in qdocconf files. 2013-11-06 11:31:39 +01:00
src.pro Explicitly mark subdirs as host_builds in SUBDIRS template 2013-10-18 18:01:54 +02:00