Commits (21)
-
Morten Johan Sørvig authored
This is required to make Qt Quick pick up changes to the devicePixelRatio. Failure to do so prevents a proper update of text nodes, as seen in the Qt Creator welcome screen. Propagate the new screen to the offscreenWindow, offscreenSurface and context. [ChangeLog][QtQuick] QQuickWidget now properly repaints text on high-DPI screen changes. Change-Id: I8f0b9f2f8768f99e293de018ae56d50ddf20b43a Reviewed-by:
Laszlo Agocs <laszlo.agocs@qt.io>
c15fea66 -
Timur Pocheptsov authored
The string "1.0" can fail validation due to locale (requiring ',' for example). Task-number: QTBUG-53779 Change-Id: I44b2b6886d96a7a32668bea56b5f34bb8d9db8d3 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
99e181a5 -
Timur Pocheptsov authored
When running qmltest::itemgrabber we save grabbed image into the qmltest dir but using this name later as 'source' (relative) url we fail to load image. Task-number: QTBUG-53782 Change-Id: Ibd1f32d8bc13ff155b23491401075638cef16987 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
ec77984d -
Timur Pocheptsov authored
Must be fixed on OS X now. Task-number: QTBUG-53778 Change-Id: If94085210115534cf7a467100ec00fc419474c67 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
4c1dd3ef -
Stephen Kelly authored
Commit v5.6.0-beta1~7 (ListView: Sanitize visibleItems list after model insertions, 2015-12-07) introduced sanitizing of the container of visibleItems, but it did not affect the return value of the QQuickListViewPrivate::applyInsertionChange function. The return value is used in QQuickItemViewPrivate::layout() to determine whether the layouting should proceed, or an early return is possible instead. If the layouting does not proceed, then the newly inserted visible items do not get painted, resulting in the linked bug. The return value of the QQuickListViewPrivate::applyInsertionChange function was previously determined by whether the new count of visible items is greater than the previous count. After the sanitation in commit v5.6.0-beta1~7, this numeric comparison is no longer a good indicator of whether a repaint is needed. Change the return value to indicate whether new items were inserted which are visible in a more-direct way. Verify that visible items are initialized correctly in tests. They should not be 'culled'. It is necessary to invoke the layout method first to clear the forceLayout state. Two pre-existing tests fail before the fix in this patch. Change-Id: I625f1e02bf7001834adb147161a1e478a0ce2a0d Task-number: QTBUG-53263 Reviewed-by:
Robin Burchell <robin.burchell@viroteck.net>
5d23470b -
Michal Klocek authored
Emitting signal with QJSValue argument ends in QVariant converstion in qml bound signal expression evaluation. Create missing handling for arguments of type QJSValue. Change-Id: I3d51a5455c09d0eef1123941066d20ad68f4074d Reviewed-by:
Erik Verbruggen <erik.verbruggen@qt.io> Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
aa869cbb -
Laszlo Agocs authored
Task-number: QTBUG-54244 Change-Id: I38c3fff07ed2a5ff3ffddef1d523f110f0863ac0 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
5511ed66 -
Daniel d'Andrada authored
Do not allow a frame size larger than the image size, otherwise we would never leave "while (framesLeft > 0) {...}" as framesLeft is never decremented because "copied/frameWidth" in the expression "framesLeft -= copied/frameWidth;" always resolves to zero because copied < frameWidth. Task-number: QTBUG-53937 Change-Id: Ia777ec65d72562426b13533918efcaca5bcabdd7 Reviewed-by:
Albert Astals Cid <albert.astals@canonical.com> Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
b61c774c -
Timur Pocheptsov authored
Remove the line that previously was a part of 'linecount' test BLACKLISTed and now accidentally BLACKLISTed another test instead. Change-Id: I3618fc0478d7a245c1c5aaaf6f38eb9359f523b0 Reviewed-by:
Milla Pohjanheimo <milla.pohjanheimo@qt.io> Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
d2b3a3a4 -
Jan Arve Saether authored
This caused MPTA to not emit onCanceled and caused the touch points 'pressed' property to not become 'false' after the MPTA was hidden or disabled. We now ungrab the touch points where we already ungrabbed the mouse. Change-Id: I90a5d4fa4b3fa470b8b60881c80418e79061f001 Task-number: QTBUG-42928 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
fb152064 -
Kai Koehne authored
If configured with logging rules (QT_LOGGING_RULES=), qt.scenegraph.info=true will be interpreted as enabling QtInfoMsg for the qt.scenegraph category and subcategories. [ChangeLog][QtQuick] qt.scenegraph.info logging category got renamed to qt.scenegraph.general. Task-number: QTBUG-54238 Change-Id: I7601e522697c3b4b00b6e9866b803d91f72e76fc Reviewed-by:
Gunnar Sletta <gunnar@sletta.org> Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
6c16a50a -
Kai Koehne authored
Fix crash when creating a QQuickWidget where the offscreenWindow context is valid, but the window shareContext is not. This happens e.g. when QWebEngineWidgets is loaded, that creates a globally shared context. Task-number: QTBUG-54020 Change-Id: Ieeba0c20d12cce220b22cdd76adaf87d1ab2649e Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by:
Laszlo Agocs <laszlo.agocs@qt.io>
a3935184 -
Laszlo Agocs authored
Task-number: QTBUG-54133 Change-Id: I68e41c3d6c066745058db0c15984d680d6c05ee9 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
8d35bf97 -
Allan Sandfeld Jensen authored
QQuickWidget may be used with just a root item, and won't need a QmlEngine in that case. So if one isn't given to the constructor, only create one when one is needed for evaluating source. Change-Id: I96cfe5e2473d5d53fc2d52d4646d36c43f4ccb8a Reviewed-by:
Laszlo Agocs <laszlo.agocs@qt.io>
c9d4c8ed -
Jian Liang authored
Don't forget to drop refcount of QQmlTypeData object in QQmlType::resolveCompositeBaseType() to prevent leakage. Change-Id: I079839a3347def1c2ac8f9cc07a52debb885b36e Reviewed-by:
Simon Hausmann <simon.hausmann@qt.io>
188b160d -
Laszlo Agocs authored
Having an animated QQuickFramebufferObject inside a QQuickWidget is currently broken due to losing update requests. The problems are introduced in 4b4cf31c where we may erroneously reset the updatePending false even though there may be an active triggerUpdate ticking via the 5 ms update timer. Task-number: QTBUG-54239 Change-Id: If84af8ec9c992761cfef9049de642a943f91cfe6 Reviewed-by:
Paul Olav Tvete <paul.tvete@qt.io>
1b897195 -
Allan Sandfeld Jensen authored
A common usecase appears to be to set variables in the rootContext before loading a url in a QQuickWidget. We there need to ensure there is a QmlEngine to set variables on when this is attempted. Change-Id: I07aff2104313eeb3fab902ea3c6043c3c82c50f7 Reviewed-by:
Laszlo Agocs <laszlo.agocs@qt.io>
97212616 -
Nico Vertriest authored
Can't link to 'Qt Quick Controls - Basic Layouts Example' Change-Id: I74abd84549a870e800a6c5fb361565a78e8605ee Reviewed-by:
Topi Reiniö <topi.reinio@theqtcompany.com>
c0e4ef9f -
Nico Vertriest authored
Cannot find file to quote from: qml/windowconstraints.qml Change-Id: Ic01061c316d56f1d2d1bf2be394fe9395ce9c79a Reviewed-by:
Topi Reiniö <topi.reinio@theqtcompany.com> Reviewed-by:
Martin Smith <martin.smith@theqtcompany.com>
d5cb1bf4 -
Liang Qi authored
Change-Id: I70c0c672708522f7157849365cc53ee271d8e460
5f2249f4 -
Kai Koehne authored
Fixes a regression introduced in 541eb6b7 . There's no point in setting AA_ShareOpenGLContexts for the minimal plugin. Change-Id: Ibcc65ede41acf5a8cf22eacef4b94c20048a354a Reviewed-by:
Marco Benelli <marco.benelli@qt.io>
ac44a5b5
Showing
238 Bytes
135 Bytes