<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git, branch 6.9</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Increase robustness of &lt;img&gt; tag in Text component</title>
<updated>2025-11-20T07:12:11+00:00</updated>
<author>
<name>Eskil Abrahamsen Blomfeldt</name>
<email>eskil.abrahamsen-blomfeldt@qt.io</email>
</author>
<published>2025-10-29T08:43:40+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=855f02c96d3c089ea7c0010ebbe4b29fab9cc1ba'/>
<id>855f02c96d3c089ea7c0010ebbe4b29fab9cc1ba</id>
<content type='text'>
For Text.StyledText, there was no protection against &lt;img&gt; tags
with very large widths or heights. This could cause an application
to spend a very long time processing a layout and sometimes crash
if the size was too large.

We reuse the internal coord limit in QPainter as our maximum size
here, similar to what we do in Qt Svg for instance.

For Text.RichText, there were no issues in release builds, but in
debug builds, you could trigger an overflow assert when rounding
the number if it exceeded INT_MAX. For this, we simply cap the
width and height at INT_MAX.

Fixes: QTBUG-141515
Change-Id: I4bcba16158f5f495a0de38963316effc4c46aae1
Reviewed-by: Eirik Aavitsland &lt;eirik.aavitsland@qt.io&gt;
(cherry picked from commit 4aaf9bf21f7cc69d73066785e254b664fcc82025)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 907c7ceb7b27586039262567273efd5ec79e6202)
Reviewed-by: Antti Kokko &lt;antti.kokko@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For Text.StyledText, there was no protection against &lt;img&gt; tags
with very large widths or heights. This could cause an application
to spend a very long time processing a layout and sometimes crash
if the size was too large.

We reuse the internal coord limit in QPainter as our maximum size
here, similar to what we do in Qt Svg for instance.

For Text.RichText, there were no issues in release builds, but in
debug builds, you could trigger an overflow assert when rounding
the number if it exceeded INT_MAX. For this, we simply cap the
width and height at INT_MAX.

Fixes: QTBUG-141515
Change-Id: I4bcba16158f5f495a0de38963316effc4c46aae1
Reviewed-by: Eirik Aavitsland &lt;eirik.aavitsland@qt.io&gt;
(cherry picked from commit 4aaf9bf21f7cc69d73066785e254b664fcc82025)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 907c7ceb7b27586039262567273efd5ec79e6202)
Reviewed-by: Antti Kokko &lt;antti.kokko@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Rich text: Limit size of text object</title>
<updated>2025-11-19T06:04:50+00:00</updated>
<author>
<name>Eskil Abrahamsen Blomfeldt</name>
<email>eskil.abrahamsen-blomfeldt@qt.io</email>
</author>
<published>2025-10-31T08:08:51+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5a263603c34387d3b93dd03985490dd3d1131644'/>
<id>5a263603c34387d3b93dd03985490dd3d1131644</id>
<content type='text'>
When we draw a text object, we need to store this in RAM
since the QTextObjectInterface is QPainter-based. This
could lead to over-allocation if the text object size
was set to be very large. We use the existing image IO
infrastructure for making sure allocations are within
reasonable (and configurable) limits.

Task-number: QTBUG-141515
Change-Id: Ieae06a9e92a7bd078d22ab2314889201c2049122
Reviewed-by: Eirik Aavitsland &lt;eirik.aavitsland@qt.io&gt;
(cherry picked from commit 144ce34e846b3f732bdb003f99b1f9455425416f)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit c3a07c99f9d2328cee4aa48a51d261d243b50d85)
Reviewed-by: Akseli Salovaara &lt;akseli.salovaara@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we draw a text object, we need to store this in RAM
since the QTextObjectInterface is QPainter-based. This
could lead to over-allocation if the text object size
was set to be very large. We use the existing image IO
infrastructure for making sure allocations are within
reasonable (and configurable) limits.

