qtbase/src/gui/kernel
Rainer Keller bde42ffb8b Avoid window geometry jittering when changing geometry from JavaScript
The QML API allowed only separate setting of geometry parameters which
causes flickering when all parameters need to be changed.
By exposing the setGeometry function it is possible to set all of these
at once using an imperative setGeometry call from JavaScript.

Note that bindings for x/y/width/height are still evaluated
sequentially, resulting in four calls to the platform window's
setGeometry. This patch only introduces an imperative workaround for
that issue.

Change-Id: Ie9b0d3c39434740e50757ba7cff0385ae80f47f4
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2017-09-25 12:56:04 +00:00
..
kernel.pri Clean up some conditions in our pro files 2016-11-14 19:22:17 +00:00
qclipboard.cpp Merge remote-tracking branch 'origin/5.9' into dev 2017-06-19 16:12:34 +02:00
qclipboard.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qcursor.cpp QCursor: Add equality operators 2017-03-21 17:22:41 +00:00
qcursor.h QCursor: Add equality operators 2017-03-21 17:22:41 +00:00
qcursor_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qdnd.cpp Remove QPlatformDrag::platformDropData 2017-03-13 16:10:44 +00:00
qdnd_p.h Remove QPlatformDrag::platformDropData 2017-03-13 16:10:44 +00:00
qdrag.cpp Fix \since for QDrag::cancel() 2017-02-01 07:33:29 +00:00
qdrag.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qevent.cpp add back the device-less QNativeGestureEvent (deprecated) 2017-09-22 14:34:36 +00:00
qevent.h add back the device-less QNativeGestureEvent (deprecated) 2017-09-22 14:34:36 +00:00
qevent_p.h Convert features.tabletevent to QT_CONFIG 2017-06-28 16:15:14 +00:00
qgenericplugin.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qgenericplugin.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qgenericpluginfactory.cpp Drop most "#ifndef QT_NO_LIBRARY" 2016-02-08 10:40:33 +00:00
qgenericpluginfactory.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qguiapplication.cpp make the QTouchDevice available in each QNativeGestureEvent 2017-09-21 16:35:06 +00:00
qguiapplication.h Add QGuiApplication::screenAt() 2017-09-11 17:41:15 +00:00
qguiapplication_p.h cleanup: remove redundant QGuiApplicationPrivate::buttons 2017-05-05 13:54:48 +00:00
qguivariant.cpp QGuiVariant: fix unintended fall-through 2017-03-22 09:42:35 +00:00
qhighdpiscaling.cpp Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-16 12:35:36 +01:00
qhighdpiscaling_p.h Fix QHighDpi::fromNativeLocalExposedRegion rounding errors 2017-07-19 09:53:00 +00:00
qinputdevicemanager.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qinputdevicemanager_p.h Fully qualify enum arguments in input device manager signals 2017-01-16 10:17:59 +00:00
qinputdevicemanager_p_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qinputmethod.cpp Add QInputMethod::inputItemClipRectangle() 2016-05-02 11:00:41 +00:00
qinputmethod.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qinputmethod_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qkeymapper.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qkeymapper_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qkeysequence.cpp QKeySequence: let Private::decodeString() take QString by value 2017-06-20 08:57:01 +00:00
qkeysequence.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qkeysequence_p.h QKeySequence: let Private::decodeString() take QString by value 2017-06-20 08:57:01 +00:00
qoffscreensurface.cpp Merge remote-tracking branch 'origin/5.9' into dev 2017-08-15 16:31:48 +02:00
qoffscreensurface.h QOffscreenSurface: fix blunder 2017-04-23 20:21:20 +00:00
qopenglcontext.cpp Add debug operators for QOpenGLVersionProfile QOpenGLContext(Group) 2017-05-17 06:11:09 +00:00
qopenglcontext.h Add debug operators for QOpenGLVersionProfile QOpenGLContext(Group) 2017-05-17 06:11:09 +00:00
qopenglcontext_p.h Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-16 12:35:36 +01:00
qopenglwindow.cpp Fix hidpi support for opengl window grabbing 2017-04-09 13:42:34 +00:00
qopenglwindow.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qpaintdevicewindow.cpp QPaintDeviceWindow: Don’t request update on hide 2016-09-22 16:45:25 +00:00
qpaintdevicewindow.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qpaintdevicewindow_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qpalette.cpp Fusion: desaturate the brown shades 2017-04-27 16:03:15 +00:00
qpalette.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qpixelformat.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qpixelformat.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformclipboard.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qplatformclipboard.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformcursor.cpp Fix some qdoc warnings for 5.10 2017-06-20 08:54:52 +00:00
qplatformcursor.h QPlatformCursor: Add functions for setting/clearing override cursors 2017-06-13 06:13:39 +00:00
qplatformdialoghelper.cpp Add button layout for dialogs on Android 2017-04-11 14:39:16 +00:00
qplatformdialoghelper.h Add button layout for dialogs on Android 2017-04-11 14:39:16 +00:00
qplatformdrag.cpp Fix \since for QDrag::cancel() 2017-02-01 07:33:29 +00:00
qplatformdrag.h Remove QPlatformDrag::platformDropData 2017-03-13 16:10:44 +00:00
qplatformgraphicsbuffer.cpp Doc: Hide QPA classes 2017-04-19 07:25:05 +00:00
qplatformgraphicsbuffer.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformgraphicsbufferhelper.cpp Support C++17 fallthrough attribute 2016-08-19 18:38:53 +00:00
qplatformgraphicsbufferhelper.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatforminputcontext.cpp Add support for ImhAnchorRectangle 2016-04-06 12:26:34 +00:00
qplatforminputcontext.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatforminputcontext_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatforminputcontextfactory.cpp Fix warnings for -no-feature-settings 2017-04-04 13:12:19 +00:00
qplatforminputcontextfactory_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatforminputcontextplugin.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qplatforminputcontextplugin_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformintegration.cpp Basic Vulkan enablers 2017-03-17 16:12:03 +00:00
qplatformintegration.h Basic Vulkan enablers 2017-03-17 16:12:03 +00:00
qplatformintegrationfactory.cpp Use QT_CONFIG(library) instead of QT_NO_LIBRARY 2017-03-06 11:27:20 +00:00
qplatformintegrationfactory_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformintegrationplugin.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qplatformintegrationplugin.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformmenu.cpp Make platform menu tag/setTag not be pure virtual 2017-04-18 14:31:52 +00:00
qplatformmenu.h Make platform menu tag/setTag not be pure virtual 2017-04-18 14:31:52 +00:00
qplatformnativeinterface.cpp Fix compilation with -no-pch 2016-12-12 11:14:03 +00:00
qplatformnativeinterface.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformoffscreensurface.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qplatformoffscreensurface.h Add override keyword to QPlatformSurface derived classes 2017-08-11 09:06:06 +00:00
qplatformopenglcontext.cpp Ensure we can query all GL functions in all platform plugins 2016-03-01 14:46:26 +00:00
qplatformopenglcontext.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformscreen.cpp Modes API for QPlatformScreen 2017-01-28 16:13:38 +00:00
qplatformscreen.h Modes API for QPlatformScreen 2017-01-28 16:13:38 +00:00
qplatformscreen_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformservices.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qplatformservices.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformsessionmanager.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qplatformsessionmanager.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformsharedgraphicscache.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qplatformsharedgraphicscache.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformsurface.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qplatformsurface.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformsystemtrayicon.cpp QPlatformSystemTrayIcon: Add signal contextMenuRequested() 2017-04-27 09:30:27 +00:00
qplatformsystemtrayicon.h QPlatformSystemTrayIcon: Add signal contextMenuRequested() 2017-04-27 09:30:27 +00:00
qplatformtheme.cpp Add new API to control whether shortcuts are shown in context menus 2017-03-14 05:29:22 +00:00
qplatformtheme.h Add new API to control whether shortcuts are shown in context menus 2017-03-14 05:29:22 +00:00
qplatformtheme_p.h fix build with various QT_NO_* defines 2016-08-26 07:39:53 +00:00
qplatformthemefactory.cpp Use QT_CONFIG(library) instead of QT_NO_LIBRARY 2017-03-06 11:27:20 +00:00
qplatformthemefactory_p.h Export QPlatformThemeFactory, for use in qtdiag 2017-04-28 12:37:14 +00:00
qplatformthemeplugin.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qplatformthemeplugin.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qplatformwindow.cpp doc: minor cleanup in QPlatformWindow::setGeometry() 2017-07-25 12:03:29 +00:00
qplatformwindow.h Add override keyword to QPlatformSurface derived classes 2017-08-11 09:06:06 +00:00
qplatformwindow_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qrasterwindow.cpp Delete QRasterWindow backingstore while window is still alive 2017-04-04 09:36:12 +00:00
qrasterwindow.h Delete QRasterWindow backingstore while window is still alive 2017-04-04 09:36:12 +00:00
qscreen.cpp xcb: don't rely on _NET_WORKAREA for available geometry on multi-head systems 2017-08-02 23:15:32 +00:00
qscreen.h Add screen product information 2017-01-16 07:46:39 +00:00
qscreen_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qsessionmanager.cpp Merge remote-tracking branch 'origin/5.6.0' into 5.7 2016-03-07 17:08:56 +01:00
qsessionmanager.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qsessionmanager_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qshapedpixmapdndwindow.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-03-23 08:29:43 +01:00
qshapedpixmapdndwindow_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qshortcutmap.cpp Fix compiler warning about missing return statement in non-void function 2016-06-17 16:27:26 +00:00
qshortcutmap_p.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qsimpledrag.cpp Merge remote-tracking branch 'origin/5.9' into 5.10 2017-09-06 13:26:31 +02:00
qsimpledrag_p.h Remove QPlatformDrag::platformDropData 2017-03-13 16:10:44 +00:00
qstylehints.cpp Add new API to control whether shortcuts are shown in context menus 2017-03-14 05:29:22 +00:00
qstylehints.h QStyleHints: Make showShortcutsInContextMenus a Q_PROPERTY 2017-04-20 19:23:54 +00:00
qsurface.cpp Basic Vulkan enablers 2017-03-17 16:12:03 +00:00
qsurface.h Basic Vulkan enablers 2017-03-17 16:12:03 +00:00
qsurfaceformat.cpp Support windows with sRGB-capable default framebuffers in QSurfaceFormat 2017-02-26 20:06:03 +00:00
qsurfaceformat.h Support windows with sRGB-capable default framebuffers in QSurfaceFormat 2017-02-26 20:06:03 +00:00
qt_gui_pch.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qtguiglobal.h Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00
qtguiglobal_p.h Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00
qtouchdevice.cpp make the QTouchDevice available in each QNativeGestureEvent 2017-09-21 16:35:06 +00:00
qtouchdevice.h Combine device and point id into 32 bit point id 2016-10-28 11:07:04 +00:00
qtouchdevice_p.h make the QTouchDevice available in each QNativeGestureEvent 2017-09-21 16:35:06 +00:00
qwindow.cpp Merge remote-tracking branch 'origin/5.9' into dev 2017-08-31 14:31:31 +02:00
qwindow.h Avoid window geometry jittering when changing geometry from JavaScript 2017-09-25 12:56:04 +00:00
qwindow_p.h Make QWindow::setVisible() work for widgets 2017-05-11 07:22:51 +00:00
qwindowdefs.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qwindowdefs_win.h Clean up qwindowdefs_win.h 2016-07-14 13:46:03 +00:00
qwindowsysteminterface.cpp make the QTouchDevice available in each QNativeGestureEvent 2017-09-21 16:35:06 +00:00
qwindowsysteminterface.h make the QTouchDevice available in each QNativeGestureEvent 2017-09-21 16:35:06 +00:00
qwindowsysteminterface_p.h make the QTouchDevice available in each QNativeGestureEvent 2017-09-21 16:35:06 +00:00