<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git, branch v6.5.3</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Update dependencies on '6.5.3' in qt/qtdeclarative</title>
<updated>2023-09-24T07:37:54+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2023-09-24T07:37:49+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e00c258fa5a4e122636d441967dea035865fac5d'/>
<id>e00c258fa5a4e122636d441967dea035865fac5d</id>
<content type='text'>
Change-Id: I43c0ae3997cf3f7ac7c9d49161122c3c509d8673
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: I43c0ae3997cf3f7ac7c9d49161122c3c509d8673
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.5.3' in qt/qtdeclarative</title>
<updated>2023-09-21T16:04:15+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2023-09-21T14:08:08+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=d8c11dd80a6f090727069d1c3a5786319183f0b7'/>
<id>d8c11dd80a6f090727069d1c3a5786319183f0b7</id>
<content type='text'>
Change-Id: I82086e812c283253fc3a7b77d719c24fb4db9b80
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: I82086e812c283253fc3a7b77d719c24fb4db9b80
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.5.3' in qt/qtdeclarative</title>
<updated>2023-09-21T04:18:30+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2023-09-21T04:18:25+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e43e3d592673646de26cbe0b80c4706f7845fb41'/>
<id>e43e3d592673646de26cbe0b80c4706f7845fb41</id>
<content type='text'>
Change-Id: I9f3d0f0af0087f8ff7fb69b510a4a42d4e6e6a14
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: I9f3d0f0af0087f8ff7fb69b510a4a42d4e6e6a14
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.5.3' in qt/qtdeclarative</title>
<updated>2023-09-18T08:12:24+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2023-09-18T08:12:18+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=13f081a12985f30702c13b75df10d0596eb3dc8a'/>
<id>13f081a12985f30702c13b75df10d0596eb3dc8a</id>
<content type='text'>
Change-Id: I09d89e0898c8033c72172f020a6eda9709823642
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: I09d89e0898c8033c72172f020a6eda9709823642
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix binding loop issue during implicit size change in pane</title>
<updated>2023-09-14T19:56:30+00:00</updated>
<author>
<name>Santhosh Kumar</name>
<email>santhosh.kumar.selvaraj@qt.io</email>
</author>
<published>2023-09-05T11:48:53+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=86e6addc4b49e9f2696cd504fb1ce786a44dd3ad'/>
<id>86e6addc4b49e9f2696cd504fb1ce786a44dd3ad</id>
<content type='text'>
The pane progagates implicit size change to its children for adjusting
size. There are cases where Pane refers to incorrect child item
(QQuickPanePrivate::firstChild) to notify implicit size change and this
could trigger binding loop issue.

Pane determines its first child from the content item and this varies
depending on how the content item is configured.

The following are typical configuration within pane

1:   Pane {
         contentItem: Layout { ... }
     }
     In this case, Pane uses content item as provided QQuickControl.

2:   Pane {
         Layout { ... }
     }
     In this case, Pane create QQuickContentItem and adds item
     configured within it as children to QQuickContentItem.

This patch fixes the issue by notifying implicit size changes to correct
child item.

Fixes: QTBUG-116164
Change-Id: I54ef27fae531518b98200ea829f1b4138273aa26
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit 5eaf5afa981a2eb3ce2059c3e2b21382c9829728)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 181e1080c5fa33f0260c64861551ec9e288e92f4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pane progagates implicit size change to its children for adjusting
size. There are cases where Pane refers to incorrect child item
(QQuickPanePrivate::firstChild) to notify implicit size change and this
could trigger binding loop issue.

Pane determines its first child from the content item and this varies
depending on how the content item is configured.

The following are typical configuration within pane

1:   Pane {
         contentItem: Layout { ... }
     }
     In this case, Pane uses content item as provided QQuickControl.

2:   Pane {
         Layout { ... }
     }
     In this case, Pane create QQuickContentItem and adds item
     configured within it as children to QQuickContentItem.

This patch fixes the issue by notifying implicit size changes to correct
child item.

Fixes: QTBUG-116164
Change-Id: I54ef27fae531518b98200ea829f1b4138273aa26
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit 5eaf5afa981a2eb3ce2059c3e2b21382c9829728)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 181e1080c5fa33f0260c64861551ec9e288e92f4)
</pre>
</div>
</content>
</entry>
<entry>
<title>Loader: re-set ItemObservesViewport flag on child if already set</title>
<updated>2023-09-14T16:14:31+00:00</updated>
<author>
<name>Shawn Rutledge</name>
<email>shawn.rutledge@qt.io</email>
</author>
<published>2023-09-06T15:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b0d1bafc94ea9ae053470c93fae51cfb38d1f88e'/>
<id>b0d1bafc94ea9ae053470c93fae51cfb38d1f88e</id>
<content type='text'>
When QQuickLoaderPrivate::load() loads a Text item, its ctor calls
QQuickTextPrivate::init(), which calls setFlag(ItemObservesViewport).
QQuickItem::setFlag() tries to go up the parent hierarchy to get
subtreeTransformChangedEnabled turned on; but at that time, the Text
does not yet have a parent.

