<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git, branch v6.3.1</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>QSGBatchRenderer: look for ShaderManager by type only, ignore name</title>
<updated>2022-06-06T17:56:46+00:00</updated>
<author>
<name>Marc Mutz</name>
<email>marc.mutz@qt.io</email>
</author>
<published>2022-06-02T16:29:06+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=47ef121e1a436fd46129cdaa1a4398c82045eb97'/>
<id>47ef121e1a436fd46129cdaa1a4398c82045eb97</id>
<content type='text'>
There's only ever one of them, and accessing objectName() from a
different than the owning thread is UB (data race).

The default-constructed QString() is needed, cf. QTBUG-103986.

This is a hotfix for QTBUG-102403, which ran afoul of the guards added
in qtbase/3f32dcd1ddcbe04c77ccd83e2eaa566d7212e732 to fix QTBUG-99775.

Task-number: QTBUG-102403
Change-Id: Idf07b1119ec393e7fd179e8b545cfeb70f5916ec
Reviewed-by: Allan Sandfeld Jensen &lt;allan.jensen@qt.io&gt;
(cherry picked from commit 543806e96da237a4625b593ed773813e0cdfe3fb)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's only ever one of them, and accessing objectName() from a
different than the owning thread is UB (data race).

The default-constructed QString() is needed, cf. QTBUG-103986.

This is a hotfix for QTBUG-102403, which ran afoul of the guards added
in qtbase/3f32dcd1ddcbe04c77ccd83e2eaa566d7212e732 to fix QTBUG-99775.

Task-number: QTBUG-102403
Change-Id: Idf07b1119ec393e7fd179e8b545cfeb70f5916ec
Reviewed-by: Allan Sandfeld Jensen &lt;allan.jensen@qt.io&gt;
(cherry picked from commit 543806e96da237a4625b593ed773813e0cdfe3fb)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update dependencies on '6.3.1' in qt/qtdeclarative</title>
<updated>2022-06-06T10:17:24+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2022-06-06T01:29:16+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=3e91ad66056ff2ccfb4ba6b85f500827348e9397'/>
<id>3e91ad66056ff2ccfb4ba6b85f500827348e9397</id>
<content type='text'>
Change-Id: I6d5169fc6f83fa24e138571f49ca2d3f3b0babff
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I6d5169fc6f83fa24e138571f49ca2d3f3b0babff
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update dependencies on '6.3.1' in qt/qtdeclarative</title>
<updated>2022-06-03T05:09:40+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2022-06-03T03:19:00+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=4ba2c85d12a0953fca1c89b4144019160a0961d5'/>
<id>4ba2c85d12a0953fca1c89b4144019160a0961d5</id>
<content type='text'>
Change-Id: I187e1c3e528b2ce1997972571d28f87e6dc31b38
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I187e1c3e528b2ce1997972571d28f87e6dc31b38
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QV4::CompiledData: fix GCC 12 -Werror=uninitialized errors</title>
<updated>2022-06-02T12:30:27+00:00</updated>
<author>
<name>Marc Mutz</name>
<email>marc.mutz@qt.io</email>
</author>
<published>2022-06-01T09:12:12+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5050aa901e3dd7fd83423ccbe0e81ab8d921a3e5'/>
<id>5050aa901e3dd7fd83423ccbe0e81ab8d921a3e5</id>
<content type='text'>
The non-default ctors tried to call m_data.set(), where m_data
uninitialized.