Task-number: QTBUG-141515
Change-Id: Ieae06a9e92a7bd078d22ab2314889201c2049122
Reviewed-by: Eirik Aavitsland &lt;eirik.aavitsland@qt.io&gt;
(cherry picked from commit 144ce34e846b3f732bdb003f99b1f9455425416f)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit c3a07c99f9d2328cee4aa48a51d261d243b50d85)
Reviewed-by: Akseli Salovaara &lt;akseli.salovaara@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update dependencies on '6.9' in qt/qtdeclarative</title>
<updated>2025-11-19T06:04:46+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2025-11-18T16:29:30+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=3aeacf9ba7da67be1967e91e718af845ff22edd6'/>
<id>3aeacf9ba7da67be1967e91e718af845ff22edd6</id>
<content type='text'>
Change-Id: I75698ef54d4d974dcbb92f97b0bb991e97c5866a
Reviewed-by: Antti Kokko &lt;antti.kokko@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I75698ef54d4d974dcbb92f97b0bb991e97c5866a
Reviewed-by: Antti Kokko &lt;antti.kokko@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add security header for  src/qmldom</title>
<updated>2025-09-17T17:03:36+00:00</updated>
<author>
<name>Semih Yavuz</name>
<email>semih.yavuz@qt.io</email>
</author>
<published>2025-09-16T11:13:56+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e07a6a03baee39bbec7a3065e626a923f1406abf'/>
<id>e07a6a03baee39bbec7a3065e626a923f1406abf</id>
<content type='text'>
There is no security critic code in qmldom. Everything remains
at the default "signicant" security level. Exception is one file
containing only headers marked "insignificant".

QUIP: 23
Fixes: QTBUG-136197
Pick-to: 6.8
Change-Id: Ied3f8f9299b8c429e903922b815ee5db8f2d1a9e
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit 14785c28679923e82f9047331235b6181609bad1)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 315da2e6c219402f9d74305e314f4fcc2c4249c4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no security critic code in qmldom. Everything remains
at the default "signicant" security level. Exception is one file
containing only headers marked "insignificant".

QUIP: 23
Fixes: QTBUG-136197
Pick-to: 6.8
Change-Id: Ied3f8f9299b8c429e903922b815ee5db8f2d1a9e
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit 14785c28679923e82f9047331235b6181609bad1)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 315da2e6c219402f9d74305e314f4fcc2c4249c4)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add security header for  src/qmlformat</title>
<updated>2025-09-17T17:03:30+00:00</updated>
<author>
<name>Semih Yavuz</name>
<email>semih.yavuz@qt.io</email>
</author>
<published>2025-09-16T11:13:56+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=354f325821de619781f0e96129bb7af29d25ab66'/>
<id>354f325821de619781f0e96129bb7af29d25ab66</id>
<content type='text'>
There is no security critic code in qmlformat. Everything remains
at the default "signicant" security level.

QUIP: 23
Fixes: QTBUG-136198
Pick-to: 6.8
Change-Id: Iac1c84748bc98a9c921fc8ae895a2dcd53d01270
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit b855223eda6c124a08eea50163cc475b552da7f1)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 1d147f41031d0fb68a4658f6a1a2be9b9c37d0c6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no security critic code in qmlformat. Everything remains
at the default "signicant" security level.

QUIP: 23
Fixes: QTBUG-136198
Pick-to: 6.8
Change-Id: Iac1c84748bc98a9c921fc8ae895a2dcd53d01270
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit b855223eda6c124a08eea50163cc475b552da7f1)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 1d147f41031d0fb68a4658f6a1a2be9b9c37d0c6)
</pre>
</div>
</content>
</entry>
<entry>
<title>QtQml: Unregister QML animation timer on deletion</title>
<updated>2025-09-17T17:03:29+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2025-09-08T11:37:06+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b044144aef6ec78eb22ff124aa10f548f932e50f'/>
<id>b044144aef6ec78eb22ff124aa10f548f932e50f</id>
<content type='text'>
The QUnifiedTimer generally outlives the QML animation timer and needs
to be notified about that latter's deletion. Otherwise it will hold a
dangling pointer.

Pick-to: 6.8
Fixes: QTBUG-136629
Change-Id: I52b7f2f3ae716128e4acac628ea29477fc17b677
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit f94a727bd677e1869842a7edd0841aba9836a3c7)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 06360d905119b0f9d3f2eb979f43300940b07e95)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The QUnifiedTimer generally outlives the QML animation timer and needs
to be notified about that latter's deletion. Otherwise it will hold a
dangling pointer.