If a Flickable contains a Loader that loads a Text with large content,
QQuickTextPrivate::transformChanged() needs to get called during
scrolling. Loader is not interested in these notifications for itself;
so its parent's QQuickItemPrivate::transformChanged() detects that and
turns off subtreeTransformChangedEnabled. After the child is loaded,
QQuickLoader::itemChange() detects that the child's ItemObservesViewport
is already set, and sets the same flag again. setFlag() doesn't have a
guard, so the parent traversal happens again, and
subtreeTransformChangedEnabled gets turned back on.

If a different child were loaded, and that child did not want the
notifications, the next QQuickItemPrivate::transformChanged()
would detect it. If the child changed its own flag later on (e.g.
because a small amount of text was replaced with a larger document,
exceeding QQUICKTEXT_LARGETEXT_THRESHOLD), QQuickItem::setFlag() would
be able to go up the parent chain at that time.

For the autotest, long.qml has about 15KB of text. Maybe it will
be reusable. At least it should compress well in git packfiles,
since we have this license text elsewhere.

Fixes: QTBUG-115687
Change-Id: I87b6a42f5735b8f9c2267f91a4112681da05de5d
Reviewed-by: Santhosh Kumar &lt;santhosh.kumar.selvaraj@qt.io&gt;
(cherry picked from commit 8c7c60fff37ea7bb7420d925e2f88e62764bf86b)
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When QQuickLoaderPrivate::load() loads a Text item, its ctor calls
QQuickTextPrivate::init(), which calls setFlag(ItemObservesViewport).
QQuickItem::setFlag() tries to go up the parent hierarchy to get
subtreeTransformChangedEnabled turned on; but at that time, the Text
does not yet have a parent.

If a Flickable contains a Loader that loads a Text with large content,
QQuickTextPrivate::transformChanged() needs to get called during
scrolling. Loader is not interested in these notifications for itself;
so its parent's QQuickItemPrivate::transformChanged() detects that and
turns off subtreeTransformChangedEnabled. After the child is loaded,
QQuickLoader::itemChange() detects that the child's ItemObservesViewport
is already set, and sets the same flag again. setFlag() doesn't have a
guard, so the parent traversal happens again, and
subtreeTransformChangedEnabled gets turned back on.

If a different child were loaded, and that child did not want the
notifications, the next QQuickItemPrivate::transformChanged()
would detect it. If the child changed its own flag later on (e.g.
because a small amount of text was replaced with a larger document,
exceeding QQUICKTEXT_LARGETEXT_THRESHOLD), QQuickItem::setFlag() would
be able to go up the parent chain at that time.

For the autotest, long.qml has about 15KB of text. Maybe it will
be reusable. At least it should compress well in git packfiles,
since we have this license text elsewhere.

Fixes: QTBUG-115687
Change-Id: I87b6a42f5735b8f9c2267f91a4112681da05de5d
Reviewed-by: Santhosh Kumar &lt;santhosh.kumar.selvaraj@qt.io&gt;
(cherry picked from commit 8c7c60fff37ea7bb7420d925e2f88e62764bf86b)
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickAbstractButton: accept only left mouse button</title>
<updated>2023-09-14T16:14:31+00:00</updated>
<author>
<name>Vladimir Belyavsky</name>
<email>belyavskyv@gmail.com</email>
</author>
<published>2023-08-21T16:27:48+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=bbc72ca2b9b1f8667afcd7a94f59d4b18c555609'/>
<id>bbc72ca2b9b1f8667afcd7a94f59d4b18c555609</id>
<content type='text'>
Normally, Button should only handle the left mouse button.
To do this, we even call setAcceptedMouseButtons(Qt::LeftButton) in
the QQuickAbstractButton's constructor.

But since 70113ef66b245e58ce12e2a9d26268e2eaeb3a42
QQuickItem's acceptedMouseButtons is overridden with Qt::AllButton
every time when any handler is set on the Item.
This caused a bug where the Button responds to the right mouse button
when, for instance, a HoverHandler is set on it.

As a solution, we ignore a mouse press event explicitly in
QQuickAbstractButton::mousePressEvent() if the left button is not pressed.