Says GCC 12:

  In member function ‘QSpecialIntegerAccessor&lt;S, pos, width, T&gt;&amp; QSpecialIntegerAccessor&lt;S, pos, width, T&gt;::operator=(Type) [with S = QLittleEndianStorageType&lt;unsigned int&gt;; int pos = 0; int width = 5; T = unsigned int]’,
    inlined from ‘void QSpecialIntegerBitfieldUnion&lt;S, Accessors&gt;::set(typename A::Type) [with A = QSpecialIntegerAccessor&lt;QLittleEndianStorageType&lt;unsigned int&gt;, 0, 5, unsigned int&gt;; S = QLittleEndianStorageType&lt;unsigned int&gt;; Accessors = {QSpecialIntegerAccessor&lt;QLittleEndianStorageType&lt;unsigned int&gt;, 0, 5, unsigned int&gt;, QSpecialIntegerAccessor&lt;QLittleEndianStorageType&lt;unsigned int&gt;, 5, 27, unsigned int&gt;}]’ at qtbase/src/corelib/global/qendian_p.h:214:21,
    inlined from ‘QV4::CompiledData::RegExp::RegExp(quint32, quint32)’ at qtdeclarative/src/qml/common/qv4compileddata_p.h:187:31,
    inlined from ‘int QV4::Compiler::JSUnitGenerator::registerRegExp(QQmlJS::AST::RegExpLiteral*)’ at qtdeclarative/src/qml/compiler/qv4compiler.cpp:198:34:
  qtbase/src/corelib/global/qendian_p.h:179:40: error: ‘&lt;unnamed&gt;.QV4::CompiledData::RegExp::m_data.QSpecialIntegerBitfieldUnion&lt;QLittleEndianStorageType&lt;unsigned int&gt;, QSpecialIntegerAccessor&lt;QLittleEndianStorageType&lt;unsigned int&gt;, 0, 5, unsigned int&gt;, QSpecialIntegerAccessor&lt;QLittleEndianStorageType&lt;unsigned int&gt;, 5, 27, unsigned int&gt; &gt;::storage.QSpecialIntegerStorage&lt;QLittleEndianStorageType&lt;unsigned int&gt; &gt;::val’ is used uninitialized [-Werror=uninitialized]
    179 |         UnsignedType i = S::fromSpecial(storage-&gt;val);
        |                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
  qtdeclarative/src/qml/compiler/qv4compiler.cpp: In member function ‘int QV4::Compiler::JSUnitGenerator::registerRegExp(QQmlJS::AST::RegExpLiteral*)’:
  qtdeclarative/src/qml/compiler/qv4compiler.cpp:198:90: note: ‘&lt;anonymous&gt;’ declared here
    198 |     regexps.append(CompiledData::RegExp(flags, registerString(regexp-&gt;pattern.toString())));
        |                                                                                          ^

Fix by calling the default ctor (which initialized m_data) before
calling m_data.set().

Task-number: QTBUG-103924
Change-Id: I44ff404e5509e24601893e539639f213defdc80d
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit 405f1f7d05a27f659fa47afb5574a159301caff6)
Reviewed-by: Marc Mutz &lt;marc.mutz@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The non-default ctors tried to call m_data.set(), where m_data
uninitialized.

Says GCC 12:

  In member function ‘QSpecialIntegerAccessor&lt;S, pos, width, T&gt;&amp; QSpecialIntegerAccessor&lt;S, pos, width, T&gt;::operator=(Type) [with S = QLittleEndianStorageType&lt;unsigned int&gt;; int pos = 0; int width = 5; T = unsigned int]’,
    inlined from ‘void QSpecialIntegerBitfieldUnion&lt;S, Accessors&gt;::set(typename A::Type) [with A = QSpecialIntegerAccessor&lt;QLittleEndianStorageType&lt;unsigned int&gt;, 0, 5, unsigned int&gt;; S = QLittleEndianStorageType&lt;unsigned int&gt;; Accessors = {QSpecialIntegerAccessor&lt;QLittleEndianStorageType&lt;unsigned int&gt;, 0, 5, unsigned int&gt;, QSpecialIntegerAccessor&lt;QLittleEndianStorageType&lt;unsigned int&gt;, 5, 27, unsigned int&gt;}]’ at qtbase/src/corelib/global/qendian_p.h:214:21,
    inlined from ‘QV4::CompiledData::RegExp::RegExp(quint32, quint32)’ at qtdeclarative/src/qml/common/qv4compileddata_p.h:187:31,
    inlined from ‘int QV4::Compiler::JSUnitGenerator::registerRegExp(QQmlJS::AST::RegExpLiteral*)’ at qtdeclarative/src/qml/compiler/qv4compiler.cpp:198:34:
  qtbase/src/corelib/global/qendian_p.h:179:40: error: ‘&lt;unnamed&gt;.QV4::CompiledData::RegExp::m_data.QSpecialIntegerBitfieldUnion&lt;QLittleEndianStorageType&lt;unsigned int&gt;, QSpecialIntegerAccessor&lt;QLittleEndianStorageType&lt;unsigned int&gt;, 0, 5, unsigned int&gt;, QSpecialIntegerAccessor&lt;QLittleEndianStorageType&lt;unsigned int&gt;, 5, 27, unsigned int&gt; &gt;::storage.QSpecialIntegerStorage&lt;QLittleEndianStorageType&lt;unsigned int&gt; &gt;::val’ is used uninitialized [-Werror=uninitialized]
    179 |         UnsignedType i = S::fromSpecial(storage-&gt;val);
        |                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
  qtdeclarative/src/qml/compiler/qv4compiler.cpp: In member function ‘int QV4::Compiler::JSUnitGenerator::registerRegExp(QQmlJS::AST::RegExpLiteral*)’:
  qtdeclarative/src/qml/compiler/qv4compiler.cpp:198:90: note: ‘&lt;anonymous&gt;’ declared here
    198 |     regexps.append(CompiledData::RegExp(flags, registerString(regexp-&gt;pattern.toString())));
        |                                                                                          ^