Pick-to: 6.8
Fixes: QTBUG-136629
Change-Id: I52b7f2f3ae716128e4acac628ea29477fc17b677
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit f94a727bd677e1869842a7edd0841aba9836a3c7)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 06360d905119b0f9d3f2eb979f43300940b07e95)
</pre>
</div>
</content>
</entry>
<entry>
<title>Update dependencies on '6.9' in qt/qtdeclarative</title>
<updated>2025-09-17T17:00:38+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2025-09-17T17:00:33+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=2eac2abc7ace8f23aa3bcd9c4e22a9772276bab4'/>
<id>2eac2abc7ace8f23aa3bcd9c4e22a9772276bab4</id>
<content type='text'>
Change-Id: If5889e30760426306938abb3a20378d0d714ee5d
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: If5889e30760426306938abb3a20378d0d714ee5d
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.9' in qt/qtdeclarative</title>
<updated>2025-09-16T13:31:55+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2025-09-16T13:31:51+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=deb5a7260b357652459dea2b771b91776a00a4ea'/>
<id>deb5a7260b357652459dea2b771b91776a00a4ea</id>
<content type='text'>
Change-Id: Ife49dd0eb692e0b7fd38e2d17db83167a8066b5c
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: Ife49dd0eb692e0b7fd38e2d17db83167a8066b5c
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QmlCompiler: Guard against disappearing arrow functions</title>
<updated>2025-09-16T01:49:52+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2025-09-11T07:17:18+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=37b529d2de0c5fc7c6ae57b92b2039a8c8635af0'/>
<id>37b529d2de0c5fc7c6ae57b92b2039a8c8635af0</id>
<content type='text'>
You can override a QObject method with a JavaScript function and take
away the JavaScript function later by swapping out objects. This should
not crash.

Fixes: QTBUG-140074
Change-Id: I85b17f4f619235024d0f1a27b4ff4128c7a57083
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
(cherry picked from commit 7105eb6d0d46949e235d213cfe77dda95f16c6c5)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit d478f1112908e10780418ddefa81b5b80bfb53d7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
You can override a QObject method with a JavaScript function and take
away the JavaScript function later by swapping out objects. This should
not crash.

Fixes: QTBUG-140074
Change-Id: I85b17f4f619235024d0f1a27b4ff4128c7a57083
Reviewed-by: Sami Shalayel &lt;sami.shalayel@qt.io&gt;
(cherry picked from commit 7105eb6d0d46949e235d213cfe77dda95f16c6c5)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit d478f1112908e10780418ddefa81b5b80bfb53d7)
</pre>
</div>
</content>
</entry>
<entry>
<title>QQ4A: Reduce amount of spam calls in tst_signallistener</title>
<updated>2025-09-16T01:49:51+00:00</updated>
<author>
<name>Petri Virkkunen</name>
<email>petri.virkkunen@qt.io</email>
</author>
<published>2025-07-29T07:45:31+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=24335a40a75a17d44003791f7f914f1f5e849b32'/>
<id>24335a40a75a17d44003791f7f914f1f5e849b32</id>
<content type='text'>
To avoid filling the JNI global reference table limit on the CI,
reduce the amount of signals emitted during the tst_signallistener
spam call testcases.

Fixes: QTBUG-138104
Change-Id: Iaeefcbef6447586578f2cf2cc8dbfcb7f4536818
Reviewed-by: Assam Boudjelthia &lt;assam.boudjelthia@qt.io&gt;
(cherry picked from commit 21543ca52d4f542b82d62636812af2dae1497196)
(cherry picked from commit 52f05965412a7e847b32ac773a46f20ebf5d34a1)
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>
To avoid filling the JNI global reference table limit on the CI,
reduce the amount of signals emitted during the tst_signallistener
spam call testcases.

Fixes: QTBUG-138104
Change-Id: Iaeefcbef6447586578f2cf2cc8dbfcb7f4536818
Reviewed-by: Assam Boudjelthia &lt;assam.boudjelthia@qt.io&gt;
(cherry picked from commit 21543ca52d4f542b82d62636812af2dae1497196)
(cherry picked from commit 52f05965412a7e847b32ac773a46f20ebf5d34a1)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
