-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qt 6.2 QJSEngine meyatype converter #8
base: dev
Are you sure you want to change the base?
Commits on Dec 8, 2022
-
Stabilize rendering of Rectangle borders under fractional scaling
By default, border widths are rounded to integer values (in QSGBasicInternalRectangleNode::updateGeometry()), so one avoids artifacts where the rendered width can fluctuate with one pixel if the Rectangle coordinates are fractional. However, that rounding was done before the device pixel ratio scaling, so if the dpr was fractional, one would get a fractional rendered border width, and hence fluctuations. Fix by taking the dpr into account. The rounding is done in the Item, where the dpr is known, instead of the SG Node. Fixes: QTBUG-108831 Change-Id: I9a1d8180c72dd5e1b1eaa9f1c420eb9944f1e5a5 Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 73a3b69) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a3759ce - Browse repository at this point
Copy the full SHA a3759ceView commit details
Commits on Dec 9, 2022
-
QQuickNinePatchImage: fix aliasing by respecting the smooth property
When scaling with fractional values, aliasing can occur. Use the same approach as BorderImage and respect the smooth property of NinePatchImage. This property comes from QQuickImageBase, which sets it to true by default. We change QQuickNinePatchImage's default value for it to false, but this can be overridden by setting QT_QUICK_CONTROLS_IMAGINE_SMOOTH to 1. As NinePatchImage is not public API, and users would have to set the smooth property on every image (where some items contain multiple NinePatchImages), it's better to have one place to set this for all controls. [ChangeLog][Controls] The Imagine style now supports smooth scaling for 9-patch images when the QT_QUICK_CONTROLS_IMAGINE_SMOOTH environment variable is set to 1. Fixes: QTBUG-107989 Change-Id: I250a041f87c0270d67af191168f7bcfbf6237925 Reviewed-by: Richard Moe Gustavsen <[email protected]> (cherry picked from commit 649151b) Reviewed-by: Paul Wicking <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 361d4bd - Browse repository at this point
Copy the full SHA 361d4bdView commit details -
QV4::Heap::SharedArrayBuffer: avoid std::aligned_storage (deprecated …
…in C++23) ... by rolling our own. Qt 5.15 uses a pointer (additional indirection), not aligned_storage, so isn't affected. References: - cplusplus/papers#197 - https://wg21.link/p1413 Manual conflict resolutions: - adapted to different member names and private/public access in the 6.2 class vis-a-vis the 6.4+ version. Task-number: QTBUG-99122 Change-Id: Ia116dc11336901a19fc227fb68ac266c1bfbbcb1 Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 6e9a9ed) Reviewed-by: Qt CI Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8df9a2 - Browse repository at this point
Copy the full SHA a8df9a2View commit details
Commits on Dec 11, 2022
-
Change-Id: Ia8761ba9c2894e1eb534c479d55e2dfd10ecc2b1 Reviewed-by: Tarja Sundqvist <[email protected]>
Tarja Sundqvist committedDec 11, 2022 Configuration menu - View commit details
-
Copy full SHA for adf1405 - Browse repository at this point
Copy the full SHA adf1405View commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I0231f2f00db9a6f6593a9e33e7eb35501c648b0b Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedDec 11, 2022 Configuration menu - View commit details
-
Copy full SHA for d0c4361 - Browse repository at this point
Copy the full SHA d0c4361View commit details
Commits on Dec 13, 2022
-
Fixes: QTBUG-107492 Change-Id: I3f5ad0421bbd0822c76c5e32e42616461cde31c3 Reviewed-by: Leena Miettinen <[email protected]> (cherry picked from commit 39e584f) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cffac1d - Browse repository at this point
Copy the full SHA cffac1dView commit details
Commits on Dec 14, 2022
-
qmake: Fix generated *_qmlcache.cpp file paths
...for source files that are outside of the source directory. Having QML files that are generated in the build directory led to *_qmlcache.cpp files with very long file names, hitting file system limitations on Windows. Apply the same fix that was done for generated qmlcache.qrc files in commit 5d7710a. Task-number: QTBUG-108150 Change-Id: Icef9dbf40fc7ade54b584bcdc8799c4cc95ac76d Reviewed-by: Alexandru Croitor <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit e4feab1) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1be2e9 - Browse repository at this point
Copy the full SHA f1be2e9View commit details
Commits on Dec 15, 2022
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Icb82ba585486d19afbb324e02ecf04658ba9c0fe Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedDec 15, 2022 Configuration menu - View commit details
-
Copy full SHA for 0cd3892 - Browse repository at this point
Copy the full SHA 0cd3892View commit details -
QSKIP tst_qquickimageparticle::test_tabled when running on linux
tst_qquickimageparticle::test_tabled is crashing randomly whit Ubuntu 22.04 Task-number: QTBUG-107707 Change-Id: I43d00e0d66c867355d0dd52b001ee0c347bc0ce2 Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> (cherry picked from commit 29e3458)
Configuration menu - View commit details
-
Copy full SHA for c759a90 - Browse repository at this point
Copy the full SHA c759a90View commit details -
doc: Fix up setGraphicsApi() since tag
It's the [set]sceneGraphBackend() functions that are from 5.8, the new functions in Qt 6 are since 6.0. Change-Id: If36f42615d53bd964f05ba42846b9322d8f1a0e4 Reviewed-by: Christian Strømme <[email protected]> (cherry picked from commit 848f40f) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0f5633 - Browse repository at this point
Copy the full SHA c0f5633View commit details
Commits on Dec 16, 2022
-
qv4qobjectwrapper: return false on failed argument conversion
It was possible to call c++-methods (either invokable or as slot) with wrong arguments, which caused a crash. The reason was that CallMethod(...) converted something to a QObject without checking if it was an actual QObject. The wrongly typed argument would end up reinterpret_cast'ed into another type for the call, which leads to segmentation fault when accessing the argument in the function. Added a test where an int tried to be reinterpret-cast'ed into a QFont. Fixes: QTBUG-108994 Change-Id: I8c45c9124411ad3fd100faed0b03390843f7d034 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit cda417c)
Configuration menu - View commit details
-
Copy full SHA for 99b7685 - Browse repository at this point
Copy the full SHA 99b7685View commit details -
Documentation: Make note about QSGGeometry storing a reference to the…
… attribute more prominent Task-number: PYSIDE-1345 Change-Id: I765e32d367c36add97a08c03df5e0ac30e92e56e Reviewed-by: Laszlo Agocs <[email protected]> (cherry picked from commit c6e294f) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bad34b4 - Browse repository at this point
Copy the full SHA bad34b4View commit details -
Don't override exclusive touch grab of filtered item
A parent that filters mouse/touch events for a child might make the child the exclusive grabber of the touch point when filtering, and the child might have the keepTouchGrab property set. In that case, don't override the exclusive grabber with the filtering parent. Task-number: QTBUG-105312 Change-Id: Ic04513987d5ecb2cd0b12939b7d66091e85b35ee Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit f15f1d6) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5335c37 - Browse repository at this point
Copy the full SHA 5335c37View commit details -
Add test for touch events with SplitView
This broke in 80166d5, so to ensure that doesn't happen again, add a test that is expected to fail until the issue is fixed. Task-number: QTBUG-105312 Change-Id: I70462304b5bf74c58420632a7e512be8d7cbb817 Reviewed-by: Volker Hilsheimer <[email protected]> Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit b31d4dc)
Configuration menu - View commit details
-
Copy full SHA for 09e7059 - Browse repository at this point
Copy the full SHA 09e7059View commit details -
Implement touch event handling for SplitView
Amend 80166d5, which broke touch event handling in SplitView. Implement handling of TouchBegin/Update/End events equivalently to the mouse event handling. As a drive-by, rename the logging category from 'mouse' to 'pointer', and refactor the if/else sequence to a switch statement, reducing duplication of code that's common for all event types. Remove expectFail from the test that now passes. Fixes: QTBUG-105312 Change-Id: I156f55fa40b2afaaa115e59940d26187121fc16a Reviewed-by: Mitch Curtis <[email protected]> Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 6de2397) Reviewed-by: Volker Hilsheimer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 161bd51 - Browse repository at this point
Copy the full SHA 161bd51View commit details
Commits on Dec 17, 2022
-
Fix ListView.isCurrentItem for DelegateModel, take 2
The attached ListView.isCurrentItem property is updated when QQuickItemViewPrivate::updateCurrent() method is called. During the initialization it could be potentially called twice: * from the QQuickItemView::setCurrentIndex() method, but that does not happen, because the isComponentCompleted() condition is not fulfilled at that time. * from QQuickItemView::componentComplete() method, but that does not happen, because the d->isValid() condition is not fulfilled. The latter means that the model is not yet initialized. This patch attempts to fix it by adding the updateCurrent() call into layout() method. This method is called each time the component needs to be redrawn, so it creates the proper currentItem during the first call. Most of the subsequent calls will do nothing, because the currentItem will be non-null, and the currentIndex will not change. The unit-test is taken from the reverted commit d9f9d77. Another unit-test is meant to check that there is no regression like in QTBUG-98315. Done-with: Joni Poikelin <[email protected]> Fixes: QTBUG-86744 Change-Id: Iab86a9c0e22660126f152727e8bd393ac17f5d15 Reviewed-by: Mitch Curtis <[email protected]> Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 9124fce) Reviewed-by: Ivan Solovev <[email protected]>
Ivan Solovev committedDec 17, 2022 Configuration menu - View commit details
-
Copy full SHA for da7cb43 - Browse repository at this point
Copy the full SHA da7cb43View commit details
Commits on Dec 19, 2022
-
Drawer: don't get stuck in open state after touches outside
If the Drawer does not cover the whole window, it's possible to tap outside the dimmer overlay. In that case, next time you tap on the dimmer, you hit this early return in handleRelease in which pressPoint.isNull(), so it was not setting touchId back to -1 and doing the other cleanup/reset tasks. This is a touch release, and touchId should always be eventually reset after a touch release, regardless of the code path. Now QQuickDrawerPrivate::handleRelease() has a QScopeGuard to ensure that cleanup is done regardless of early returns. That's still not enough; but when we receive TouchEnd in QPopupPriv::handleTouchEvent(), it means that _all_ touchpoints are released. So as a fallback for multi-touch cases, we now ensure that all releases are handled and stored state is reset, regardless of whether an individual point ID matches the stored touchId. Fixes: QTBUG-103811 Change-Id: Ia637bae00d8edb7f7f4c8fb4337b4c3d72fe4e60 Reviewed-by: Doris Verria <[email protected]> (cherry picked from commit 730cdc5) Reviewed-by: Mitch Curtis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0568b3c - Browse repository at this point
Copy the full SHA 0568b3cView commit details -
Flickable: prevent fixup() from being called while dragging
A previous patch 5647527 causes a regression. The purpose of the patch, that caused this regression, was to update the pressPos variables, in cases where the contentItem's geometry was modified externally, while a user were dragging the contentItem around. The mistake that was made, was how width and height changes were handled. We had previously added logic in setContentWidth() and setContentHeight() that would call fixup() (with immediate fixupMode) to ensure that the contentItem would immediately be repositioned inside the flickable's viewport, if the contentItem was being dragged. It turns out that setContentWidth() and setContentHeight() are being called from QQuickItemViewPrivate::updateViewport(), which happens quite often, while dragging. This would make fixup() and dragging constantly interfere with each other, since they'd not always agree on a specific position for the contentItem. This patch reverts the changes made to setContentWidth() and setContentHeight(), since it turns out that those changes weren't necessary after all. QQuickFlickablePrivate::itemGeometryChanged() only calls viewportMoved() on x and y changes anyways. Done-with: Jan Arve Sæther <[email protected]> Done-with: Santhosh Kumar Selvaraj <[email protected]> Fixes: QTBUG-109140 Change-Id: I0bddf8685d3afc1ae04b2c092212d3c1bd742c3b Reviewed-by: Paul Wicking <[email protected]> (cherry picked from commit b307bf3) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Oliver Eftevaag authored and Qt Cherry-pick Bot committedDec 19, 2022 Configuration menu - View commit details
-
Copy full SHA for 44485f4 - Browse repository at this point
Copy the full SHA 44485f4View commit details
Commits on Dec 20, 2022
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I862a5809107914aa5b3dc30fe8bebdcbc16903b8 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedDec 20, 2022 Configuration menu - View commit details
-
Copy full SHA for 7e7f24a - Browse repository at this point
Copy the full SHA 7e7f24aView commit details -
Fix missing glyphs when using NativeRendering
When we look up glyphs with subpixel positions in the glyph cache, we use the calculated subpixel position (from a set of predefined subpixel positions) as key. In some very rare cases, we could end up with different subpixel positions when looking up an on-screen position than when we entered it into the cache, due to numerical differences when doing the calculation. The reason for this was that when entering the glyph into the cache, we used the 16.6 fixed point representation, whereas when looking up, we used the unmodified float. In some cases, the converted fixed point approximation might snap to a different predefined subpixel position than the floating point equivalent. To avoid this, we reuse the converted fixed point positions when looking up the glyphs in the cache. [ChangeLog][Text] Fixed an issue where text using NativeRendering would sometimes be missing glyphs. Fixes: QTBUG-108713 Change-Id: Iecc264eb3d27e875c24257eaefcfb18a1a5fb5be Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Lars Knoll <[email protected]> (cherry picked from commit 4bad329) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 413b4d1 - Browse repository at this point
Copy the full SHA 413b4d1View commit details
Commits on Dec 21, 2022
-
qquickpopuppositioner: fix popup mirroring
Fixed a bug where QQuickPopupPositioner::reposition() was confusing coordinates obtained by mapToSource() and mapToItem() during mirroring of the popup. This leads to popups at the wrong places, e.g. when a rotated combobox has not enough space to unroll its popup. Translate the coordinates using mapToItem instead of mapToSource after computing the alternative position of the popup (e.g. when it can not be unrolled correctly). Add a test to check if the combobox popup appears at the right places. Skip native styles as they might be pushing the popup around, same for Android as they might have too small screens (which involves more positioning logic then just the mirroring). Fixes: QTBUG-105148 Change-Id: I0033509a8824e3a71698f91ef832b94527d8e2c8 Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit 5c1d96b)
Configuration menu - View commit details
-
Copy full SHA for 5ccfea3 - Browse repository at this point
Copy the full SHA 5ccfea3View commit details
Commits on Dec 22, 2022
-
QML: Consider deep aliases when finding binding targets
If we have a deep alias we need to bind to the inner object rather than the outer one. Fixes: QTBUG-109417 Change-Id: Iefe8641026cfbbf9199b2bb8d9fa2f5fba591f17 Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit e9b7eaa) Reviewed-by: Sami Shalayel <[email protected]>
Ulf Hermann committedDec 22, 2022 Configuration menu - View commit details
-
Copy full SHA for 75ec542 - Browse repository at this point
Copy the full SHA 75ec542View commit details
Commits on Dec 23, 2022
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Ia6afd11314a879e264198c73685dcd8886ca296e Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedDec 23, 2022 Configuration menu - View commit details
-
Copy full SHA for 1009501 - Browse repository at this point
Copy the full SHA 1009501View commit details
Commits on Dec 28, 2022
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I3130254c32e47d2ca055c641cd0cef6f8705505d Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedDec 28, 2022 Configuration menu - View commit details
-
Copy full SHA for 38e2430 - Browse repository at this point
Copy the full SHA 38e2430View commit details
Commits on Jan 3, 2023
-
map example: don't restrict pinch-zoom to center
A big advantage of PinchHandler over PinchArea is the ability to zoom into a particular location in the target Item, so let's not fail to show that off. Change-Id: I0f22abff99bdc60bac27e72fd5f66be4796794df Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit e39b457) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0206d0a - Browse repository at this point
Copy the full SHA 0206d0aView commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Iab9599134113833cd9b63a7ae9d85e1f78577668 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJan 3, 2023 Configuration menu - View commit details
-
Copy full SHA for f3a153c - Browse repository at this point
Copy the full SHA f3a153cView commit details -
QQmlPropertyCache: don't depend on locale for toupper
The C toupper/tolower functions are locale-dependent. Given the right locale (Türkiye, e.g.), toupper(i) is either - İ (LATIN CAPITAL LETTER I WITH DOT ABOVE; if representable) or - i (unchanged; if it isn't) Both results are wrong for the present use-case. Use the new QtMiscUtils::toAsciiUpper() function instead. Amends d481f2f. Task-number: QTBUG-109235 Change-Id: Ib66593fc7eff3edc0cc16291ca3eae8bdf0dd8ed Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 179200d) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fab0c0 - Browse repository at this point
Copy the full SHA 7fab0c0View commit details
Commits on Jan 4, 2023
-
Examples: Update custom QSGMaterialShader correctly
Change-Id: I469c4f813f006ca47f9660a0c9ccfa30bbe89dc6 Reviewed-by: Laszlo Agocs <[email protected]> (cherry picked from commit f92a2a6) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 047e3c9 - Browse repository at this point
Copy the full SHA 047e3c9View commit details -
Test MouseArea in QQuickWidget
Task-number: QTBUG-101736 Change-Id: Iecbe6b4da75851cb94c4c2bae41bb0cb50f0ed30 Reviewed-by: Volker Hilsheimer <[email protected]> (cherry picked from commit 26cd43f)
Configuration menu - View commit details
-
Copy full SHA for a21b91c - Browse repository at this point
Copy the full SHA a21b91cView commit details -
QQuickWidget: always accept touch events and grabbed event points
A QQuickWidget contains a Quick UI, which can be expected to handle touch events, and it handles touch events by forwarding them to the QQuickWindow. So set the AcceptTouchEvents attribute and let the Qt Quick delivery machinery deal with the touch-mouse synthesis within the scene. Also, Qt Quick's event delivery might return event points as ignored after setting the exclusive grabber. Qt Widgets touch event delivery logic doesn't care about exclusive grabbers, and relies on the event points being accepted to make the widget that received the TouchBegin an implicit grabber. QQuickWidget needs to translate those states back, so accept all points that come back with a grabber. Add a test that verifies that a button in a popup gets all events, and that those events are translated correctly - without the fix, the "clicked" test fails, as the release is delivered, but with coordinates outside of the button. Also test that we can have two QQuickWidgets where each gets one touch point. Fixes: QTBUG-101736 Change-Id: I3a2bf05fd297ae4d72b6e236ecd8e5ddac37ce06 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Paul Wicking <[email protected]> (cherry picked from commit dc8f44b) Reviewed-by: Volker Hilsheimer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9565b3 - Browse repository at this point
Copy the full SHA b9565b3View commit details
Commits on Jan 6, 2023
-
QQmlObjectCreator: Do not crash on read-only bindable
If the binding was not actually set (because the bindable is readonly) then it's dead after the pop_front. We cannot examine it anymore, and we don't have to. Fixes: QTBUG-109597 Change-Id: I3bf0ca501aa9ad45a64ad181b685ca6d9d325231 Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 4dfcaa7) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Ulf Hermann authored and Qt Cherry-pick Bot committedJan 6, 2023 Configuration menu - View commit details
-
Copy full SHA for 18e9d3d - Browse repository at this point
Copy the full SHA 18e9d3dView commit details
Commits on Jan 13, 2023
-
Fix Animators in case of node recreate
Those node recreations happen when the RHI backend is recreated. One such case is GLX_NV_robustness_video_memory_purge In such cases QQuickTransformAnimatorJob::invalidate() will be called, however the node will never be re-set Change-Id: I3136c220f41781689f4a271caf0543a3b659447c Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]> (cherry picked from commit 0359381) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Thomas Senyk authored and Qt Cherry-pick Bot committedJan 13, 2023 Configuration menu - View commit details
-
Copy full SHA for c0bc883 - Browse repository at this point
Copy the full SHA c0bc883View commit details -
Fix connection leak in header proxy model
In header view, the header proxy model which acts as proxy for table model, connects headerDataChanged() signal to a slot with both sender and receiver as table model object. This connection happens each time header view instantiates or model in the header view need to be reset. In a case, where header view reinstantiated (released and loaded) and table model not released, the newly instantiated header proxy model creates a connection to the existing table model for headerDataChanged() signal and this creates a connection leak. This can be avoided by making header proxy model as receiver similar to other slots within the proxy model. Fixes: QTBUG-108610 Change-Id: I1b250f98310e16743f7fc2c4cc11cbfb3d9fff45 Reviewed-by: Richard Moe Gustavsen <[email protected]> (cherry picked from commit 6b4939d) Reviewed-by: Santhosh Kumar <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
Santhosh Kumar committedJan 13, 2023 Configuration menu - View commit details
-
Copy full SHA for 8e4065a - Browse repository at this point
Copy the full SHA 8e4065aView commit details
Commits on Jan 16, 2023
-
Ignore DPR for image providers if the requested size is not set
If the requested size is not set, the QQuickImageBasePrivate::sourcesize is -1. Multiplying it with devicePixelRatio is useless because it will be still an invalid size and it will be ignored. Nonetheless, QQuickImageBase::pixmapChange() will still divide the size with devicePixelRatio resulting smaller images. The issue is reproducible with the tst_qquickimageprovider auto test if ran with QT_SCALE_FACTOR=2 set. Fixes: QTBUG-109854 Change-Id: I9fea39c34144e5eae7e421bccc8dc65388dd5b32 Reviewed-by: Eirik Aavitsland <[email protected]> (cherry picked from commit 1609f86) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8017d84 - Browse repository at this point
Copy the full SHA 8017d84View commit details
Commits on Jan 17, 2023
-
Fix build with -no-feature-network
latest QuickTestUtils needs Qt::Network (QTBUG-107472) Disable to build it and another module depending on QuickTestUtils unless network is available. Change-Id: Ib522efa68d9ca4669afaf1fc8bbb18b079995ac1 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit b539b1f) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9443f1e - Browse repository at this point
Copy the full SHA 9443f1eView commit details -
Fix some qsizetype vs. quint32 problems
On 32bit platforms you cannot losslessly convert quint32 to qsizetype. However, in the places we are facing here, we are only interested in signed 32bit numbers anyway. Change-Id: I93a07c2847bd5bfae426dccbb6c0e33c5758442d Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 4e1fe07) Reviewed-by: Sami Shalayel <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
Ulf Hermann committedJan 17, 2023 Configuration menu - View commit details
-
Copy full SHA for c0f4992 - Browse repository at this point
Copy the full SHA c0f4992View commit details -
Doc: Properly document the remaining matrix4x4 methods
The documentation format for QML methods is peculiar, but this should do for now. Fixes: QTBUG-90480 Change-Id: I0fdbb7f4a704990de1356010c8b7d44764b7e41a Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 4b7566a)
Ulf Hermann committedJan 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 44d6e0d - Browse repository at this point
Copy the full SHA 44d6e0dView commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I81a8de8042fdd200b8a7874d04abaef469cad8f0 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJan 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 0a01bd3 - Browse repository at this point
Copy the full SHA 0a01bd3View commit details
Commits on Jan 23, 2023
-
Test262Runner: fix -Wunused-but-set-variable
The 'int line' variable is shadowed a few lines below by the 'QByteArray line' one, even in the initial commit, so it can never have been used, except for the increment in the first line of the loop's bodies. Remove the variable, fix the warning. Found by Clang 15: test262runner.cpp:380:9: warning: variable 'line' set but not used [-Wunused-but-set-variable] int line = 0; ^ Amends d9c4a52. Change-Id: I2139aa4552d1ff2ddbb5737e2a1b26650d6519e7 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 9d04888) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42d6958 - Browse repository at this point
Copy the full SHA 42d6958View commit details -
qtest_quickcontrols_p.h: don't mark functions file-static
It's a header, and at least tst_styleimports.cpp doesn't use all of the functions, so throws a -Wunused-function warning on Clang 15 for runTests(): qtest_quickcontrols_p.h:36:12: warning: unused function 'runTests' [-Wunused-function] static int runTests(QObject *testObject, int argc, char *argv[]) ^ Fix by marking the functions as inline instead. Amends e310dad. Change-Id: Id6cee7bdc2fe93a5e034d7ed445dc5f2c5d35360 Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit e34142e) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca25eba - Browse repository at this point
Copy the full SHA ca25ebaView commit details
Commits on Jan 24, 2023
-
Fix Shape stroke color when changing alpha from 0 to non-0
The handling of the stroke color lacks the extra checks that are performed when setting the fill color. Switching from "transparent" to another color involves setting not just the color-dirty flag but also the geometry-dirty since alpha == 0 may skip operations such as triangulating, meaning the work has to be performed later when once again switching to an alpha > 0 color. Change-Id: Ibd6d762cfcb07ca8b9c852553c979bcb4ee9fa21 Fixes: QTBUG-109882 Reviewed-by: Christian Strømme <[email protected]> (cherry picked from commit 650e7d4) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6576cc - Browse repository at this point
Copy the full SHA f6576ccView commit details -
You should really not use it, but people should know about it. We cannot deprecate it because QtQuick Controls needs it. Fixes: QTBUG-95448 Change-Id: Idcc31d13a8eaa709944f2271389642b7fdbe84fe Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 05908e6) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Ulf Hermann authored and Qt Cherry-pick Bot committedJan 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 8645d40 - Browse repository at this point
Copy the full SHA 8645d40View commit details
Commits on Jan 25, 2023
-
Fix type of QtQuick::BoundaryRule::easing in documentation
Change-Id: I86ba0659fcd5a0c38b664738b9e0b3b28562dbf5 Reviewed-by: Volker Hilsheimer <[email protected]> (cherry picked from commit d09a077)
Matthias Rauter committedJan 25, 2023 Configuration menu - View commit details
-
Copy full SHA for cfb690f - Browse repository at this point
Copy the full SHA cfb690fView commit details -
QQmlImport: Handle file selectors in qmldir
With file selectors, a type can exist in the same version under different paths. Detect this case, canonicalize the filename to the selector free version, and rely on the engine to resolve a URL to the correct file. Fixes: QTBUG-107797 Change-Id: I0f74fd37936abfa08547fb439bfa5264e6ca4787 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 9bfb27b) Reviewed-by: Sami Shalayel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58e55b6 - Browse repository at this point
Copy the full SHA 58e55b6View commit details -
Fix content position of table view control
The estimated width in the table view has been used to layout and accordingly, edges of the table be loaded. This estimated width will be passed to flickable to adjust its parameters and width/position of scroll bar. This in turn change geometry of table view with respect to view port. In some scenarios, this estimated width during layout causes table view to be misaligned. This can be avoided by calculating and updating latest content width of the table view once after loading the edges of table. Fixes: QTBUG-108664 Change-Id: I47c3325bc9e51f75c87564a2ec1de4522e4a7e60 Reviewed-by: Richard Moe Gustavsen <[email protected]> (cherry picked from commit 19b3500) Reviewed-by: Qt CI Bot <[email protected]>
Santhosh Kumar committedJan 25, 2023 Configuration menu - View commit details
-
Copy full SHA for 1577111 - Browse repository at this point
Copy the full SHA 1577111View commit details
Commits on Jan 26, 2023
-
Doc: explain how to manage currentIndex without breaking bindings
There is a section for this on Container's page, so let's link to it in more places. Task-number: QTBUG-109996 Change-Id: I8c96f0cb0998d65a2c2669b6358236a14e0352dc Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit 70f1732) Reviewed-by: Fabian Kosmale <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 80723c4 - Browse repository at this point
Copy the full SHA 80723c4View commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: If1180dba6ac977225e932d8a18baf0b8fcda56eb Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJan 26, 2023 Configuration menu - View commit details
-
Copy full SHA for a6b0fa3 - Browse repository at this point
Copy the full SHA a6b0fa3View commit details
Commits on Jan 27, 2023
-
qmlformat: Add ECMAScript class reformatter
qmlformat currently discards ES classes, and only reformats the element list inside that class. Implement a class declaration visitor which reformats ES classes in qml file. Fixes: QTBUG-110321 Change-Id: I9fa2561902dbcfde5e8fb041bc5dedcc56bb66cc Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit d962fe4) Reviewed-by: Fabian Kosmale <[email protected]>
Semih Yavuz committedJan 27, 2023 Configuration menu - View commit details
-
Copy full SHA for 20e1812 - Browse repository at this point
Copy the full SHA 20e1812View commit details
Commits on Jan 30, 2023
-
Fix positioning of text decoration with some fonts
Actually it just reverts 4db31cb. When calculating a position for a decoration, we should just apply the decoration's offset to the line's baseline (line.y + line.ascent). The regression was introduced by 54b5287adf4f5b004fcf47840c7f2e1e561a90c1 in Qt 5.6, when we switched from prepending leading to the baseline of text and started appending it instead. Fixes: QTBUG-96700 Fixes: QTBUG-97594 Change-Id: I7f816b71859ffcb6b1c641f0c8b8e1d810bfc525 Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]> (cherry picked from commit 5d082dc) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fcacc00 - Browse repository at this point
Copy the full SHA fcacc00View commit details
Commits on Jan 31, 2023
-
ListModel: Use PersistentValue to keep track of objects
This is the simplest way to prevent the garbage collector from destroying the object while at the same time allowing a manual destruction. Task-number: QTBUG-95895 Task-number: QTBUG-96167 Fixes: QTBUG-91390 Change-Id: Ic3f3146bc555991068ce3367971e050f745d235d Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 718f346)
Ulf Hermann committedJan 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 749470e - Browse repository at this point
Copy the full SHA 749470eView commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Ieb101f4a6275eaf00d3f75533dfb075116a539e5 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJan 31, 2023 Configuration menu - View commit details
-
Copy full SHA for d5b6f58 - Browse repository at this point
Copy the full SHA d5b6f58View commit details
Commits on Feb 1, 2023
-
Doc: Disambiguate description of module URIs
While you can, technically, have URIs that contain '$', or '幽', '霊', '文', and '字', you really shouldn't. Amends commit 9e4f6d9. Fixes: QTBUG-106074 Change-Id: Ic0f13b6ea2bb704d2bd9f4fa5841aa69a88cd5a7 Reviewed-by: Sami Shalayel <[email protected]> Reviewed-by: Semih Yavuz <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit a29f316)
Ulf Hermann committedFeb 1, 2023 Configuration menu - View commit details
-
Copy full SHA for 3d80fdb - Browse repository at this point
Copy the full SHA 3d80fdbView commit details
Commits on Feb 2, 2023
-
Fix QQuickImageParticle in case of QRhi re-create
With this patch QQuickImageParticle will now properly re-query the m_rhi member the next time updatePaintNode() is called Additionally a new (override) QQuickImageParticle::invalidateSceneGraph() will call reset() so that potential sub-nodes (e.g. SpriteParticle) will also be re-created Last but not least: QQuickSpriteEngine::startAssemblingImage() was missing to reset it's sprites container (without that the sprites would pile up and eventually fail with "Too many animations" error) Change-Id: I172fd23ddfac475542aabc6cc17d8fee74f728b2 Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]> (cherry picked from commit b899dff) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Thomas Senyk authored and Qt Cherry-pick Bot committedFeb 2, 2023 Configuration menu - View commit details
-
Copy full SHA for a31179e - Browse repository at this point
Copy the full SHA a31179eView commit details -
Fix QQuickCanvasItem in case of invalidateSceneGraph()
Adding requestPaint() at the end of invalidateSceneGraph() will make sure that painting is trigger properly again, including the (re-)creation of the painting context. As that request of painting will also recreate the painting context, it will also allow the creation of a new QSGNode Without this patch a nullptr will be returned as QSGNode until a "proper" dirty or update() happens due to property changes or explicit update calls. Change-Id: If1e79d135d3d1f5253cb41a3be1630cfed3865dd Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]> (cherry picked from commit 185b0d5) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Thomas Senyk authored and Qt Cherry-pick Bot committedFeb 2, 2023 Configuration menu - View commit details
-
Copy full SHA for 040d4bb - Browse repository at this point
Copy the full SHA 040d4bbView commit details
Commits on Feb 3, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I440daea1d39d1877a95632181f1ac0ecbfbd7888 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedFeb 3, 2023 Configuration menu - View commit details
-
Copy full SHA for 6ceabf0 - Browse repository at this point
Copy the full SHA 6ceabf0View commit details
Commits on Feb 7, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Ic92e09ee1c76d2c5598075abce0c83e46b179464 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedFeb 7, 2023 Configuration menu - View commit details
-
Copy full SHA for e5cfb56 - Browse repository at this point
Copy the full SHA e5cfb56View commit details
Commits on Feb 8, 2023
-
Flipable: switch sides at 90 degrees regardless of camera distance
QQuickRotation::applyTo(QMatrix4x4 *matrix) uses QMatrix4x4::projectedRotate() to apply rotation in pseudo-3D. QQuickFlipablePrivate::updateSide() was previously applying QQuickRotation to QTransform to decide which side should be showing; but when using QTransform::map(QPointF) to get the position of the transformed point, it is affected by the distance-to-plane value. QMatrix4x4::projectedRotate() uses 1024 as distance from "camera" to plane; so if the items on the plane are too large, some coordinates on the plane may be behind the camera during rotation, which could cause QQuickFlipable to mistakenly think that the current side has become QQuickFlipable::Back. Now we directly calculate the side of QQuickFlipable in 3D space rather than performing projection, to avoid being affected by the camera distance value. We use QMatrix4x4 instead of QTransform. Fixes: QTBUG-75954 Change-Id: Ibb08f6f6de690f5b56c3130a1f7b09beb250c807 Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Mikołaj Boc <[email protected]> Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 036b615) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
JiDe Zhang authored and Qt Cherry-pick Bot committedFeb 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 7437ab9 - Browse repository at this point
Copy the full SHA 7437ab9View commit details -
Avoid crash updating source of shader-less effect
When a ShaderEffect did not have any shaders, we would register a "fake" bindPoint for the 'source' property with bindPoint 0. However, when actually linking the default shader program, the actual bindPoint is 1 (also matches what is in shadereffect.frag). When the property corresponding to the source updated, we would thus register an update for binding point 0. The initial value for binding point 1, from when the shader effect was loaded, would never be overwritten and when we iterated over the variables later and tried to cast do a qobject_cast on the (initial, now dangling) pointer stored for binding point 1, it would crash. Fixes: QTBUG-110111 Change-Id: I96c3e81908db8cce682b5447800fcb7a3fe5e0b9 Reviewed-by: Laszlo Agocs <[email protected]> (cherry picked from commit f708448) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f9fdde - Browse repository at this point
Copy the full SHA 8f9fddeView commit details
Commits on Feb 10, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Idae763007475b450f178084cc569801255067100 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedFeb 10, 2023 Configuration menu - View commit details
-
Copy full SHA for 176e6eb - Browse repository at this point
Copy the full SHA 176e6ebView commit details
Commits on Feb 11, 2023
-
QML: Invalidate any existing cache files when saving a CU to disk
Otherwise we just re-load the old cache file next time. That's clearly not intended. Fixes: QTBUG-111078 Change-Id: Ia65b46880eca2b6e8c4792a09f20716125beada3 Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 0a5eff0) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Ulf Hermann authored and Qt Cherry-pick Bot committedFeb 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 9f10edb - Browse repository at this point
Copy the full SHA 9f10edbView commit details
Commits on Feb 14, 2023
-
Doc: Mention QDS and UI files in Best Practices
Developers can easily break QDS .ui.qml files if they edit them as code. Link to the description of UI files in QDS Manual. Fixes: QTBUG-110354 Change-Id: Id5dc0e9fd420e0e4807a39d4f8d7d121e5137636 Reviewed-by: Thomas Hartmann <[email protected]> (cherry picked from commit 5fabb87) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92fae69 - Browse repository at this point
Copy the full SHA 92fae69View commit details
Commits on Feb 16, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I8a28949a711e45027ffc1b760977a636fc15dde0 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedFeb 16, 2023 Configuration menu - View commit details
-
Copy full SHA for a619c76 - Browse repository at this point
Copy the full SHA a619c76View commit details -
Defining QML Types from C++: Add CMake documentation
So far, we only documented the qmake workflow. Adjust the docs to mention how the same can be achieved in CMake. As a drive-by, use a versionless import in the QML example code. Fixes: QTBUG-107902 Change-Id: I08ac1262d0d93572077ec86be3b02ce1524bf52a Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 3126207) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc77e09 - Browse repository at this point
Copy the full SHA dc77e09View commit details
Commits on Feb 17, 2023
-
QQmlMetaType: Clear property caches on qmlClearTypeRegistrations
Otherwise we may retain dangling pointers referencing invalid property caches. Some metaobjects are created on the heap. If the memory manager decides to re-use the heap space for new metaobjects, we can retrieve the invalid property caches. Task-number: QTBUG-110933 Change-Id: Ic00bb852151bcf58ba6ae798a6bf2cea686a9e10 Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 6937f2e)
Ulf Hermann committedFeb 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 5d5e41e - Browse repository at this point
Copy the full SHA 5d5e41eView commit details -
doc: Add the handlerPoint.device property
Amends a1c9178 Task-number: QTBUG-76381 Change-Id: I7fdd15abbe15805815f5d2b2fc298501e1ab34d7 Reviewed-by: Ulf Hermann <[email protected]> Reviewed-by: Topi Reiniö <[email protected]> (cherry picked from commit 6215a53) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 404e54c - Browse repository at this point
Copy the full SHA 404e54cView commit details
Commits on Feb 21, 2023
-
Use SequentialAnimation.loops in FlashAnimation in handlers example
It looks less tedious. Amends 8503f88 Change-Id: I85690e6a8ceac4ebec1c00bcbbf6a81108096e6c Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit 40e2811) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b7e40f - Browse repository at this point
Copy the full SHA 0b7e40fView commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Icad96978a8344cc70c5dca99922b936ad785eb3c Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedFeb 21, 2023 Configuration menu - View commit details
-
Copy full SHA for b20b283 - Browse repository at this point
Copy the full SHA b20b283View commit details
Commits on Feb 22, 2023
-
QtQml: Fix coercion of undefined to float and double
It should result in NaN, not in 0. [ChangeLog][QtQml][Important Behavior Changes] Converting a JavaScript value to a double or float now always assumes JavaScript type coercion semantics. In particular, converting a value that is not actually a number now results in NaN where it previously sometimes resulted in 0. Fixes: QTBUG-111179 Change-Id: If24444ae9014c8972761c565a6920f06699e485c Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit b9834e0)
Ulf Hermann committedFeb 22, 2023 Configuration menu - View commit details
-
Copy full SHA for d015bb8 - Browse repository at this point
Copy the full SHA d015bb8View commit details
Commits on Feb 27, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I44a454cdae60d88af4c662b79d9e3cd06e90bbab Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedFeb 27, 2023 Configuration menu - View commit details
-
Copy full SHA for 7f04b61 - Browse repository at this point
Copy the full SHA 7f04b61View commit details
Commits on Mar 1, 2023
-
Doc: mention the order in which top-level transition animations are run
This is mentioned in the documentation for the transitions property and in "Playing Animations in Parallel or in Sequence", but is easy to miss if you only read the detailed description. It's an important detail that users should know, so add it. Change-Id: I6f074506ddc8a7b02e6114741d9fadef48cdc8ab Reviewed-by: Nicholas Bennett <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 0bb5a91) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3620c72 - Browse repository at this point
Copy the full SHA 3620c72View commit details -
Merge remote-tracking branch 'origin/tqtc/lts-6.2.6' into tqtc/lts-6.…
…2-opensource Change-Id: Ie5a87ae61d8ed0429225353ad46e5232d60f4daa
Tarja Sundqvist committedMar 1, 2023 Configuration menu - View commit details
-
Copy full SHA for 1529265 - Browse repository at this point
Copy the full SHA 1529265View commit details
Commits on Mar 2, 2023
-
doc: remove docs for HoverHandler.dragThreshold
Like acceptedButtons, HoverHandler.dragThreshold is irrelevant. Task-number: QTBUG-95395 Change-Id: I059e99449cff946b2caa945022b1f4bd4d2f845b Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 17e8e21) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 79fe01a - Browse repository at this point
Copy the full SHA 79fe01aView commit details -
doc: remove docs for PinchHandler.acceptedButtons
Mouse buttons are irrelevant to PinchHandler, of course. Change-Id: Idfe65d3408ff3a33314979174a886f3e51f2eb7b Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 69fa61a) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f38bd5e - Browse repository at this point
Copy the full SHA f38bd5eView commit details -
QtQml: Always throw when requesting an enum from an invalid singleton
The interpreter does this and so should the enum lookup adapter for generated C++ code. Fixes: QTBUG-109816 Change-Id: I576480c3ca808743ddc0ceaf2f0bd8a1de776a41 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 8cbb30a)
Ulf Hermann committedMar 2, 2023 Configuration menu - View commit details
-
Copy full SHA for 0398486 - Browse repository at this point
Copy the full SHA 0398486View commit details -
QQmlEngine: Improve import path method documentation
Instead of (partially) repeating the defaults listed in "QML Import Path", link to that section. Moreover, warn that setImportPath doesn't preserve the default paths. Task-number: QTBUG-109799 Change-Id: I6c2acb6efd1bd0984b3b540a75c7bced44127050 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 2d8b15c) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5340581 - Browse repository at this point
Copy the full SHA 5340581View commit details -
ListView: Mention section's support for required properties
It was used in the code snippet, but we didn't explain so far why it was there. Change-Id: I53005d897f4a3732b7707c7cc0e88f2842ca7433 Reviewed-by: Mitch Curtis <[email protected]> Reviewed-by: Santhosh Kumar <[email protected]> (cherry picked from commit a703701) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f568f1e - Browse repository at this point
Copy the full SHA f568f1eView commit details
Commits on Mar 3, 2023
-
Fix scoping of index in SwipeDelegate snippet
Fixes: QTBUG-111566 Change-Id: Idf3d5fd140f2b69215844ff25b24bfc2abfc14b1 Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit 925c6b0)
Configuration menu - View commit details
-
Copy full SHA for e5a0152 - Browse repository at this point
Copy the full SHA e5a0152View commit details
Commits on Mar 7, 2023
-
Fixes unintentional fall-through. Change-Id: Iab82677c5f81d16fefb3db04e10601a98cb81c67 Reviewed-by: Andy Nichols <[email protected]> (cherry picked from commit 2770316) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d847b1 - Browse repository at this point
Copy the full SHA 5d847b1View commit details
Commits on Mar 9, 2023
-
Doc: fix links in contains/containmentMask docs
Change-Id: Iae701dec938c5f126ebf90953af0733de775b385 Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit ee3d11f) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for deaa57c - Browse repository at this point
Copy the full SHA deaa57cView commit details -
Canvas test_url: wait until image is loaded
The loadImages() function has been waiting already since 6318560); but test_url() was not waiting, which could result in CI flakiness. Anyway tryVerify is better than waiting 200ms every time it's slow, and will give us a failure message about isImageLoaded() if it fails. Task-number: QTBUG-41043 Change-Id: I0bb552d3452d85342d2ffa3b6becded5b01177a8 Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit e37d2da) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a0ac2d - Browse repository at this point
Copy the full SHA 6a0ac2dView commit details
Commits on Mar 10, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I5a919703ec6a9a55b620f3a02c6f6a28a891e71a Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMar 10, 2023 Configuration menu - View commit details
-
Copy full SHA for cb0341c - Browse repository at this point
Copy the full SHA cb0341cView commit details -
Fix multiple object creation in Loader
QML Loader creates multiple object of same component during initial loading, if sourceComponent is assigned within state configuration and it evaluates to be true. This happens due to the effect of evaluating stage change (here in this case, setting loader source component) during component completion which internally creates component object and makes loader status be ready, even before Loader instantiates object. This patch adds a guard to check loader status and avoids object creation if status is already ready. Fixes: QTBUG-111559 Change-Id: I6c3456cd3bc35a717c139fbd3670c305304f480a Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 492dc98) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Santhosh Kumar authored and Qt Cherry-pick Bot committedMar 10, 2023 Configuration menu - View commit details
-
Copy full SHA for 1b2dbd9 - Browse repository at this point
Copy the full SHA 1b2dbd9View commit details
Commits on Mar 11, 2023
-
tst_qquickcanvasitem: wait for canvas before creating a context
Hopefully this reduces flakiness in CI, following the suggestion from the error message: Unable to use getContext() at this time, please wait for available: true Task-number: QTBUG-41043 Change-Id: I3710163cb197170e590f8fd7d188fa62f32ea649 Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit 223f1d4) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1cc973e - Browse repository at this point
Copy the full SHA 1cc973eView commit details
Commits on Mar 13, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I31c18e50e4f5e15fff7cc94d83ad6a94423f56e8 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMar 13, 2023 Configuration menu - View commit details
-
Copy full SHA for 9b821b4 - Browse repository at this point
Copy the full SHA 9b821b4View commit details
Commits on Mar 15, 2023
-
doc: Add qml PointerDevice, pointingDeviceUniqueId and PointerEvent
We need a link target for the GrabTransition enum argument in the PointerHandler::grabChanged QML signal doc, and a few other places. Fix warnings about failing to link in a couple of places. Fixes: QTBUG-102160 Task-number: QTBUG-104761 Change-Id: I92a544d363a6ff9e990c7d56c110bc5db1202bb3 Reviewed-by: Topi Reiniö <[email protected]> (cherry picked from commit e283c05) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b357aca - Browse repository at this point
Copy the full SHA b357acaView commit details -
doc: Add snippets and animations illustrating TapHandler.GesturePolicy
People are constantly confused by GesturePolicy and its default value, so we really need a "glanceable" reference in the docs to show the differences between use cases. Also clarify the pitfalls with the default DragThreshold value. We switch from the \value tag to a 2-column \table because the \image would otherwise break the table, and also because it saves space and acts as a meaningful reminder to have the animation right under the enum value that is being documented. Task-number: QTBUG-70397 Task-number: QTBUG-73262 Task-number: QTBUG-100534 Task-number: QTBUG-107239 Task-number: QTBUG-111310 Change-Id: I1ff45f58a8a8edf55f4a8696d881aa9e0bedcfe3 Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit a6e196c) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8fb5c3 - Browse repository at this point
Copy the full SHA a8fb5c3View commit details -
Document the Pointer Handlers example
Animated gifs were captured with byzanz-record, then converted to webp: gif2webp -lossy -min_size -q 40 -m 6 -mt -metadata none in.gif -o out.webp Fixes: QTBUG-96915 Change-Id: Iee2f4ef774de7862d93c7e4cdf7b2b5e0553bec4 Reviewed-by: Oliver Eftevaag <[email protected]> Reviewed-by: Doris Verria <[email protected]> (cherry picked from commit 0247942) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60c8890 - Browse repository at this point
Copy the full SHA 60c8890View commit details -
doc: Customize and update docs for PointHandler
Many of the inherited docs were inappropriate or insufficiently specific to PointHandler. Now we have more snippets with more ideas for how it can be used. As a drive-by, fix a typo in the docs for PointerDeviceHandler::acceptedPointerTypes and add a link to the new PointerDevice page added in e283c05 Fixes: QTBUG-74020 Fixes: QTBUG-106878 Change-Id: I028e1577ac5d4ef0b927c94259d6ab25b6028885 Reviewed-by: Doris Verria <[email protected]> (cherry picked from commit 4c6d0b2) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca8f903 - Browse repository at this point
Copy the full SHA ca8f903View commit details -
doc: Update QML eventPoint; fix GrabTransition link
Amends outdated stuff from 507efe5 and c248a32. "eventPoint" should now always link to docs added in b43a873. Replace the phrase "event point" with a link to the QML eventPoint value type. QPointingDevice is called PointerDevice in QML, so the GrabTransition enum ought to be found in those docs, in theory, for use in the PointerHandler::grabChanged doc. Task-number: QTBUG-102160 Task-number: QTBUG-104761 Change-Id: I5d1a8dedd9d98e6dee3fbca457aa38f42ea7bfb1 Reviewed-by: Andreas Eliasson <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 60ebb04) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04e51e9 - Browse repository at this point
Copy the full SHA 04e51e9View commit details -
JIT: Add missing {STORE|LOAD}_ACC() to CreateCallContext
We cannot assume anything about the accumulator register after calling PushCallContext::call(). Also add a note about not needing to re-load the accumulator on ThrowException. Fixes: QTBUG-111935 Change-Id: I7196585e1d2697c215f4fe87d8d7ac9b98b622a3 Reviewed-by: <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 15ec024) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Ulf Hermann authored and Qt Cherry-pick Bot committedMar 15, 2023 Configuration menu - View commit details
-
Copy full SHA for 19e4dae - Browse repository at this point
Copy the full SHA 19e4daeView commit details
Commits on Mar 16, 2023
-
Revert "Blacklist tst_TapHandler::gesturePolicyDragWithinBounds on An…
…droid" This reverts commit 24fedb7. Reason for revert: the test gesturePolicyDragWithinBounds doesn't exist in 6.2 Change-Id: I66859ad52f1864643f86dc4ad54d44c95b3d7a0e Reviewed-by: Ivan Solovev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8a1e5c - Browse repository at this point
Copy the full SHA d8a1e5cView commit details -
CMake: Add docs for NO_PLUGIN and clarify NO_GENERATE_PLUGIN_SOURCE
Fixes: QTBUG-111577 Change-Id: I7f259c3b710d0be16844d159e3204ee2e51f2a06 Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Sze Howe Koh <[email protected]> (cherry picked from commit f0f274e)
Ulf Hermann committedMar 16, 2023 Configuration menu - View commit details
-
Copy full SHA for 759a2ec - Browse repository at this point
Copy the full SHA 759a2ecView commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I13e82c0b4883b1758e3679822ee096725c3edd16 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMar 16, 2023 Configuration menu - View commit details
-
Copy full SHA for e86f1d1 - Browse repository at this point
Copy the full SHA e86f1d1View commit details
Commits on Mar 20, 2023
-
Doc: add \since to Text's renderTypeQuality property
Amends cbbbfe3. Change-Id: If1247a4f2d347f5c8b4993e24b04736db45df80d Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]> (cherry picked from commit 18b4a5c) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07a1e34 - Browse repository at this point
Copy the full SHA 07a1e34View commit details -
doc: Fix native texture interface header name
Fixes: QTBUG-95807 Change-Id: I0676fdb9bd7e8312d736bf0f4eb6775415d86296 Reviewed-by: Christian Strømme <[email protected]> (cherry picked from commit 3bc05bf) Reviewed-by: Laszlo Agocs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07a8850 - Browse repository at this point
Copy the full SHA 07a8850View commit details
Commits on Mar 21, 2023
-
qmltyperegistrar: Do not guess types with upper case names
We generally need to guess value types since there are value types without metaobjects of their own, such as QRectF and QSizeF. However, if they have upper case element names, they are clearly not in that category. Guessing those as value types will make further tools produce follow-up mistakes. Fixes: QTBUG-111986 Change-Id: Ic15ef8c726eb3913c87eb4a300794f321f59fafa Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit c2fd73b) Reviewed-by: Olivier De Cannière <[email protected]>
Ulf Hermann committedMar 21, 2023 Configuration menu - View commit details
-
Copy full SHA for c10c513 - Browse repository at this point
Copy the full SHA c10c513View commit details
Commits on Mar 22, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I805551dbc375fe076563dc13d1f111437cbfca40 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMar 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 8cbb9c5 - Browse repository at this point
Copy the full SHA 8cbb9c5View commit details
Commits on Mar 27, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I10b5c28f70d87aafa34490324efb4c2681be5163 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMar 27, 2023 Configuration menu - View commit details
-
Copy full SHA for b2b2886 - Browse repository at this point
Copy the full SHA b2b2886View commit details
Commits on Mar 29, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I8dc8ae944d2a6bcd48643cc76aeba1300190db6b Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMar 29, 2023 Configuration menu - View commit details
-
Copy full SHA for a7df633 - Browse repository at this point
Copy the full SHA a7df633View commit details
Commits on Mar 30, 2023
-
doc: Improve BorderImage; make snippets scaleable, detailed; screenshots
- This started with QTBUG-112322: introduce the border property next to the first snippet where it's used. - Give declarative-scalegrid.png a white background rather than transparent, to be consistent with the screenshots and to look better with a dark documentation style. - Make the snippets resizable so that it's possible to test the effects of the horizontalTileMode and verticalTileMode properties. - Get the borderframe.svg and .png files from the qtdoc repo (which ought to have been in this repo already, but perhaps not). - Resize borderframe.svg to 120x120 and set document size to match (in Inkscape); this makes it possible to use the svg directly in BorderImage, to test that QTBUG-25244 is really fixed. - Make the snippets match the screenshots (all 182px wide, with grey rectangle borders as shown). - It seems our scaling is smoother (less jagged) than in the old screenshots, so the new ones make a better impression. - Add region index labels to snippets and screenshots to be a bit less confusing next to the paragraphs that are talking about "parts of image in regions 2 and 8" and so on. Too bad they have to be so tiny. - Use \value rather than \li for enum values. Amends 1a84b19 Task-number: QTBUG-25244 Fixes: QTBUG-112322 Change-Id: I697ae1356eee62990b7903601cc493a04d3647a2 Reviewed-by: Andreas Eliasson <[email protected]> Reviewed-by: Paul Wicking <[email protected]> (cherry picked from commit b26439b) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b4dfb3d - Browse repository at this point
Copy the full SHA b4dfb3dView commit details -
doc: Use \value rather than \li for enumeration values and constants
Change-Id: Ica8354a53d0a5fb5dd1d8cd5f774dcdc56b6f99a Reviewed-by: Paul Wicking <[email protected]> (cherry picked from commit 2a61510) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a89cf0 - Browse repository at this point
Copy the full SHA 1a89cf0View commit details
Commits on Apr 4, 2023
-
DelegateModel: handle roleName invalidation
roleNames are generally guaranteed to be stable (given that QAIM has no change signal for them), except that resetting the model is allowed to invalidate them. DelegateModel did so far not take this into account. Handle this case correctly by snapshotting the current roleNames before the model is reset. Afterwards, if we detect that roleNames has changed, we throw the current model set up away and rebuild everything from scratch – it is unlikely that a more efficient implementation would be worth it. If we detect no changes, we simply use the existing logic to handle the model reset. Note that some views, e.g. TableView do not use DelegateModel if they detect that the model is a QAIM. They require a conceptually similar fix (but can probaly implement this in a more efficient way). Fixes: QTBUG-32132 Fixes: QTBUG-103220 Change-Id: I6874988cf09b8fe75d2e9750d0bf209915554c45 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 837c2f1) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2f5e9b - Browse repository at this point
Copy the full SHA e2f5e9bView commit details
Commits on Apr 5, 2023
-
QQuickState::when: handle QJSValue properties correctly
If one assigns a binding whose evaluation results in a QJSValue, care must be take to correctly convert it into a bool. Instead of directly using QVariant::value<bool>, one needs to first extract the QJSValue, and only convert it to bool afterwards. This is necessary due to the custom binding evaluation we're doing to avoid state oscillation. Amends a8c729d. Fixes: QTBUG-105000 Change-Id: I4b093b48edecf9e0f09d2b54d10c2ff527f24ac3 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 2c31d25) Reviewed-by: Sami Shalayel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6fa1fd3 - Browse repository at this point
Copy the full SHA 6fa1fd3View commit details -
QQuickStates: Handle more types as result of when
When calling QQmlBinding::evaluate(), we get a generic QVariant back, and no conversions from the evaluation result to bool are done at that point. Consequently, we would need to mirror the engines conversion from arbitrary values to bool. Doing that manually is rather fragile, so we instead use the QMetaType based overload, which already takes care of the conversion. That requires making the overload public. As qmlsc is already using that overload from within evaluate, it was not affected by the bug. Fixes: QTBUG-108024 Change-Id: I3d5ee8f886ea6ada44fc8182300f3472cb1efc3c Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit dfdba3b) Reviewed-by: Sami Shalayel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 045e3de - Browse repository at this point
Copy the full SHA 045e3deView commit details -
Transition: properly remove QPropery based bindings
We need to use QQmlAnyBinding::removeBindingFrom instead of the functionality in QQmlPropertyPrivate, as the latter does not correctly handle QProperty based bindings. Fixes: QTBUG-105535 Change-Id: Ifcd8d3a97ff6d62b365008768e6bf50cfa102a39 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit af5f853) Reviewed-by: Hatem ElKharashy <[email protected]> Reviewed-by: Sami Shalayel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84c2b72 - Browse repository at this point
Copy the full SHA 84c2b72View commit details -
AnchorChanges: Fix restore logic
The logic to decide whether a state change triggered a size change. When AnchorChanges did not remove all old anchors, we might end up with an anchor configuration that changes the size of an item (e.g., anchors.left and right being set), even if the new state only adds a single anchor, e.g. anchors.left. Moreover, we need to pass the correct dirty flags to setDirty, otherwise the UI will not actually reflect the state of the Item. As a driveby, fix an accidental double negation of qt_is_nan for height. Fixes: QTBUG-112354 Fixes: QTBUG-106677 Change-Id: I6c456fbdc314672f4fcbe740d941b44183fd5500 Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit f2c1085) Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Sami Shalayel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac84083 - Browse repository at this point
Copy the full SHA ac84083View commit details
Commits on Apr 6, 2023
-
Change-Id: I264db45dce614012b7fc49375ccde04d3dbd2c10 Reviewed-by: Tarja Sundqvist <[email protected]>
Tarja Sundqvist committedApr 6, 2023 Configuration menu - View commit details
-
Copy full SHA for 9838206 - Browse repository at this point
Copy the full SHA 9838206View commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Ic598d79ebb5e98a156bd7275c382ea19cbbc7837 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedApr 6, 2023 Configuration menu - View commit details
-
Copy full SHA for dd9ace0 - Browse repository at this point
Copy the full SHA dd9ace0View commit details
Commits on Apr 11, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I5b02dd01bf6fd8fc1d3bbba1de4012006a5096e0 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedApr 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 0364203 - Browse repository at this point
Copy the full SHA 0364203View commit details
Commits on Apr 13, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I489a99563d5321269e5ccff720d28652acd399ed Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedApr 13, 2023 Configuration menu - View commit details
-
Copy full SHA for e9a4a20 - Browse repository at this point
Copy the full SHA e9a4a20View commit details
Commits on Apr 17, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I7e1f3d3c20be4ad2bb75ff63c8028b17f4d515f2 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedApr 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 182407b - Browse repository at this point
Copy the full SHA 182407bView commit details -
Models: Avoid crashes when deleting cache items
Fixes: QTBUG-91425 Change-Id: I58cf9ee29922f83fc6621f771b80ed557b31f106 Reviewed-by: Shawn Rutledge <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 0cfdecb) Reviewed-by: Sami Shalayel <[email protected]>
Ulf Hermann committedApr 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 30668e7 - Browse repository at this point
Copy the full SHA 30668e7View commit details
Commits on Apr 18, 2023
-
ComboBox: don't open on key release unless press was handled
If a Keys handler eats the press of the activation key, then the release event shouldn't show the popup. The default keyPressEvent handler sets the pressed state to true, so we can test that state to see if we should act on the corresponding release. The key release event should still be accepted to stop propagation. Add a test case. Fixes: QTBUG-109721 Change-Id: Icb76453733d05cba59fdfb365b0cebf710be5f01 Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit 3cbf721) Reviewed-by: Volker Hilsheimer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ab180a - Browse repository at this point
Copy the full SHA 0ab180aView commit details -
StackView: emit depthChanged when clearing with transition
When a transition is used in the call to clear(), then we pop the top element off the stack and start the transition for it. If we read the old depth after doing that, then it will be off by one and prevent the emission of the changed signal if that was the last element on the stack. So read the old depth already before we pop, and add a test. Fixes: QTBUG-84920 Change-Id: Idae619efa25729fafbf238cb4db62472042b1cb7 Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit 838b9ee) Reviewed-by: Volker Hilsheimer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ec9fac - Browse repository at this point
Copy the full SHA 2ec9facView commit details
Commits on Apr 19, 2023
-
Support building for Raspberry Pi 1 or Zero
Cross-compiling (using Clang-13) for Raspberry Pi OS on Raspberry Pi 1 and Zero, requires adding "-target arm-linux-gnueabihf" to the compiler flags, which defines macro __ARM_ARCH_6KZ__ to detect for armv6. Fixes error: qtdeclarative/src/qml/../3rdparty/masm/wtf/Platform.h:312:6: error: "Not supported ARM architecture" More details: it turns out that the already checked macro __ARM_ARCH_6ZK__ is a typo with significance because older versions of GCC only had this. On the other hand __ARM_ARCH_6KZ__ (that this patch checks for) is the correct spelling, and it's the only one defined by Clang. Newer versions of GCC define both. Change-Id: I60532bfcaa62677f88ed2cff05d872a14c4c2111 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 35d6c73) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d68f7d1 - Browse repository at this point
Copy the full SHA d68f7d1View commit details -
Clarify unsupported topologies in QSSGGeometry docs
Should have added a note about this in Qt 6.0 already. Task-number: QTBUG-111012 Change-Id: I650abdb69d4f1dd6aff6d8e84970fc5e91384f02 Reviewed-by: Andy Nichols <[email protected]> (cherry picked from commit 284238b) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 889ec8a - Browse repository at this point
Copy the full SHA 889ec8aView commit details
Commits on Apr 20, 2023
-
Fix visibility of scroll bars in ScrollView
When imperatively assigning a contentItem, we need to make sure that we respect the policy of the scroll bars, otherwise they could end up visible when they shouldn't be, and vice versa. This patch also sets the ScrollView as the parent item of the contentItem, as a ListView assigned imperatively may already have a parent item, and so setContentItem_helper will not set one. When setting the parent item, we also need to ensure that the stacking order is correct, otherwise the scroll bars will be behind the contentItem and can't be interacted with. Task-number: QTBUG-106118 Change-Id: I88d342282ea6d202cbe0f776a6bf4fb1f9cadc48 Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit db8f360)
Configuration menu - View commit details
-
Copy full SHA for daca3c6 - Browse repository at this point
Copy the full SHA daca3c6View commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I379f6a919c5fc5e6c0a66fe9158d2c683625182e Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedApr 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 510c4bf - Browse repository at this point
Copy the full SHA 510c4bfView commit details
Commits on Apr 21, 2023
-
TableInstanceModel: handle roleName invalidation
roleNames are generally guaranteed to be stable (given that QAIM has no change signal for them), except that resetting the model is allowed to invalidate them. TableInstanceModel did so far not take this into account. Handle this case correctly by snapshotting the current roleNames before the model is reset. Afterwards, if we detect that roleNames has changed, we throw the current model set up away and rebuild everything from scratch – it is unlikely that a more efficient implementation would be worth it. Fixes: QTBUG-111987 Change-Id: Id1e3b8e4f983c0f00fc7b30bd4897f1f7fcc3792 Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit fd48925) Reviewed-by: Richard Moe Gustavsen <[email protected]>
Richard Moe Gustavsen committedApr 21, 2023 Configuration menu - View commit details
-
Copy full SHA for 9dc9d39 - Browse repository at this point
Copy the full SHA 9dc9d39View commit details
Commits on Apr 25, 2023
-
Accessibility: respect value in attached Accessible in controls
QQuickItemPrivate::accessibleRole is virtual and called by the framework to determine the role of an item. The default implementation checks and respects a possible Accessible attached object. However, subclasses that override the virtual don't, so the attached properties are ignored, and the class-specific implementation wins. This makes it impossible to change the role of e.g. a checkable button. To fix that, move the code respecting the attached object into a non- virtual function that the framework calls instead, and only call the virtual member if there is no attached object, or if that object is not initialized with a role. Replace calls to the virtual from the framework with calls to the non-virtual wrapper. Do this for both QQuickItem and for QQuickPopup, and adjust the logic in QQuickControl types that create an attached object and initialize it's role when accessibility becomes active. Use the non-overridable effective role value for that as well. Add a test case, and to avoid any new framework calls to the virtual, make it private. Fixes: QTBUG-110114 Change-Id: Ia709cecbd181b6d8ee3297a4af60c1e7db9a2c51 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Jan Arve Sæther <[email protected]> (cherry picked from commit 3c08d08) Reviewed-by: Volker Hilsheimer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e301a9 - Browse repository at this point
Copy the full SHA 3e301a9View commit details -
Popup: Document how to scale a popup
Add a code snippet, as Item::transform is not a notifying property so the Scale item has to be instantiated and bound to separately. Fixes: QTBUG-70939 Change-Id: Ie0ca672dc65f5a44fa2ac2c3f3ee897a6d663d80 Reviewed-by: Matthias Rauter <[email protected]> Reviewed-by: Mitch Curtis <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit e4a2a99) Reviewed-by: Volker Hilsheimer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a739cf3 - Browse repository at this point
Copy the full SHA a739cf3View commit details
Commits on Apr 27, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I4fbea3a958dcd0f4034049c6bd6034cf19f251b1 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedApr 27, 2023 Configuration menu - View commit details
-
Copy full SHA for 373a6a6 - Browse repository at this point
Copy the full SHA 373a6a6View commit details
Commits on Apr 29, 2023
-
Flickable: Send movement signal when flick starts
If there are multiple moves between touch down and release, but they are merged, or if there is only one move, flick occurs but no movement signal is generated. So, send movementStarted if the view is moving in handleReleaseEvent Fixes: QTBUG-112924 Change-Id: I774799bac2a00296a72005dcfa9ade6683836d08 Reviewed-by: Richard Moe Gustavsen <[email protected]> (cherry picked from commit e6a363e) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Seokha Ko authored and Qt Cherry-pick Bot committedApr 29, 2023 Configuration menu - View commit details
-
Copy full SHA for e9541d7 - Browse repository at this point
Copy the full SHA e9541d7View commit details
Commits on May 3, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I00ccc7cab20d79076b2f92e6ce0be04bf1dde50e Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMay 3, 2023 Configuration menu - View commit details
-
Copy full SHA for 3af7a04 - Browse repository at this point
Copy the full SHA 3af7a04View commit details
Commits on May 4, 2023
-
RangeSlider: Don't update position only if mouse/touch is grabbed
A mouseClick will cause the RangeSlider handle to move to the click position and we should expect the same for a touch press. We update the position of the handle in handleRelease if keepMouse/ TouchGrab is set to true. However, we don't grab the touch on a touch press in case eg.: a flickable wants to steal the event. So we can remove the check as we shouldn't update the position only if grabbed. This makes the behavior similar to the slider too. Fixes: QTBUG-112945 Change-Id: Id2cf99416a52b5e42989a4adda1532e3ac550a93 Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit f6fb925)
Configuration menu - View commit details
-
Copy full SHA for 699f525 - Browse repository at this point
Copy the full SHA 699f525View commit details
Commits on May 5, 2023
-
Quick: Update documentation of TapHandler to reflect renamed enum
PointerDevice.GenericPointer was the enum value in Qt5, but in Qt6 this changed to PointerDevice.Generic Change-Id: Ic5e4a5fe5fd91f7478d00e0d2c643b99eaa7ab14 Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit aec6193) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 70a5a54 - Browse repository at this point
Copy the full SHA 70a5a54View commit details
Commits on May 10, 2023
-
qmlformat: do not generate backup files
qmlformat used to backup the original input file up to 2 copies when used with --inplace mode. Change this hardcoded number into 0 and generate no backup file. Fixes: QTBUG-113442 Change-Id: Ifca86968fa65be0fd678012fc2e41b9ed8601d21 Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit bc6c900)
Semih Yavuz committedMay 10, 2023 Configuration menu - View commit details
-
Copy full SHA for 1655c53 - Browse repository at this point
Copy the full SHA 1655c53View commit details -
QQuickFlickable: avoid processing the same event twice
If Flickable has an exclusive grab (e.g if it's being dragged), and at the same time, a child has a passive grab (e.g a TapHandler inside a child of the content item), Flickable ends up getting the same pointer events twice. The reason this happens is because Flickable has a childMouseEventFilter. So the flickable will first get all the pointer events since it has an exclusive grab, just to see that the filter will receive the same events once more, as they next are delivered to the passive grabbers. The result is that Flickable will handle all pointer events (move, release etc) twice when it has en exclusive grab, which will even cause the flickable from stop flicking prematurely if the mouse release ends up outside the bounds of the flickable (because of a double call to handleReleaseEvent(), which will set stealMouse to false too early). To fix this, this patch will make sure that we don't handle any pointer events in the childMouseEventFilter if we already have an exclusive grab. After all, having an exclusive grab means that we're already getting the events the "normal" way, and shouldn't handle the same events once more. Fixes: QTBUG-104987 Change-Id: Iaed49cb860cf50ea38a70a6e546d9dcf25cce444 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit 1bac9de)
Richard Moe Gustavsen committedMay 10, 2023 Configuration menu - View commit details
-
Copy full SHA for ad02401 - Browse repository at this point
Copy the full SHA ad02401View commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Ifd7040ec602869ebb59f6bff4e6d1e6495a3fab2 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMay 10, 2023 Configuration menu - View commit details
-
Copy full SHA for 3bd5ad1 - Browse repository at this point
Copy the full SHA 3bd5ad1View commit details
Commits on May 11, 2023
-
QQmlComponent: Remove pending bindings when setting properties
Fixes: QTBUG-99363 Change-Id: I2c731ec0b8c5947192accdeb5ef52903d9c7cd90 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit ef6e9f6)
Ulf Hermann committedMay 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 9d6ab23 - Browse repository at this point
Copy the full SHA 9d6ab23View commit details
Commits on May 16, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Ie03e71db0b69790c12bd5f57cec022e252caee1e Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMay 16, 2023 Configuration menu - View commit details
-
Copy full SHA for 3e39bd4 - Browse repository at this point
Copy the full SHA 3e39bd4View commit details -
NinePatchImage: support the compressed texture image
The compressed texture image is supported by qquickimage and the qquickninepatchimage is inherited by qquickimage. But the compressed texture is not shown when the source of qquickninepatchimage is set as compressed texture because the updatePaintNode of qquickninepatchimage only consider non-compressed texture. This patch is not intended to use the HW compressed image as an actual 9-patch image, but to display them using the super class qquickimage in the case of an HW compressed image other than a normal pixmap image. If the source is HW compressed textures such as ASTC, KTX, and PKM, we have to call updatePaintNode of QQuickImage before checking the validity of the pixmap image. (because nullptr is returned if pixmap image is not valid) The containers themselves (pkm, ktx) are universally supported but the compressed texture formats is up to the underlying 3D API implementation and may vary. So, if the format is not supported by RHI, we skip the test. Refer to QTBUG-113565 for a detailed discussion on texture formats. And when using the software backend, we also skip test cases. Fixes: QTBUG-113446 Change-Id: I2704f86e94b50b3c187eca359fdc1a69eb217811 Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit ed69a9d) Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Seokha Ko <[email protected]>
Jaehak Lee authored and Seokha Ko committedMay 16, 2023 Configuration menu - View commit details
-
Copy full SHA for aae581d - Browse repository at this point
Copy the full SHA aae581dView commit details -
Doc: Fix linking and read-only status for Window.visibility properties
QDoc has problems linking to a topic that has identical name to the topic the link appears in, as is the case when linking from 'visibility' property to 'visibility' attached property. Add a unique \keyword for the former and use it for linking. Explicitly set the attached property as \readonly. Task-number: QTBUG-113015 Change-Id: Ia0eb99fd2436565c697ca23629134b691acecc1b Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit f9e2614) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aea77f9 - Browse repository at this point
Copy the full SHA aea77f9View commit details -
Enhance Image docs about compressed formats
Fixes: QTBUG-113565 Change-Id: I6ccd0aa27a599c09a93a6c377b36697d9c60f25e Reviewed-by: Shawn Rutledge <[email protected]> Reviewed-by: Eirik Aavitsland <[email protected]> (cherry picked from commit c7bd56b) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6767115 - Browse repository at this point
Copy the full SHA 6767115View commit details -
qml tool: Use QCommandLineParser::process() rather than parse()
This handles the --version, --help and --help-all options. Apparently there's no other way to handle --help-all, because addHelpOption() adds two options but only returns one of them. Amends bb6602b Fixes: QTBUG-100678 Change-Id: Iddd1ba2dae975d7256935d8d357e2f3ac6c013d6 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit e5007fc) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d59fd85 - Browse repository at this point
Copy the full SHA d59fd85View commit details
Commits on May 19, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I564d72aca715689715254903f272f9ecae951fbf Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMay 19, 2023 Configuration menu - View commit details
-
Copy full SHA for 55a1023 - Browse repository at this point
Copy the full SHA 55a1023View commit details
Commits on May 24, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I1562b79c12715066bcacea913b241838850a9691 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMay 24, 2023 Configuration menu - View commit details
-
Copy full SHA for 5838e31 - Browse repository at this point
Copy the full SHA 5838e31View commit details
Commits on May 25, 2023
-
Avoid "conflicting properties" warning with bound Window.visibility
Since d0644b0 we emit a warning "Conflicting properties 'visible' and 'visibility'" if you set or bind both the Window.visible and Window.visibility property in a conflicting way. But it was just noise to emit this warning if only `visibility` is being set. `visible` is false by default; but if you make the window visible by setting visibility, it should be ok. So we follow the pattern of having an extra bool to store whether it was explicitly set. Added a test to verify behavior with 4 combinations: visible unset, true or false, and visibility set or unset. This demonstrates that if there really is a conflict, `visibility` "wins"; and if there is no conflict, we now suppress the warning. Fixes: QTBUG-35244 Change-Id: I4c8c75d2d84e903c94545d0d3fb61ea5e4269ae5 Reviewed-by: Volker Hilsheimer <[email protected]> (cherry picked from commit 1022dd3) Reviewed-by: Oliver Eftevaag <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec251a9 - Browse repository at this point
Copy the full SHA ec251a9View commit details
Commits on May 29, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I54d1a2008517931995cef8b3eb558942fe28f7bf Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMay 29, 2023 Configuration menu - View commit details
-
Copy full SHA for 3444b35 - Browse repository at this point
Copy the full SHA 3444b35View commit details
Commits on Jun 1, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Id6793fbdebd48e03c8aa999b532c9f5d497a8106 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJun 1, 2023 Configuration menu - View commit details
-
Copy full SHA for a563d8e - Browse repository at this point
Copy the full SHA a563d8eView commit details -
Update dependencies on 'tqtc/lts-6.2.9' in qt/tqtc-qtdeclarative
Change-Id: I878279edbe5e0d7350763817462a868c8d9fabe1 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJun 1, 2023 Configuration menu - View commit details
-
Copy full SHA for 9477759 - Browse repository at this point
Copy the full SHA 9477759View commit details
Commits on Jun 2, 2023
-
Doc: Capitalize header file in code snippet
Fixes: QTBUG-113584 Change-Id: I2910eba4710e527baf258176921774dfa16b1485 Reviewed-by: Amir Masoud Abdol <[email protected]> Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit d0d3fcd) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a2d921 - Browse repository at this point
Copy the full SHA 8a2d921View commit details
Commits on Jun 6, 2023
-
Update dependencies on 'tqtc/lts-6.2.9' in qt/tqtc-qtdeclarative
Change-Id: I2523d884603d7b7ea9cd6169a228e3b8aacc60c8 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJun 6, 2023 Configuration menu - View commit details
-
Copy full SHA for 76102df - Browse repository at this point
Copy the full SHA 76102dfView commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: If96251912fb176d675c1fd0d4f1ce37706c32800 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJun 6, 2023 Configuration menu - View commit details
-
Copy full SHA for afc1a9a - Browse repository at this point
Copy the full SHA afc1a9aView commit details
Commits on Jun 7, 2023
-
Doc: Fix mislabelled diagram for Context2D.arc()
Previously, the text showed: Pi/2 -> Pi -> 3Pi/2 -> 2Pi But the curves showed: 3Pi/2 -> Pi -> Pi/2 -> 2Pi The curves are now drawn in a clockwise sequence to match the text. Change-Id: Ib8fe0c17c652a0f357d27372403440f4dd031516 Reviewed-by: Topi Reiniö <[email protected]> (cherry picked from commit 0c615d6) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9811a9f - Browse repository at this point
Copy the full SHA 9811a9fView commit details -
Doc: Expand FolderListModel documentation
* Document the data types exposed by FolderListModel * Fully-qualify the enum values of FolderListModel::sortField and mark default value * Mark read-only properties Change-Id: Ib829a69cf762f4aaf1e50f2e526f64da429e128b Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 69a25c5) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 217584b - Browse repository at this point
Copy the full SHA 217584bView commit details -
Update dependencies on 'tqtc/lts-6.2.9' in qt/tqtc-qtdeclarative
Change-Id: If58fba77a78c659c8a2f34bac5b0249b02f4225a Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJun 7, 2023 Configuration menu - View commit details
-
Copy full SHA for 2eee4c6 - Browse repository at this point
Copy the full SHA 2eee4c6View commit details
Commits on Jun 11, 2023
-
Doc: explain how to enable mirroring for right-to-left applications
"Default Layout Direction" explains how to set the default layout direction, but leaves out that the LayoutMirroring attached QML API must be used to ensure that the UI is actually mirrored. Similar code was added elsewhere in 416e3f0. Fixes: QTBUG-113497 Change-Id: I6a2f817131499f111386109d0e4b49c232cccfbf Reviewed-by: Topi Reiniö <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 5ed4c23) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d43b0db - Browse repository at this point
Copy the full SHA d43b0dbView commit details
Commits on Jun 13, 2023
-
doc: Clarify usage of palette; testable snippets
- color groups are better shown with copyable monospace syntax rather than capitalized - clarify that using palette grouped-property syntax does not imply that you must define every color - Window has a palette property, inited from SystemPalette: it's not only ApplicationWindow - testable snippets - reuse part of the windowPalette snippet for the Window.active property (switching colors might be the main use case) - make more links Change-Id: I5974351ba66fc9aeec34cb6a4aba1eb85289f536 Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit f1e7e1c)
Configuration menu - View commit details
-
Copy full SHA for 3d547b7 - Browse repository at this point
Copy the full SHA 3d547b7View commit details
Commits on Jun 14, 2023
-
CMake: Remove superfluous depfile in QML type registration
In _qt_internal_qml_type_registration we created a depfile that contained the *_metatypes.json files of target's SOURCES. This depfile was used in the custom command that produces ${target}_qmltyperegistration.cpp. It doesn't seem necessary to create a depfile, and one could use the DEPENDS option of add_custom_command instead. And indeed, commit ce950d6 added the same dependencies this way. Presumably, this was done to fix dependencies for older CMake versions and generators that do not support depfiles. This commit removes the creation of the depfile. This double dependency declaration was found when investigating QTBUG-106683, and it turns out that removing the depfile fixes the problem of re-generating ${target}_qmltyperegistration.cpp for Visual Studio generators. Task-number: QTBUG-106683 Change-Id: I6cf909dfb4a9b31b76599b7ad35ad6f595ca0891 Reviewed-by: Alexey Edelev <[email protected]> Reviewed-by: Ulf Hermann <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 470fee3)
Configuration menu - View commit details
-
Copy full SHA for b6f7778 - Browse repository at this point
Copy the full SHA b6f7778View commit details
Commits on Jun 15, 2023
-
QQmlPropertyBinding: Re-fetch binding data after reset()
Fixes: QTBUG-114430 Change-Id: I13773e7eba3603350b492c7649102a8131a9829c Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 662c3c3) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Ulf Hermann authored and Qt Cherry-pick Bot committedJun 15, 2023 Configuration menu - View commit details
-
Copy full SHA for bdf7e59 - Browse repository at this point
Copy the full SHA bdf7e59View commit details
Commits on Jun 17, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Id7969f28857f16668c63212b33bad0c67390e764 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJun 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 9e55965 - Browse repository at this point
Copy the full SHA 9e55965View commit details -
Change-Id: I41e32bd4d54c49acac4e8419a6926f1c09212c72 Reviewed-by: Tarja Sundqvist <[email protected]>
Tarja Sundqvist committedJun 17, 2023 Configuration menu - View commit details
-
Copy full SHA for 4d209a4 - Browse repository at this point
Copy the full SHA 4d209a4View commit details -
Update dependencies on 'tqtc/lts-6.2.9' in qt/tqtc-qtdeclarative
Change-Id: Ie89beb140109f7cd7f79036663768b6f5cf2f656 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJun 17, 2023 Configuration menu - View commit details
-
Copy full SHA for cd38b4e - Browse repository at this point
Copy the full SHA cd38b4eView commit details
Commits on Jun 19, 2023
-
Remove DA::deliverMatchingPointsToItem's second sendFilteredPointerEvent
a220969 added sendFilteredPointerEvent earlier in this function; it doesn't make sense to do it multiple times. Fixes: QTBUG-109995 Fixes: QTBUG-113653 Change-Id: I9a9cb36ba060ec924ec3467fff0d7b0e3d474da3 Reviewed-by: Doris Verria <[email protected]> (cherry picked from commit 2cb75d3) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3d7a02a - Browse repository at this point
Copy the full SHA 3d7a02aView commit details -
doc: Make Window snippets testable; remove import versions
Change-Id: I35ba013152628591d016c632828a1c4e64cf5978 Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit 78d2cec) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb1b1b5 - Browse repository at this point
Copy the full SHA cb1b1b5View commit details -
doc: Use part of window example for Window.flags property snippet
Change-Id: I5b5c1663f626ce3bfe4c01edbc5480729a1b91f6 Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit 94475c9) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 498b7db - Browse repository at this point
Copy the full SHA 498b7dbView commit details
Commits on Jun 20, 2023
-
QML: Guard QProperty change triggers against deletion of target
Previously, we relied on QObject* pointers being unique even after deletion of the objects. That's not good. Fixes: QTBUG-114329 Change-Id: Ia0a2c1d2cb5d8a0d47ec00e73424c959c59c09bc Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 46842ec)
Ulf Hermann committedJun 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 9445aaf - Browse repository at this point
Copy the full SHA 9445aafView commit details -
QmlCompiler: Do not recurse when looking for builtins.qmltypes
A builtins.qmltypes in some subdirectory is generally not something we want to use. Change-Id: Ic774800048917f6b61e3343fcb7d12b00bcee9bd Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 74fac24)
Ulf Hermann committedJun 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 03dbf7f - Browse repository at this point
Copy the full SHA 03dbf7fView commit details
Commits on Jun 21, 2023
-
The Qt object has a "url" method these days. Amends commit 21a2dd4 Change-Id: I5a77b16b1eae4a6a5e800a0ac6f9074c3a294281 Reviewed-by: Fabian Kosmale <[email protected]>
Ulf Hermann committedJun 21, 2023 Configuration menu - View commit details
-
Copy full SHA for 1e05b40 - Browse repository at this point
Copy the full SHA 1e05b40View commit details -
QML: Allow conversion of symbols to QVariant
We produce their descriptiveString or simply a QVariant containing a QJSValue, depending on whether we're supposed to convert objects without equivalent C++ type or not. Fixes: QTBUG-113854 Change-Id: I22b6038c936d860fdd8aa227f9dfe704e3265a77 Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 8c451bb)
Ulf Hermann committedJun 21, 2023 Configuration menu - View commit details
-
Copy full SHA for f5866fb - Browse repository at this point
Copy the full SHA f5866fbView commit details
Commits on Jun 22, 2023
-
automotive: fix the dial's height and background assets
- Don't allow it to fill vertically, because it results in downscaling artifacts. - Update the background images to be 128x128 so that no downscaling occurs (when using the correct size hints in QML). Fixes: QTBUG-114492 Change-Id: I473ee26f5ad630bbfa1f89c2a977081fae9eaa4e Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit fda497e)
Configuration menu - View commit details
-
Copy full SHA for e334360 - Browse repository at this point
Copy the full SHA e334360View commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I11d44cfd13dcf71ab58c730c8e3cda04a7f20d90 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJun 22, 2023 Configuration menu - View commit details
-
Copy full SHA for d75ed55 - Browse repository at this point
Copy the full SHA d75ed55View commit details
Commits on Jun 25, 2023
-
Doc: Remove mention of module version requirement
Fixes: QTBUG-114715 Change-Id: I7b5821820ba582fb21eaa56e3cf102fc3d61be00 Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 9c33258) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a6acd50 - Browse repository at this point
Copy the full SHA a6acd50View commit details
Commits on Jun 26, 2023
-
QRecyclePool: fix potential UB
Return the pointer returned by placement new, not the pointer used as input to placement new. There is a subtle difference and this grey zone of the C++ standard is best avoided (keyword: std::launder()). Change-Id: I27c159cdb29a5837120f3d44aa6c95da040fd1a2 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 7381110) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3eac494 - Browse repository at this point
Copy the full SHA 3eac494View commit details
Commits on Jun 27, 2023
-
QQmlJs::MemoryPool: fix potential UB (pointer overflow)
A check like (p1 + s op p2) is dangerous, because p1 + s may overflow, and that would be UB, so the compiler can assume it doesn't happen and break the check. Reformulate the expression by subtracting p1 from both sides. Cast the ptrdiff_t to size_t to avoid -Wsign-compare. This is safe because _end is always ≥ _ptr. As a drive-by, remove extra parentheses. Change-Id: If240d685fe48196ab5ceb7ff39736b73c8997e30 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 8a39f76) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c6d1e2 - Browse repository at this point
Copy the full SHA 5c6d1e2View commit details
Commits on Jun 29, 2023
-
Add Qt::QuickTest check to tst_core
tst_core has Qt::QuickTest dependency that makes compilation fail unless you don't build qtquick. Change-Id: I6e087cc35e55b62bed7e991dd4276cba2e413f0f Reviewed-by: Ulf Hermann <[email protected]>
Semih Yavuz committedJun 29, 2023 Configuration menu - View commit details
-
Copy full SHA for 6a2484f - Browse repository at this point
Copy the full SHA 6a2484fView commit details
Commits on Jul 3, 2023
-
QQmlPropertyBinding: Do re-attach observer after handling undefined
As noted in the comments above, we need to restore the binding to its original state after resetting the property. This includes re-adding any observers. Fixes: QTBUG-114874 Change-Id: I2113a59f1bed59753c77ca3e0b00fed4c0487584 Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> (cherry picked from commit 52fcaec)
Ulf Hermann committedJul 3, 2023 Configuration menu - View commit details
-
Copy full SHA for 6a39ab5 - Browse repository at this point
Copy the full SHA 6a39ab5View commit details
Commits on Jul 4, 2023
-
doc: Remove Calendar Example link
In 2dcad8f this was probably already wrong; it links to a widget-based example in 5.15 and 6.5 (which is removed in 6.6). Change-Id: I6bacf4f75c9aaeeb184528e0b46e0adcaf4fc9db Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit a8117b1) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19e6b99 - Browse repository at this point
Copy the full SHA 19e6b99View commit details -
Fixes: QTBUG-114687 Change-Id: I9046ebf9ebcb847c4b0512057c54c976a717fb91 Reviewed-by: Liang Qi <[email protected]> Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 214f7f8) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Joni Poikelin authored and Qt Cherry-pick Bot committedJul 4, 2023 Configuration menu - View commit details
-
Copy full SHA for b971665 - Browse repository at this point
Copy the full SHA b971665View commit details -
Pass render mode correctly to material for all cases
One of the code paths that call createShader() was not passing along the render mode, causing it to default to 2D rendering. This could cause issues when rendering a 2D item in 3D if the material has special handling of perspective transforms, like e.g. with text which needs a different shader to get correct antialiasing in 3D. Change-Id: I4a22642863df58351daeec63e99b54a986b4b45e Reviewed-by: Laszlo Agocs <[email protected]> (cherry picked from commit ca558d3) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1535569 - Browse repository at this point
Copy the full SHA 1535569View commit details -
Update test case for Tumbler to flick within Flickable
The patch set 024f91c55f67e9c9c1c0b47aa981e6b99827ad20 fixes this issue. It's a follow-up patch to update the tumbler test case. Task-number: QTBUG-109995 Change-Id: Ic12c4b4789a0c619a8531d9321a70d85a006b63c Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 9573506)
Santhosh Kumar committedJul 4, 2023 Configuration menu - View commit details
-
Copy full SHA for eb57fe5 - Browse repository at this point
Copy the full SHA eb57fe5View commit details
Commits on Jul 10, 2023
-
QtQml: Do not crash on invalid import URLs
We get rather unusual file URLs if we let an import with an invalid URL pass. Once those files are referenced, we hit some asserts. Change-Id: If7acefcd07c844e680be9db6e49b5ef366baea4b Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 8a07350)
Ulf Hermann committedJul 10, 2023 Configuration menu - View commit details
-
Copy full SHA for 17769f5 - Browse repository at this point
Copy the full SHA 17769f5View commit details -
QML: Check result when constructing object from metaobject
If you pass insufficient arguments to call the ctor, the resulting object is null and cannot be used. Fixes: QTBUG-114910 Change-Id: Ib184684b6a7665bcdc1a3fe8f8a2401a33a8ac1c Reviewed-by: Semih Yavuz <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 3110117)
Ulf Hermann committedJul 10, 2023 Configuration menu - View commit details
-
Copy full SHA for 53bdc05 - Browse repository at this point
Copy the full SHA 53bdc05View commit details
Commits on Jul 12, 2023
-
Fix pointer delivery to child items of items with clip:true
QQuickDeliveryAgentPrivate::pointerTargets() can visit a lot of items and their handlers, before actual event delivery really starts. One optimization in place since 6adc361 is that if an item is clipped, and the point is outside its bounds, we can be sure that it's also irrelevant to the item's children, because the parts of any children that may be under that point are clipped away and invisible. At the time that was written, QQuickItem::contains() was only doing a simple bounding-rect check. Since then, bf74a90 added containmentMask; and we should also keep in mind the precedence of the PointerHandler.margin property (currently, TapHandler.margin does not expand the sensitive area beyond a clipped Rectangle, or beyond the containmentMask either). So it seems we now need to check clipRect().contains() explicitly: a child item may be outside its parent's containmentMask, and containmentMask does not affect clipping, so one would expect to still be able to interact with the child. The current definition of clipRect() is from 9b62f4c. It's virtual, but documented as "the region intended to remain visible if clip is true". Fixes: QTBUG-115179 Change-Id: I6ae8f492b99725459cdff2a89ac8508da5167102 Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit f33146e)
Jan Arve Sæther committedJul 12, 2023 Configuration menu - View commit details
-
Copy full SHA for 70c3777 - Browse repository at this point
Copy the full SHA 70c3777View commit details
Commits on Jul 14, 2023
-
Doc: add information about preeditText in text property
The documentation for the TextEdit::text and TextInput::text properties was missing information about preeditText. This may result in the expectation that text property will always contain all displayed text. Fixes: QTBUG-109306 Change-Id: Ifa0b214238633a42e9772f796547f776a0d4251c Reviewed-by: Volker Hilsheimer <[email protected]> Reviewed-by: Mitch Curtis <[email protected]> Reviewed-by: Assam Boudjelthia <[email protected]> (cherry picked from commit 1ca4bb6) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Bartlomiej Moskal authored and Qt Cherry-pick Bot committedJul 14, 2023 Configuration menu - View commit details
-
Copy full SHA for 7307ece - Browse repository at this point
Copy the full SHA 7307eceView commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Iff43cdeb8adae62e8ca5afe986276a0527bb823e Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedJul 14, 2023 Configuration menu - View commit details
-
Copy full SHA for b355ab1 - Browse repository at this point
Copy the full SHA b355ab1View commit details
Commits on Jul 18, 2023
-
QML: Export de-inlined functions in ObjectWrapper
Amends 63b622d Change-Id: I61a37fb9b66eef7f141f1f110c7688c660baff93 Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit b460361) Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Olivier De Cannière <[email protected]>
Olivier De Cannière committedJul 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 5143bdd - Browse repository at this point
Copy the full SHA 5143bddView commit details -
QQuickMenu: remove contentItem children change listeners on destruct
QQuickMenu causes a race condition (crash) on destruction, due to not removed children listeners in some cases. This patch removes the listeners manually on destruction. Fixes: QTBUG-108144 Change-Id: I4c166c782ae014236970a1f9e145f6862cd7c6a9 Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit a7c4507) Reviewed-by: Volker Hilsheimer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a00de49 - Browse repository at this point
Copy the full SHA a00de49View commit details
Commits on Jul 25, 2023
-
Add testcase verifying unshift misbehaving
When calling sort after unshift, array entries unexpectedly become undefined. Task-number: QTBUG-58718 Change-Id: Ie577e6d983f22e02ab4ade3d1f722e7c44c2a981 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 7e65bb9) Reviewed-by: Fabian Kosmale <[email protected]>
Amanda Hamblin-Trué authored and Ulf Hermann committedJul 25, 2023 Configuration menu - View commit details
-
Copy full SHA for 9d4eac0 - Browse repository at this point
Copy the full SHA 9d4eac0View commit details -
V4: Use memmove() for tail calls
If you have many arguments, the argument ranges can overlap. In that case memcpy is UB. Fixes: QTBUG-115320 Change-Id: I54dd4d7762e7278502954b8ac2cb4af1197ce88c Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit d4a6673) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Ulf Hermann authored and Qt Cherry-pick Bot committedJul 25, 2023 Configuration menu - View commit details
-
Copy full SHA for 31b93a4 - Browse repository at this point
Copy the full SHA 31b93a4View commit details -
Fix the plugin class name handling in qt6_add_qml_plugin
If the CLASS_NAME is not specified and the BACKING_LIBRARY exists we should get the plugin CLASS_NAME from the backing library, but not from the non-existing plugin target. Change-Id: I51ba2290f8f9cb8bcf4217f535c6aa4e676f7293 Reviewed-by: Alexandru Croitor <[email protected]> (cherry picked from commit e97f163) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4eb095b - Browse repository at this point
Copy the full SHA 4eb095bView commit details
Commits on Jul 26, 2023
-
QV4::ArrayData: Fix offset calculation for sort()
We cannot just sort the raw values. We have to take the offset into account. If the array wraps around the end of the allocation, we have to move it around to be contiguous. Fixes: QTBUG-58718 Change-Id: I1866b3f271d97352e250d687955af3fc54340334 Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Sami Shalayel <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> (cherry picked from commit f0b2fbc)
Ulf Hermann committedJul 26, 2023 Configuration menu - View commit details
-
Copy full SHA for f089306 - Browse repository at this point
Copy the full SHA f089306View commit details -
QML: Unify treatment of wrappers when dealing with QObjectMethod
A method can belong to a QObjectWrapper, a QQmlValueTypeWrapper, or a QQmlTypeWrapper. store only one wrapper pointer and allow for all variants. Furthermore, keep a reference to the wrapper so that it doesn't get garbage collected. We still need it to retrieve the metaobject, even if we're calling the method on a different instance. Fixes: QTBUG-115115 Change-Id: I1759fb687918ff79829fef776e0a93d29373b30f Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 63b622d)
Ulf Hermann committedJul 26, 2023 Configuration menu - View commit details
-
Copy full SHA for fa00e39 - Browse repository at this point
Copy the full SHA fa00e39View commit details
Commits on Jul 27, 2023
-
Make sure that source file exists when copying QML RESOURCES
Some resource files could be generated after the configure step. We need to make sure that we attempt to copy source files only if file already exists when we configuring the project. Otherwise we postpone this operation till build time. Fixes: QTBUG-113439 Change-Id: Id939d70eeeb482da8831b8bc5322af50b5ab7f88 Reviewed-by: Joerg Bornemann <[email protected]> Reviewed-by: Amir Masoud Abdol <[email protected]> (cherry picked from commit 4ffea9d) Reviewed-by: Alexandru Croitor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8133cba - Browse repository at this point
Copy the full SHA 8133cbaView commit details
Commits on Jul 29, 2023
-
QQuickWidget: give each mapped mouse event the same QEventPoint
Counter-intuitively, this is done by setting the timestamp. Every time you construct a new mouse event, you always need to call setTimestamp() for the obvious reason: the timestamp is not a ctor argument, but it's important for some event receivers. But the non-obvious reason is that QMutableEventPoint::setTimestamp() has other useful side effects: the velocity calculation is done there, sensibly enough. But to make that possible, it also looks up the persistent QEventPoint with the same ID as the one in the QMouseEvent, and that's the most important to fix QTBUG-114258 specifically. QQuickFlickablePrivate::handleMoveEvent() calculates delta as QEventPoint::position() - mapFromGlobal(globalPressPosition()) and then QQuickFlickablePrivate::drag() does the drag threshold check. If globalPressPosition() is 0,0 because the persistent QEventPoint was not passed along in the mapped QMouseEvent, that delta is nearly always over the drag threshold. So Flickable took the exclusive grab at the first possible opportunity: the second move after press. Fixes: QTBUG-114258 Change-Id: Icaf7fb8fde0ef01b486ccf16852ef0f6cfb6a64c Reviewed-by: Tor Arne Vestbø <[email protected]> (cherry picked from commit 7ae07f4) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b048fa4 - Browse repository at this point
Copy the full SHA b048fa4View commit details
Commits on Jul 31, 2023
-
QQmlPropertyBinding: Correctly link observers after undefined valued …
…binding Calling both setObservers and prependObservers doesn't make sense: setObservers is for the case where we don't have a binding, but obviously we do have one here. Note that the test case still passes even without the fix - it will however cause a memory leak which can be detected by ASAN. The leak is fixed by this patch. Fixes: QTBUG-115251 Change-Id: I4b420e05f49acf764da6a05af522390005276f49 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Ulf Hermann <[email protected]> Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit 366fee7) Reviewed-by: Fabian Kosmale <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b82a9b7 - Browse repository at this point
Copy the full SHA b82a9b7View commit details -
sg: Fix dirty bit when changing mirror for QSGSimpleTextureNode
Not setting DirtyGeometry leads to subtle update problems in scenes where the value is dynamically toggled. Most commonly the changed mirroring value does not always take effect, but rather only when something else triggers something geometry-related. Change-Id: I6a00e1399ebeec3120b0f695cf0e10507f0ad807 Reviewed-by: Andy Nichols <[email protected]> (cherry picked from commit 45baa64) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 646f5a4 - Browse repository at this point
Copy the full SHA 646f5a4View commit details
Commits on Aug 3, 2023
-
Doc: Add \br between \value and \table
Whenever a \table follows a \value, the contents of the two commands merge, which breaks the table formatting. Fix this by adding a \br before the \table. Fixes: QTBUG-115537 Change-Id: I8e5836a8fc82dc9e59eb5fe210da9996d4f66d95 Reviewed-by: Safiyyah Moosa <[email protected]> Reviewed-by: Paul Wicking <[email protected]> (cherry picked from commit e80921b) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6749c20 - Browse repository at this point
Copy the full SHA 6749c20View commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Id8939a0d63e342a561cfebcdec2b4239a8e82db4 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedAug 3, 2023 Configuration menu - View commit details
-
Copy full SHA for d1e0af7 - Browse repository at this point
Copy the full SHA d1e0af7View commit details
Commits on Aug 9, 2023
-
ListView: add extra note about reusing items
The current documentation leads the reader to think that all items are always pooled as soon as they are flicked out the viewport. Add a small note that explains that this is not always the case. Task-number: QTBUG-115317 Change-Id: I31bc7920ae7fa2477764f1f2ce33a29ef6825a3f Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit c0ab315) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Richard Moe Gustavsen authored and Qt Cherry-pick Bot committedAug 9, 2023 Configuration menu - View commit details
-
Copy full SHA for 72ff7b1 - Browse repository at this point
Copy the full SHA 72ff7b1View commit details
Commits on Aug 11, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I545d350ba70070b8828e71e77e5ddcf5e73d1046 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedAug 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 7fbf81c - Browse repository at this point
Copy the full SHA 7fbf81cView commit details
Commits on Aug 14, 2023
-
QML: Make notify list thread safe
We keep the notifyList itself alive until the QQmlData itself is deleted. This way any isSignalConnected() called while an intermediate dtor runs can safely access it. We use atomics to make the concurrent access to the pointer and the connection mask defined behavior. However, we never need anything but relaxed semantics when accessing it. Fixes: QTBUG-105090 Change-Id: I82537be86e5cc33c2a3d76ec639fcbac87eb45ad Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> (cherry picked from commit 6919566) Reviewed-by: Sami Shalayel <[email protected]>
Ulf Hermann committedAug 14, 2023 Configuration menu - View commit details
-
Copy full SHA for aaa1b06 - Browse repository at this point
Copy the full SHA aaa1b06View commit details
Commits on Aug 15, 2023
-
QJSEngine::evaluate: Cross-reference QQmlExpression
QJSEngine::evaluate is meant for plain JavaScript; guide readers wanting to use it with QML to the correct place. Change-Id: If8016a4cca2999d95bac47e83159b1e10eb5a0d5 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit fead337) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e944f6 - Browse repository at this point
Copy the full SHA 1e944f6View commit details
Commits on Aug 16, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Ib74f91e9f5ccf4f2f72083fa166e48713d518641 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedAug 16, 2023 Configuration menu - View commit details
-
Copy full SHA for c461eb7 - Browse repository at this point
Copy the full SHA c461eb7View commit details
Commits on Aug 18, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I50c26df8e243fc451abdb30123f20196c2f1ede9 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedAug 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 7a2b1f4 - Browse repository at this point
Copy the full SHA 7a2b1f4View commit details
Commits on Aug 23, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: If75bd00a9f5970ad9dbaf969a2c4a11d179dba21 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedAug 23, 2023 Configuration menu - View commit details
-
Copy full SHA for 0e2a389 - Browse repository at this point
Copy the full SHA 0e2a389View commit details -
QtQml: Reset context object when destroying it from QObjectWrapper
There may be other objects that still hold on to the context data. We should not leave them with a dangling context obejct. Fixes: QTBUG-116228 Change-Id: I3dddd20b13956408d0e66c3a46e59377e45d91e5 Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> (cherry picked from commit 1d3385e)
Ulf Hermann committedAug 23, 2023 Configuration menu - View commit details
-
Copy full SHA for ffa28d9 - Browse repository at this point
Copy the full SHA ffa28d9View commit details
Commits on Aug 24, 2023
-
Doc: link to best practices from Interacting with QML Objects from C++
There's already a warning in that section, but we can also link to the best practices page. Change-Id: I31fcab885e7b95bac907605a038408c3019d297a Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit ca83d34) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c8f6fa6 - Browse repository at this point
Copy the full SHA c8f6fa6View commit details
Commits on Aug 29, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Id3002a9f15182d90296e5e7d3dfc4bb092ca0e98 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedAug 29, 2023 Configuration menu - View commit details
-
Copy full SHA for 539f909 - Browse repository at this point
Copy the full SHA 539f909View commit details
Commits on Aug 30, 2023
-
qmlformat: Fix handling of object destructuring in functions
We weren't considering the bindingTarget of PatternElements, which broke functions using object destructuring in the parameter list. While the resulting formatting is not very pretty, it at least is syntactically correct and the formatter doesn't crash. Fixes: QTBUG-111511 Change-Id: Ie22fed2160538bf0c5733b5aced0fdac64621346 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 310428e) Reviewed-by: Fabian Kosmale <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d2504d - Browse repository at this point
Copy the full SHA 5d2504dView commit details -
QJSEngine: Fix potential JS stack overflow cauased by spread operator
createSpreadArguments could in theory allocate a (nearly) unbounded number of QV4::Values. Avoid this by checking whether we approach jsStackTop. This fixes CVE-2022-43591. Change-Id: I01aecb979da47b7261688c9f185dc33a50a579a5 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 6511aa4) Reviewed-by: Fabian Kosmale <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a673dbd - Browse repository at this point
Copy the full SHA a673dbdView commit details -
Fix linking of static plugins to android module targets
All android targets are created as module targets, using the 'add_library(<target> MODULE ...)' call. When we select the linking type for static QML modules, we don't take into account those and this ends up with interface linking of Android apps to static QML modules. Consider module library targets in this case. Change-Id: I8151764eca6391feb4b0bd76f313314f22d50f7b Reviewed-by: Ulf Hermann <[email protected]> Reviewed-by: Alexandru Croitor <[email protected]> (cherry picked from commit 982a4d6) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc8c757 - Browse repository at this point
Copy the full SHA cc8c757View commit details
Commits on Aug 31, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I4764a24ea2816cbf52bbef9af20e5132c7e055ba Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedAug 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 9758443 - Browse repository at this point
Copy the full SHA 9758443View commit details -
Doc: Fix unqualified access in FolderListModel example
Change-Id: Iacbb8cc5f9d887cdd7f14f1d948e37e27e5c6083 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 6afb1ec) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2514466 - Browse repository at this point
Copy the full SHA 2514466View commit details -
Doc: Fix incorrect default value for FolderListModel.folder
This behavior has been in place since Qt 5 (or perhaps even earlier) Change-Id: If60192e4302f5b1316d29dc42139eb66855789a1 Reviewed-by: Leena Miettinen <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit e041ba4) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6346bc1 - Browse repository at this point
Copy the full SHA 6346bc1View commit details
Commits on Sep 4, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Ibf2de7eb0f07e9e6a4c4426b74a8483c4db4d448 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedSep 4, 2023 Configuration menu - View commit details
-
Copy full SHA for f40894d - Browse repository at this point
Copy the full SHA f40894dView commit details
Commits on Sep 8, 2023
-
Fix incorrect behavior after displace transition
to.x and to.y use itemX and itemY. This caused them to be off sync. Override item's fromValues with itemX and itemY calls to sync them back. Task-number: QTBUG-89193 Change-Id: If65f11a55101ee7cbc463806bcef0072fea00ebd Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Tomi Korpipää <[email protected]> Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit ebcdde7) Reviewed-by: Ulf Hermann <[email protected]>
Tony Leinonen authored and Ulf Hermann committedSep 8, 2023 Configuration menu - View commit details
-
Copy full SHA for c1be4de - Browse repository at this point
Copy the full SHA c1be4deView commit details -
GridView: Set content position when changing cell size
Content size was calculated before the new data was applied. This caused problems when calculating the column count while resizing the window. Fixes: QTBUG-92998 Change-Id: Ia4401c0e34cd11dc9e6c24a0320dbf0ca2f59ab9 Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 6254b38)
Tony Leinonen authored and Ulf Hermann committedSep 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 74448f9 - Browse repository at this point
Copy the full SHA 74448f9View commit details -
qt_add_qml_module: Error out if singleton is marked as internal
A singleton cannot be marked as internal – the qmldir parser cannot even parse such a declaration, and the runtime would have no idea how to deal with such a type. The cmake code so far generated two entries – one line where the type is a singleton, and the other one where the type is declared as internal – with the end result that the type was not treated as a singleton, at least not by qmllint. Once the engine actually supports internal singletons, we would need to adjust the qmldir file to have singleton and internal in one line. As that's not supported so far, we now simply error out with a fatal warning. Task-number: QTBUG-111532 Change-Id: Idf0843c5548b15f79700a45b4197c256a6dda5cd Reviewed-by: Alexey Edelev <[email protected]> (cherry picked from commit 10a310c)
Configuration menu - View commit details
-
Copy full SHA for dccee33 - Browse repository at this point
Copy the full SHA dccee33View commit details -
Fix extension lookup in QQmlJSScope
Do not go over extension's base types since this is not how the engine logic work. Instead, only assess the direct extension type when traversing the base type hierarchy. The special cases are value types which still need base type extension traversal (e.g. due to Number and NumberPrototype extensions on primitives) and QObject type itself (we expect to see ObjectPrototype properties / methods of it) Change-Id: I92ba979202b33f16e1a7b948d4f1e79df37f2669 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit a287e86) Reviewed-by: Sami Shalayel <[email protected]>
Ulf Hermann committedSep 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 15b9484 - Browse repository at this point
Copy the full SHA 15b9484View commit details -
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: Ib731b7794d051e0ffd90f76e08e55cd4c5d566ee Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedSep 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 9544b9f - Browse repository at this point
Copy the full SHA 9544b9fView commit details
Commits on Sep 9, 2023
-
SwipeView: reposition items that aren't visible after startup too
7a5bbc2 repositioned items upon startup, but didn't account for items added afterwards. Do that here so that semi-transparent pages don't show pages beneath them. Fixes: QTBUG-115468 Change-Id: If5ca587a6c14ddae5108c0a45d13fa2d290d1865 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Richard Moe Gustavsen <[email protected]> (cherry picked from commit 2cf897f)
Configuration menu - View commit details
-
Copy full SHA for 1f09a96 - Browse repository at this point
Copy the full SHA 1f09a96View commit details -
QQuickPopup: forget touchId when closed on press outside
QQuickPopupPrivate::touchId became dangling state when a popup is closed by pressing a touchpoint outside (closePolicy CloseOnPressOutside). The menu doesn't receive the release event, and the overlay filters the release after the menu is already closed, so we need to reset the stored touchId immediately. Fixes: QTBUG-103268 Change-Id: I99ff065b707b4b5f123021368e9d71f2c4b2ca70 Reviewed-by: Volker Hilsheimer <[email protected]> (cherry picked from commit 75990e7) Reviewed-by: Qt CI Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f714a79 - Browse repository at this point
Copy the full SHA f714a79View commit details -
Remove some references to Q_ENUMS
Q_ENUM is the preferred way to expose enums to the metatype system since quite a few years. Tast-number: QTBUG-113229 Change-Id: Ie778d0d4620e73742ca59bb37112e939489ffa4d Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 66a2000) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 609f5c7 - Browse repository at this point
Copy the full SHA 609f5c7View commit details -
QV4::QObjectWrapper: Use the object's actual meta type
Otherwise, a derived type's methods will not be found. In our particular case we tried to call a method of 'B*' on a QML attached property declared as 'A*'. This restores the previous behavior of using the object() for the meta type except for when it's a value type wrapper. Amends commit 63b622d. Change-Id: I08b9f4b97a58c15fdc3703dd3c5d927cd1beb3ce Reviewed-by: Sami Shalayel <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Semih Yavuz <[email protected]> Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 139d45c)
Configuration menu - View commit details
-
Copy full SHA for 1aa6621 - Browse repository at this point
Copy the full SHA 1aa6621View commit details -
SwipeView: ensure items fill the bounds
Taking the translucentPages component from SwipeView::test_initialPositions into a Qt Quick app and running it showed that the Text items weren't actually filling the SwipeView. The documentation states: "SwipeView is populated with a set of pages. One page is visible at a time." The implication here being that each item fills the SwipeView, hence only one being visible at a time. It also states that SwipeView manages the geometry of items: "Note: SwipeView takes over the geometry management of items added to the view. Using anchors on the items is not supported, and any width or height assignment will be overridden by the view. Notice that this only applies to the root of the item. Specifying width and height, or using anchors for its children works as expected." So, this patch corrects the behavior and updates the test. Change-Id: I3425d4d028743f440f003e86ba009a2da7cca9cb Reviewed-by: Richard Moe Gustavsen <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 08b2302)
Configuration menu - View commit details
-
Copy full SHA for 4a5bfc4 - Browse repository at this point
Copy the full SHA 4a5bfc4View commit details -
Doc: Use \qml instead of \code for qml code snippet
Change-Id: I0da780e11c8589d0463ab0d4d51d2a146613e98f Reviewed-by: Paul Wicking <[email protected]> (cherry picked from commit f4ba117) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec3d410 - Browse repository at this point
Copy the full SHA ec3d410View commit details -
Dialogs: fix statically-built applications not running
When attemping to run a statically-built Qt Quick app that uses QtQuick.Dialogs, users would get an error: qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/MessageDialog.qml: module "QtQuick.Dialogs.quickimpl" plugin "qtquickdialogs2quickimplplugin" not found This patch fixes these errors by listing QtQuick.Dialogs.quickimpl as a dependency through the qt_internal_add_qml_module command. This does introduce an unconditional tooling (e.g. qmlimportscanner) dependency on the non-native Qt Quick fallback plugin for all users, regardless of whether they are using a statically-built Qt or not. However, this should be fine, and the decision of whether or not to use the fallback is made at runtime anyway, so it may not be possible to conditionally add the dependency at CMake configure time. Fixes: QTBUG-105745 Change-Id: If2e4c4346963e645bd8e5e9cc210c7b38c8616c0 Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit 0d3a137) Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb63279 - Browse repository at this point
Copy the full SHA cb63279View commit details -
Context properties: Don't trigger an assert for numeric names
The logic in our IdentifierHash assumes that every entry is a StringOrSymbol; however, IdentifierTable::asProperyKey will convert keys that look like numbers to ArrayIndex instead. This is noramlly what we want, and not an issue, except for setContextPropery where the user can pass an arbitrary string that is not necessarily a valid identifier. In an ideal world, we would just disallow such identifiers, but for backward compatibility change the code to handle this case (avoiding a Qt internal assert). We only need to modify the QString overloads, as those are the only ones that interact with unsanitized user input. A later commit will modify setContextPropery to warn if the key is numeric. Fixes: QTBUG-115319 Change-Id: Ifc4e4d2bc99321836e6976c4cbd0c5ff687b430c Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit b2b90c7) Reviewed-by: Sami Shalayel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 202b792 - Browse repository at this point
Copy the full SHA 202b792View commit details -
Software Adaptation: Don't leak QSGRenderContext resources
Subclasses of QSGRenderContext are responsible for releasing the resource tracked by the render context on invalidate. I'm not sure the software context will ever have any other resources than QSGTextures, but it doesn't hurt to try and release everything anyway. Fixes: QTBUG-106968 Change-Id: I58902e1a33c0d3d101e39af3e5f0a18d6820ce98 Reviewed-by: Laszlo Agocs <[email protected]> (cherry picked from commit f1b188d) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for def5567 - Browse repository at this point
Copy the full SHA def5567View commit details -
Chat tutorial: Fix deprecation warning
Adapt to qtbase/14f9f00fdb2dc428610c08e3d9d03e38e9602166, fixing: sqlcontactmodel.cpp:40:13: warning: void QSqlQueryModel::setQuery(const QSqlQuery&) is deprecated: QSqlQuery is not meant to be copied. Pass it by move instead. [-Wdeprecated-declarations] Change-Id: I88d7f30247876f55b0114785efcf4ce580de0ab8 Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit 3689e9c) Reviewed-by: Ulf Hermann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b97164 - Browse repository at this point
Copy the full SHA 2b97164View commit details
Commits on Sep 10, 2023
-
doc: Add Window.visibility property snippet; link to Window example
Probably we'll keep the Window and Screen example: it has walkthrough docs already. Snippets can be used to illustrate some simplified scenarios, while the example is a bit fancier. Likewise, link to the Window and Screen example from the Screen docs. Change-Id: I20c803affd1f4b6d44b41520782e5ad3c69fc871 Reviewed-by: Oliver Eftevaag <[email protected]> (cherry picked from commit 36e3ea4) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4e8215 - Browse repository at this point
Copy the full SHA d4e8215View commit details
Commits on Sep 11, 2023
-
Doc: improve grabToImage snippets
- Change the code that is quoted so that the indenting looks sane - Make it possible to copy and run the first snippet without modification - Make it easier to copy and run the second snippet without modification - Move itemGrab.qml to item sub-directory - Generally tidy up Change-Id: I608b7a6025b9866c14b84420ae64827965a7519f Reviewed-by: Paul Wicking <[email protected]> (cherry picked from commit f0f9bac) Reviewed-by: Ulf Hermann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7cecf2a - Browse repository at this point
Copy the full SHA 7cecf2aView commit details -
tst_QQuickMenu: skip entire popup() test where necessary
If the cursor configure feature is not enabled, don't build the code. If the platform is Android or Wayland, skip the test. Change-Id: Ic60771decf7f2e0bd7db77c112925147015af5a6 Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]> (cherry picked from commit fb22bc6) Reviewed-by: Ulf Hermann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c0c5f7 - Browse repository at this point
Copy the full SHA 5c0c5f7View commit details -
Deferred properties: avoid spurious binding loop
During binding evaluation, it might happen that we do an initial read of a deferred property. If that deferred property is in turn an object property, further binding evaluations might occur. Those bindings should not depend on whatever trigerred the initial binding evaluation. However, with the new C++ properties/bindings, that would happen, as the bindingStatus would still indicate that binding evaluation is active. To remedy this, we temporarily suspend the binding status ind begin and completeDeferred. Fixes: QTBUG-96351 Change-Id: I7e9778aa5339f044ce3082e962a2ede34b5d1e69 Reviewed-by: Ulf Hermann <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> (cherry picked from commit 9b1d3a8) Reviewed-by: Semih Yavuz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8c58fa - Browse repository at this point
Copy the full SHA d8c58faView commit details -
Fix fetching data when reuseItems is true
QQmlDelegateModelPrivate::requestMoreIfNecessary() is called in various situations, including at startup, which calls QAIM::fetchMore() on the model if it supports that. But we need to do it in one more case: when delegates are being reused from the cache, the model could provide more rows even though we aren't instantiating new delegates. Amends 1841a9e Fixes: QTBUG-95107 Change-Id: I5b7ff48345ab78977cb03cfcf58ed96a57c831bd Reviewed-by: Santhosh Kumar <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 589d0ee) Reviewed-by: Sami Shalayel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1800513 - Browse repository at this point
Copy the full SHA 1800513View commit details -
Doc: de-duplicate header view docs
Parameterize the variable part of each section and include each section as a snippet. Change-Id: If5251cb2ee40dfb57cf57e0f1cad00b04c582e98 Reviewed-by: Nicholas Bennett <[email protected]> (cherry picked from commit d33edd9) Reviewed-by: Richard Moe Gustavsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d953147 - Browse repository at this point
Copy the full SHA d953147View commit details -
Doc: mention textRole in *HeaderView detailed description
It may not be clear that Qt::DisplayRole is used by default, as this is only mentioned in textRole's documentation, which isn't mentioned in the detailed description. Change-Id: Ie7e16bbfbedc2de6cc336f3a548bf69d6dbbdf40 Reviewed-by: Nicholas Bennett <[email protected]> (cherry picked from commit 9bd72f4) Reviewed-by: Richard Moe Gustavsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30548c5 - Browse repository at this point
Copy the full SHA 30548c5View commit details -
PropertyAnimation: Handle targets being deleted
QQuickPropertyAnimation does not own the targets in its targets list. Thus, we need to be careful to not access deleted objects. Calling QQmlData::wasDeleted is not enoguh, as the object might be fully deleted, but we'd still have a dangling pointer to it. Fix the issue by using QPointer. A similar issue might exists for target, but there we don't normally end up with dangling references - the engine will correctly null the target. And the QPointer isNull check will avoid potentiall nullptr derefences there, too. Ideally, we would use QQmlGuard instead of QPointer, as it would have a lower overhead - however, we run into linker issues on MSVC. Fixing them is deferred to a future commit, to not block this crash fix. Fixes: QTBUG-100392 Change-Id: If084e2e0f22d50dbee8bf5aedfa2e749e79fc105 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Mitch Curtis <[email protected]> (cherry picked from commit 8a74155) Reviewed-by: Sami Shalayel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3017099 - Browse repository at this point
Copy the full SHA 3017099View commit details -
Engine: Fix handling of attached objects in function calls
When we use an attached object as an argument to a function call, we need to properly extract it from the QmlTypeWrapper. Before this change, we simpley left the argument pointer as null, which lead to subsequent crashes when it got dereferenced. Moreover, treat passing namespaces to functions expecting a QObject as a TypeError, by returning false from CallArgument::fromValue (used to crash for the same reason as with the attached object case). Fixes: QTBUG-106119 Change-Id: Ifa6a32e20a29935aff1f265eb0edd3e35ea1c11b Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 84483bf) Reviewed-by: Semih Yavuz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd6489e - Browse repository at this point
Copy the full SHA bd6489eView commit details -
qmlformat: Preserve variable declaration scope type
If the user used for(let x;...) we need to preserve the let and must not change it to var. Fixes: QTBUG-105361 Change-Id: I49fc3797505b569cc9b8a9138dd57ec7e70d3eb9 Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 84dd339)
Configuration menu - View commit details
-
Copy full SHA for 13760c8 - Browse repository at this point
Copy the full SHA 13760c8View commit details -
Blacklist failing tests in tst_flickableinterop
pinchHandlerOnFlickable fail with QTBUG-112924. Blacklist it for now. It will be handled in QTBUG-113226 Task-number: QTBUG-113226 Task-number: QTBUG-112924 Change-Id: I58c646f957fb6f397405dc477d00eee770602e80 Reviewed-by: Richard Moe Gustavsen <[email protected]> (cherry picked from commit 407675b) Reviewed-by: Ulf Hermann <[email protected]>
Seokha Ko authored and Ulf Hermann committedSep 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 94888ad - Browse repository at this point
Copy the full SHA 94888adView commit details
Commits on Sep 12, 2023
-
Flickable: don't initiate grab if there are multiple touchpoints
Flickable is meant to be flicked with one finger, not two or more. If the UI depends on using the pinch gesture on some child of the contentItem, Flickable shouldn't interfere with that. The user might accidentally touch the screen with extra fingers while trying to flick; Flickable should not care, as long as it has grabbed the one touchpoint that it's tracking before the second point appears. Removes QEXPECT_FAILs added in d7623d7 handleMoveEvent() can be called from filterPointerEvent(), or from mouseMoveEvent() in case of direct delivery; and filterPointerEvent() will now avoid stealing the grab during multi-touch press or release as well. The "ignoring multi-touch" categorized log message is emitted twice while filtering a move event, but only once in the other cases. Fixes: QTBUG-77629 Task-number: QTBUG-85278 Task-number: QTBUG-106223 Fixes: QTBUG-109655 Change-Id: I7a19deaed3b2255de2b686f0d96bd08fe5ab1636 Reviewed-by: Doris Verria <[email protected]> (cherry picked from commit 5171bcd) Reviewed-by: Shawn Rutledge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b00d83 - Browse repository at this point
Copy the full SHA 9b00d83View commit details -
Add QQuickTest::pointerPress/Move/Release convenience functions
More autotests should test mouse, especially touch and maybe tablet events, with similar expectations, instead of testing mainly mouse and mostly neglecting the other device types. This makes it easier to work with data-driven tests that take specific QPointingDevice instances as test data. Started using them in tst_TapHandler::gesturePolicyDragWithinBounds() which was already data-driven by device type. Clearly, this code is now easier to read and less repetitious. In tst_qquickwindow::subclassWithPointerEventVirtualOverrides() the improvement is somewhat smaller, but this test validates that tablet events are working. Change-Id: I74d0fcc2f082af3737a0754c58205fa2b18c1a2d Reviewed-by: Richard Moe Gustavsen <[email protected]> (cherry picked from commit 59d967a) Reviewed-by: Ulf Hermann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89871b6 - Browse repository at this point
Copy the full SHA 89871b6View commit details
Commits on Sep 17, 2023
-
Update dependencies on 'tqtc/lts-6.2-opensource' in qt/tqtc-qtdeclara…
…tive Change-Id: Ib93661e86f3c9665ca0eb5071599672ac12ef67c Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedSep 17, 2023 Configuration menu - View commit details
-
Copy full SHA for b474779 - Browse repository at this point
Copy the full SHA b474779View commit details
Commits on Sep 18, 2023
-
Update dependencies on 'tqtc/lts-6.2' in qt/tqtc-qtdeclarative
Change-Id: I056b1fe67120dae4908d277793439603f848addb Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedSep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for dac2d5f - Browse repository at this point
Copy the full SHA dac2d5fView commit details -
Integrate property binding evaluation fix from qtbase
This is basically the same as QTBUG-105204, only with the QML engine being involved. Fixes: QTBUG-104982 Change-Id: I5afaadedcd7af41198702a8f2331703b4f6ef2e7 Reviewed-by: Sami Shalayel <[email protected]> Reviewed-by: Ulf Hermann <[email protected]> (cherry picked from commit 2879c7c) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 003836d - Browse repository at this point
Copy the full SHA 003836dView commit details
Commits on Sep 20, 2023
-
Update dependencies on 'tqtc/lts-6.2-opensource' in qt/tqtc-qtdeclara…
…tive Change-Id: Ia7c43f9ce31b81f014f8b843e2608440764bb3b4 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedSep 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 4a6dfcd - Browse repository at this point
Copy the full SHA 4a6dfcdView commit details
Commits on Sep 28, 2023
-
Use const QPointingDevices in tests
When a data-driven test has QTest::addColumn<const QPointingDevice *>("device"); QTestData::append() does a type check with QTEST_ASSERT if it's not an exact match. That can result in a crash, apparently, although it's not clear then how 59d967a got through CI the first time. Amends 59d967a Task-number: QTBUG-107863 Task-number: QTBUG-107864 Task-number: QTBUG-117079 Change-Id: I383191b604eb504d49b0d51a23ecc45160f3383b Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 1a8a47d) Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit 54227bc58abaa3ffd84150dfc80863035201d09f)
Configuration menu - View commit details
-
Copy full SHA for 47d0f16 - Browse repository at this point
Copy the full SHA 47d0f16View commit details -
Skip tst_QQuickMultiPointTouchArea::inFlickable on Android
It crashes because of an assert: QPointingDevicePrivate::queryPointById() fails to find the expected eventpoint. Task-number: QTBUG-117079 Change-Id: I85dcd7615cddc26d3c3adfe51473bb4074a1c925 Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 467563f33545d8cdc526b3f62a0a19bf49756896)
Configuration menu - View commit details
-
Copy full SHA for 6d1d0e6 - Browse repository at this point
Copy the full SHA 6d1d0e6View commit details -
Update dependencies on 'tqtc/lts-6.2.10' in qt/tqtc-qtdeclarative
Change-Id: I553081d7166160c7cdca78076d884aea336a8c29 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedSep 28, 2023 Configuration menu - View commit details
-
Copy full SHA for 33e0468 - Browse repository at this point
Copy the full SHA 33e0468View commit details
Commits on Oct 3, 2023
-
Merge remote-tracking branch 'origin/tqtc/lts-6.2.7' into tqtc/lts-6.…
…2-opensource Change-Id: Ib72ded968b7ac6b75b499392162e3cf3b761ec48
Tarja Sundqvist committedOct 3, 2023 Configuration menu - View commit details
-
Copy full SHA for eca36ba - Browse repository at this point
Copy the full SHA eca36baView commit details
Commits on Oct 11, 2023
-
Update dependencies on 'tqtc/lts-6.2-opensource' in qt/tqtc-qtdeclara…
…tive Change-Id: I01fa14ee2d130dd1be6024cd2a3679579def41d5 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedOct 11, 2023 Configuration menu - View commit details
-
Copy full SHA for 6831ddc - Browse repository at this point
Copy the full SHA 6831ddcView commit details
Commits on Oct 31, 2023
-
Update dependencies on 'tqtc/lts-6.2-opensource' in qt/tqtc-qtdeclara…
…tive Change-Id: Ibea99ae074b4c4a4b6e34f71a9b7ae7986914399 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedOct 31, 2023 Configuration menu - View commit details
-
Copy full SHA for 02277e3 - Browse repository at this point
Copy the full SHA 02277e3View commit details
Commits on Feb 20, 2024
-
Merge remote-tracking branch 'origin/tqtc/lts-6.2.8' into tqtc/lts-6.…
…2-opensource Conflicts solved in a file: dependencies.yaml Change-Id: Ib4083daa41a689b937d2aeb522e93e3aab0be1c4
Tarja Sundqvist committedFeb 20, 2024 Configuration menu - View commit details
-
Copy full SHA for 302ab20 - Browse repository at this point
Copy the full SHA 302ab20View commit details
Commits on Mar 26, 2024
-
Update dependencies on 'tqtc/lts-6.2-opensource' in qt/tqtc-qtdeclara…
…tive Change-Id: Iea77c0713e97dfaf8954134f78a8d07f804ed154 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedMar 26, 2024 Configuration menu - View commit details
-
Copy full SHA for 9919f58 - Browse repository at this point
Copy the full SHA 9919f58View commit details
Commits on Jun 6, 2024
-
Merge tag 'v6.2.9-lts' into tqtc/lts-6.2-opensource
Qt 6.2.9-lts release Conflicts solved: dependencies.yaml Change-Id: If2cf4ac99b3e70b6a875b00cc4c3e7766b361a08
Tarja Sundqvist committedJun 6, 2024 Configuration menu - View commit details
-
Copy full SHA for a1b4a68 - Browse repository at this point
Copy the full SHA a1b4a68View commit details
Commits on Oct 4, 2024
-
Update dependencies on 'tqtc/lts-6.2-opensource' in qt/tqtc-qtdeclara…
…tive Change-Id: Ib02444aca85e975eb2487eb71d32542dfe83eefe Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot committedOct 4, 2024 Configuration menu - View commit details
-
Copy full SHA for b078003 - Browse repository at this point
Copy the full SHA b078003View commit details -
Merge tag 'v6.2.10-lts' into tqtc/lts-6.2-opensource
Qt 6.2.10-lts release Conflicts solved: dependencies.yaml Change-Id: Ibdf006fa08cddc80ad30fb9ce1089305729d4ece
Tarja Sundqvist committedOct 4, 2024 Configuration menu - View commit details
-
Copy full SHA for 9886ff3 - Browse repository at this point
Copy the full SHA 9886ff3View commit details