Fix by calling the default ctor (which initialized m_data) before
calling m_data.set().

Task-number: QTBUG-103924
Change-Id: I44ff404e5509e24601893e539639f213defdc80d
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit 405f1f7d05a27f659fa47afb5574a159301caff6)
Reviewed-by: Marc Mutz &lt;marc.mutz@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix flaky tst_QQuickFileDialogImpl::goUp test</title>
<updated>2022-06-01T08:30:01+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2022-04-12T02:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=ec1dc0ed933a8270ec59ff69c41987862398ea2d'/>
<id>ec1dc0ed933a8270ec59ff69c41987862398ea2d</id>
<content type='text'>
Don't listen to fileDialogListView currentIndexChanged signal while
setting its currentIndex, because the file associated with the delegate
is not correct at that stage.

Change-Id: Iffc9315c03b6670bc3a7609f3613a4570e4f9632
Fixes: QTBUG-101488
Reviewed-by: Tor Arne Vestbø &lt;tor.arne.vestbo@qt.io&gt;
(cherry picked from commit dc86f974f0ce5ac57ddeceee3b020661b932f6b1)
Reviewed-by: Pasi Petäjäjärvi &lt;pasi.petajajarvi@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't listen to fileDialogListView currentIndexChanged signal while
setting its currentIndex, because the file associated with the delegate
is not correct at that stage.

Change-Id: Iffc9315c03b6670bc3a7609f3613a4570e4f9632
Fixes: QTBUG-101488
Reviewed-by: Tor Arne Vestbø &lt;tor.arne.vestbo@qt.io&gt;
(cherry picked from commit dc86f974f0ce5ac57ddeceee3b020661b932f6b1)
Reviewed-by: Pasi Petäjäjärvi &lt;pasi.petajajarvi@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update dependencies on '6.3' in qt/qtdeclarative</title>
<updated>2022-05-31T05:23:38+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2022-05-31T05:23:33+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=82313391aad3473b29b2bd79de419d0f1ac2a563'/>
<id>82313391aad3473b29b2bd79de419d0f1ac2a563</id>
<content type='text'>
Change-Id: I9ee0033ed1c2fbc2c984d1ea91e61a7984bd70d9
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I9ee0033ed1c2fbc2c984d1ea91e61a7984bd70d9
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix \relates for Q_IMPORT_QML_PLUGIN</title>
<updated>2022-05-30T17:41:08+00:00</updated>
<author>
<name>Fabian Kosmale</name>
<email>fabian.kosmale@qt.io</email>
</author>
<published>2022-05-27T13:35:58+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=77b4884c0d64f221acb312604f0647e8c409c79e'/>
<id>77b4884c0d64f221acb312604f0647e8c409c79e</id>
<content type='text'>
Refer to the class instead of trying to refer to the header. The latter
does not associate it with the actual page and creates a proxy page
instead.
As a drive-by, mention that the macro only exists from 6.2 onwards.