Fixes: QTBUG-116289
Change-Id: I6f30da38fd7be274eb70f2e761789a9f49fefbff
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit 7211543ecffb8ebe12c943135d8fcd8761f7c4a9)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit b0aad6fa482adfd79662460667ed54e65708f426)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Normally, Button should only handle the left mouse button.
To do this, we even call setAcceptedMouseButtons(Qt::LeftButton) in
the QQuickAbstractButton's constructor.

But since 70113ef66b245e58ce12e2a9d26268e2eaeb3a42
QQuickItem's acceptedMouseButtons is overridden with Qt::AllButton
every time when any handler is set on the Item.
This caused a bug where the Button responds to the right mouse button
when, for instance, a HoverHandler is set on it.

As a solution, we ignore a mouse press event explicitly in
QQuickAbstractButton::mousePressEvent() if the left button is not pressed.

Fixes: QTBUG-116289
Change-Id: I6f30da38fd7be274eb70f2e761789a9f49fefbff
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit 7211543ecffb8ebe12c943135d8fcd8761f7c4a9)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit b0aad6fa482adfd79662460667ed54e65708f426)
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: All overviews list categorization</title>
<updated>2023-09-14T12:54:23+00:00</updated>
<author>
<name>Jaishree Vyas</name>
<email>Jaishree.Vyas@qt.io</email>
</author>
<published>2023-08-16T07:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=146232bceb96acec79d2ff3541c082787d898693'/>
<id>146232bceb96acec79d2ff3541c082787d898693</id>
<content type='text'>
The \generate list names are added for each categorized section with
some explanation. Here, calling the overviews as
explanations-(name of the section). The idea is to give general terms
instead of specific phrases like 'core' etc, for better understanding.

Task-number: QTBUG-115347
Change-Id: Ib33b450aa0919b0fd3e7a265cd2843af6c7d019c
Reviewed-by: Topi Reiniö &lt;topi.reinio@qt.io&gt;
(cherry picked from commit e33a63d0dec5dd7ebd8d3fc172de9d6e24ddf00f)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 9c1696bf514a1d31568aabbabf40db5434f8cf97)
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The \generate list names are added for each categorized section with
some explanation. Here, calling the overviews as
explanations-(name of the section). The idea is to give general terms
instead of specific phrases like 'core' etc, for better understanding.

Task-number: QTBUG-115347
Change-Id: Ib33b450aa0919b0fd3e7a265cd2843af6c7d019c
Reviewed-by: Topi Reiniö &lt;topi.reinio@qt.io&gt;
(cherry picked from commit e33a63d0dec5dd7ebd8d3fc172de9d6e24ddf00f)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 9c1696bf514a1d31568aabbabf40db5434f8cf97)
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update dependencies on '6.5' in qt/qtdeclarative</title>
<updated>2023-09-14T04:27:15+00:00</updated>
<author>
<name>Qt Submodule Update Bot</name>
<email>qt_submodule_update_bot@qt-project.org</email>
</author>
<published>2023-09-14T04:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5b6a26a3a2fd02dce710d468165ff86fbc766d79'/>
<id>5b6a26a3a2fd02dce710d468165ff86fbc766d79</id>
<content type='text'>
Change-Id: Iedb88cd08dc5097f244f7a34a4c841e625bf7f5b
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: Iedb88cd08dc5097f244f7a34a4c841e625bf7f5b
Reviewed-by: Qt Submodule Update Bot &lt;qt_submodule_update_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos in FunctionSignatureBehavior documentation</title>
<updated>2023-09-14T04:25:32+00:00</updated>
<author>
<name>Giuseppe D'Angelo</name>
<email>giuseppe.dangelo@kdab.com</email>
</author>
<published>2023-09-13T13:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=c944d6ef59ae5d72625fa51a1b95af1000cbb10a'/>
<id>c944d6ef59ae5d72625fa51a1b95af1000cbb10a</id>
<content type='text'>
The parameters of the pragma have a trailing `d` that was missing
from their names.

Change-Id: I9810e1a7141ac7edd20d233d2049f84d6749be79
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit ed1e27316c00034d00a88acad01b32ade9988f13)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 9280be3c85ad9a9d523cb558f5743df1a6a96167)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The parameters of the pragma have a trailing `d` that was missing
from their names.

Change-Id: I9810e1a7141ac7edd20d233d2049f84d6749be79
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit ed1e27316c00034d00a88acad01b32ade9988f13)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 9280be3c85ad9a9d523cb558f5743df1a6a96167)
</pre>
</div>
</content>
</entry>
</feed>
