<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git, branch 5.14</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Generate the docs for qmlRegisterSingletonInstance</title>
<updated>2020-04-24T10:12:55+00:00</updated>
<author>
<name>Giuseppe D'Angelo</name>
<email>giuseppe.dangelo@kdab.com</email>
</author>
<published>2020-04-17T15:41:15+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=a0ab037c69821dc2aa8f8bed70dfc6b75bc5b35b'/>
<id>a0ab037c69821dc2aa8f8bed70dfc6b75bc5b35b</id>
<content type='text'>
I think qdoc is once more confused by the mismatch between
the actual declaration and the signature in the \fn macro.

Change-Id: I25d1be71ffdfc20961e23e06e9132ed09d1e29d0
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I think qdoc is once more confused by the mismatch between
the actual declaration and the signature in the \fn macro.

Change-Id: I25d1be71ffdfc20961e23e06e9132ed09d1e29d0
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/5.14.2' into 5.14</title>
<updated>2020-04-21T07:31:42+00:00</updated>
<author>
<name>Qt Forward Merge Bot</name>
<email>qt_forward_merge_bot@qt-project.org</email>
</author>
<published>2020-04-21T07:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=560bc348d86aba6cef5fdf88bc9d7304dd914bc8'/>
<id>560bc348d86aba6cef5fdf88bc9d7304dd914bc8</id>
<content type='text'>
Change-Id: Icc410df82e57ed370ab0b80253074d495fc8c135
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Icc410df82e57ed370ab0b80253074d495fc8c135
</pre>
</div>
</content>
</entry>
<entry>
<title>Make qdoc generate the documentation for qmlRegisterSingletonType</title>
<updated>2020-04-16T13:08:18+00:00</updated>
<author>
<name>Giuseppe D'Angelo</name>
<email>giuseppe.dangelo@kdab.com</email>
</author>
<published>2020-04-16T12:40:02+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=7dc0de374300d66ed72f15820a4ebb78849ae0e7'/>
<id>7dc0de374300d66ed72f15820a4ebb78849ae0e7</id>
<content type='text'>
I *guess* it wasn't find the "dummy" signature spelled in the docs,
but only the actual one (with SFINAE), so the overload ended up
being undocumented.

Change-Id: I3c48057860c83dc78107e87b93616415976e802f
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I *guess* it wasn't find the "dummy" signature spelled in the docs,
but only the actual one (with SFINAE), so the overload ended up
being undocumented.

Change-Id: I3c48057860c83dc78107e87b93616415976e802f
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OpacityAnimator: apply opacity animation to the first frame in SG</title>
<updated>2020-04-07T13:53:12+00:00</updated>
<author>
<name>Wang Chuan</name>
<email>ouchuanm@outlook.com</email>
</author>
<published>2020-04-02T14:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=2cefb096768b1d8d30b4d0705a622f1c7d041344'/>
<id>2cefb096768b1d8d30b4d0705a622f1c7d041344</id>
<content type='text'>
When using OpacityAnimator, an opacity node will be created and inserted into
nodes tree to perform opacity animation. However, since the default value of
opacity node is 1, the opacity animation will start from 1 even if we set
it from 0 to 1.

Fixes this issue by updating the value of opacity just after creating a new
opacity node.

Fixes: QTBUG-79199
Change-Id: I2e462f0c56892fda040836ffde6685145769e60c
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using OpacityAnimator, an opacity node will be created and inserted into
nodes tree to perform opacity animation. However, since the default value of
opacity node is 1, the opacity animation will start from 1 even if we set
it from 0 to 1.

Fixes this issue by updating the value of opacity just after creating a new
opacity node.

Fixes: QTBUG-79199
Change-Id: I2e462f0c56892fda040836ffde6685145769e60c
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix enum setup optimization</title>
<updated>2020-04-02T16:21:07+00:00</updated>
<author>
<name>Michael Brasser</name>
<email>mbrasser@ford.com</email>
</author>
<published>2020-04-01T19:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=5050ebd7a5c9d181af8bc037aaed05ff3f9b0ca6'/>
<id>5050ebd7a5c9d181af8bc037aaed05ff3f9b0ca6</id>
<content type='text'>
Change-Id: Ibba11705ff26176fe72b14f3bf462b7a12207295
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ibba11705ff26176fe72b14f3bf462b7a12207295
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix QQuickMouseArea getting stuck in pressed state when hiding in press</title>
<updated>2020-03-31T13:25:07+00:00</updated>
<author>
<name>Frederik Gladhorn</name>
<email>frederik.gladhorn@remarkable.com</email>
</author>
<published>2020-03-28T14:14:41+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=8ace780b5aa298e3c01903bfd57f766a42209191'/>
<id>8ace780b5aa298e3c01903bfd57f766a42209191</id>
<content type='text'>
In 78c1fcbc49f56463064eef738a475d9018357b24 we stopped giving the
exclusive grab to hidden or disabled items with is good. But the change
did not take into consideration how mouse area handles its internal
state.