Change-Id: I531ee92257e6631a5b7830d881b1ef42a7ea61b1
Reviewed-by: Andrei Golubev &lt;andrei.golubev@qt.io&gt;
(cherry picked from commit feff2898fe6b457ed9f999c110bb89dea042285b)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refer to the class instead of trying to refer to the header. The latter
does not associate it with the actual page and creates a proxy page
instead.
As a drive-by, mention that the macro only exists from 6.2 onwards.

Change-Id: I531ee92257e6631a5b7830d881b1ef42a7ea61b1
Reviewed-by: Andrei Golubev &lt;andrei.golubev@qt.io&gt;
(cherry picked from commit feff2898fe6b457ed9f999c110bb89dea042285b)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickSelectionRectangle: ensure we start the selection where the drag started</title>
<updated>2022-05-30T13:43:12+00:00</updated>
<author>
<name>Richard Moe Gustavsen</name>
<email>richard.gustavsen@qt.io</email>
</author>
<published>2022-05-25T13:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=baad186daf64d059f0e67d93c55f3aa380c8763a'/>
<id>baad186daf64d059f0e67d93c55f3aa380c8763a</id>
<content type='text'>
We should start the selection in TableView at the position where the
user started the drag, and not where the centroid at the time when the
dragging gets active (which is an offset equal to the
mousePressAndHoldInterval property in QStyleHints).

Change-Id: Ibe330d31c1e2c8022006a56b7119b1dcb3e0e5b9
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
(cherry picked from commit 6d2d4914f884fc1a88382ba5cb6eeeeab272874e)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We should start the selection in TableView at the position where the
user started the drag, and not where the centroid at the time when the
dragging gets active (which is an offset equal to the
mousePressAndHoldInterval property in QStyleHints).

Change-Id: Ibe330d31c1e2c8022006a56b7119b1dcb3e0e5b9
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
(cherry picked from commit 6d2d4914f884fc1a88382ba5cb6eeeeab272874e)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: clarify when SpinBox's valueModified signal is emitted</title>
<updated>2022-05-30T08:45:28+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2022-05-26T13:42:38+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=69e9c7e3b1ad9c601e7f3f1a1f80d5578bcfbfc9'/>
<id>69e9c7e3b1ad9c601e7f3f1a1f80d5578bcfbfc9</id>
<content type='text'>
Task-number: QTBUG-103205
Change-Id: I0450c0218c5a3e14d373c0a39c29749c8bf958d5
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
(cherry picked from commit b1cdd12ac51412550b11089911f582d48f8cad82)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Task-number: QTBUG-103205
Change-Id: I0450c0218c5a3e14d373c0a39c29749c8bf958d5
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
(cherry picked from commit b1cdd12ac51412550b11089911f582d48f8cad82)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Popup: don't close when releasing a drag outside of the popup</title>
<updated>2022-05-27T10:31:36+00:00</updated>
<author>
<name>Soheil Armin</name>
<email>soheil.armin@qt.io</email>
</author>
<published>2022-05-03T14:50:09+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=aa67903259496a5644b9cbb4ee5a84f877795d94'/>
<id>aa67903259496a5644b9cbb4ee5a84f877795d94</id>
<content type='text'>
If a release mouse/touch event happens outside of the popup (or its
parent), and the close policy is CloseOnReleaseOutside(Parent), the
popup will be closed regardless of the where the mousepress event
happened. The user expect to close the popup if and only if the press is
also follows the same policy (outside of the popup or its parent
depending on the flag).

New test cases added to verify it as well.

Fixes: QTBUG-67512
Change-Id: I034bfb6b39dd5d6370b97b4833ffb91751c13ed2
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit 89b8beecedb2d05ff987a188342bcce9676f3736)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a release mouse/touch event happens outside of the popup (or its
parent), and the close policy is CloseOnReleaseOutside(Parent), the
popup will be closed regardless of the where the mousepress event
happened. The user expect to close the popup if and only if the press is
also follows the same policy (outside of the popup or its parent
depending on the flag).

New test cases added to verify it as well.

Fixes: QTBUG-67512
Change-Id: I034bfb6b39dd5d6370b97b4833ffb91751c13ed2
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit 89b8beecedb2d05ff987a188342bcce9676f3736)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