As a simple example: A mouse area that would set itself hiddin in the
press handler, would continue to have d-&gt;pressed == true, which means it
would not react to any future press events.

The fix is to let mouse area check in its change handler whether it has
become invisible.
The test also checks that enabled behaves the same way. There is no
action needed, since mouse area does completely custom handling of
enabled (maybe something to fix in Qt 6), disabling a mouse area doesn't
disable its children for example, it doesn't invoke
QQuickItem::setEnabled at all. Due to this circumventing the common
behavior, by chance disabling a mouse area in the on pressed handler
works.

Fixes: QTBUG-74987
Change-Id: Idb8499b3e5bcb744fbba203fdea5c46695bd5077
Reviewed-by: Jan Arve Sæther &lt;jan-arve.saether@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In 78c1fcbc49f56463064eef738a475d9018357b24 we stopped giving the
exclusive grab to hidden or disabled items with is good. But the change
did not take into consideration how mouse area handles its internal
state.

As a simple example: A mouse area that would set itself hiddin in the
press handler, would continue to have d-&gt;pressed == true, which means it
would not react to any future press events.

The fix is to let mouse area check in its change handler whether it has
become invisible.
The test also checks that enabled behaves the same way. There is no
action needed, since mouse area does completely custom handling of
enabled (maybe something to fix in Qt 6), disabling a mouse area doesn't
disable its children for example, it doesn't invoke
QQuickItem::setEnabled at all. Due to this circumventing the common
behavior, by chance disabling a mouse area in the on pressed handler
works.

Fixes: QTBUG-74987
Change-Id: Idb8499b3e5bcb744fbba203fdea5c46695bd5077
Reviewed-by: Jan Arve Sæther &lt;jan-arve.saether@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Flickable: add nullptr check (crash seen only in release mode on windows)</title>
<updated>2020-03-26T20:49:18+00:00</updated>
<author>
<name>Nick Shaforostov</name>
<email>mshaforostov@airmusictech.com</email>
</author>
<published>2019-05-08T09:54:00+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=d94bb1f6795302ef6eec795dd3ad92d60bd2aa4d'/>
<id>d94bb1f6795302ef6eec795dd3ad92d60bd2aa4d</id>
<content type='text'>
Change-Id: I2ac42ded0c2ed4dc3937a57f69109f10b19f9cc7
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I2ac42ded0c2ed4dc3937a57f69109f10b19f9cc7
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PinchArea: document the pinch parameter for its signals</title>
<updated>2020-03-20T23:36:23+00:00</updated>
<author>
<name>Giuseppe D'Angelo</name>
<email>giuseppe.dangelo@kdab.com</email>
</author>
<published>2020-02-12T14:48:02+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=92fc8e4cb82aaa0e2996e38d8e16317e5cb8f972'/>
<id>92fc8e4cb82aaa0e2996e38d8e16317e5cb8f972</id>
<content type='text'>
The parameter was described in the documentation but missing
from the signatures.

Change-Id: Ie2718c9f2ac945ac7c8ea1555d097b426d9fba2a
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The parameter was described in the documentation but missing
from the signatures.

Change-Id: Ie2718c9f2ac945ac7c8ea1555d097b426d9fba2a
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add changes file for Qt 5.14.2</title>
<updated>2020-03-17T09:40:17+00:00</updated>
<author>
<name>Antti Kokko</name>
<email>antti.kokko@qt.io</email>
</author>
<published>2020-03-03T13:10:32+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=23a000f9a14889753a63cd73de2c61e49bb7e0d8'/>
<id>23a000f9a14889753a63cd73de2c61e49bb7e0d8</id>
<content type='text'>
Change-Id: I54aae60a5ad987b7a9fd74c012f337952b855ec5
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I54aae60a5ad987b7a9fd74c012f337952b855ec5
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge 5.14 into 5.14.2</title>
<updated>2020-03-10T07:43:44+00:00</updated>
<author>
<name>Kari Oikarinen</name>
<email>kari.oikarinen@qt.io</email>
</author>
<published>2020-03-10T07:43:44+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b67264a2644b22dc23f6a06ff48974c77cb45d84'/>
<id>b67264a2644b22dc23f6a06ff48974c77cb45d84</id>
<content type='text'>
Change-Id: I294cb27a59754f7090f9bc1a500faf0423571549
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I294cb27a59754f7090f9bc1a500faf0423571549
</pre>
</div>
</content>
</entry>
</feed>
