<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git, branch 6.6</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>SelectionRectangle: ensure we remove or update selection handles if selection changes</title>
<updated>2024-04-05T06:56:56+00:00</updated>
<author>
<name>Richard Moe Gustavsen</name>
<email>richard.gustavsen@qt.io</email>
</author>
<published>2024-03-25T09:02:57+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b89757b34a854d2d679527add553c75d0a244cf8'/>
<id>b89757b34a854d2d679527add553c75d0a244cf8</id>
<content type='text'>
If you make a selection with SelectionRectangle and then resize a
row, the selection handles will not move to the resized position.
Likewise, if you do a selection, but then clear the selection
by interacting with the ItemSelectionModel directly, the
selection handles will not be updated to reflect the changes.

To fix this bug, this patch will add a callback from TableView to
SelectionRectangle that can be used to notify when changes are
done outside of SelectionRectangle. This especially allows us to:

- Remove the selection handles if the active selection is cleared
  or changed programatically (or anyway not by SelectionRectangle).
- Keep the selection handles, and update their position, when rows
  or columns are merely resized.

This change also allows us to clean up qquickselectionrectangle.cpp
a bit, and remove e.g a now superfluous tap handler listener.

Task-number: QTBUG-121143
Pick-to: 6.5
Change-Id: Id170520d49bc92c0bb9d16deaba741cab6f5c553
Reviewed-by: Santhosh Kumar &lt;santhosh.kumar.selvaraj@qt.io&gt;
(cherry picked from commit f0fbedbe69532d9f5d1bc622f0b5b1ed16f23f2b)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 7adfb01943b8681a51d6c01fed6d06b864f6d010)
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If you make a selection with SelectionRectangle and then resize a
row, the selection handles will not move to the resized position.
Likewise, if you do a selection, but then clear the selection
by interacting with the ItemSelectionModel directly, the
selection handles will not be updated to reflect the changes.

To fix this bug, this patch will add a callback from TableView to
SelectionRectangle that can be used to notify when changes are
done outside of SelectionRectangle. This especially allows us to:

- Remove the selection handles if the active selection is cleared
  or changed programatically (or anyway not by SelectionRectangle).
- Keep the selection handles, and update their position, when rows
  or columns are merely resized.

This change also allows us to clean up qquickselectionrectangle.cpp
a bit, and remove e.g a now superfluous tap handler listener.

Task-number: QTBUG-121143
Pick-to: 6.5
Change-Id: Id170520d49bc92c0bb9d16deaba741cab6f5c553
Reviewed-by: Santhosh Kumar &lt;santhosh.kumar.selvaraj@qt.io&gt;
(cherry picked from commit f0fbedbe69532d9f5d1bc622f0b5b1ed16f23f2b)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 7adfb01943b8681a51d6c01fed6d06b864f6d010)
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix heap-buffer-overflow in ESTable::remove</title>
<updated>2024-04-05T01:55:16+00:00</updated>
<author>
<name>Oliver Dawes</name>
<email>olliedawes@gmail.com</email>
</author>
<published>2024-04-03T18:42:42+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=809748284c406044e91c4fe6225516ae3203494e'/>
<id>809748284c406044e91c4fe6225516ae3203494e</id>
<content type='text'>
Fixes a heap-buffer-overflow issue in ESTable::remove due to an off by
one error in the count provided to memmove calls.

Task-number: QTBUG-123999
Pick-to: 6.5 6.2 5.15
Change-Id: I4ee0fbc16ba8936ea921e5f1d1bb267dae0b1d5f
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit d3e36454830012e4fd4c538ddeab7cddbfacdc24)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 3241bb2e5e9a4a8c35254fc279d216b6da81780e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes a heap-buffer-overflow issue in ESTable::remove due to an off by
one error in the count provided to memmove calls.

Task-number: QTBUG-123999
Pick-to: 6.5 6.2 5.15
Change-Id: I4ee0fbc16ba8936ea921e5f1d1bb267dae0b1d5f
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit d3e36454830012e4fd4c538ddeab7cddbfacdc24)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 3241bb2e5e9a4a8c35254fc279d216b6da81780e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Controls: Bypass bindings when setting x and y in resizeBackground</title>
<updated>2024-04-04T16:37:51+00:00</updated>
<author>
<name>Olivier De Cannière</name>
<email>olivier.decanniere@qt.io</email>
</author>
<published>2024-03-27T16:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=118f9999fe6438261faa697905aa89b1557c3774'/>
<id>118f9999fe6438261faa697905aa89b1557c3774</id>
<content type='text'>
Using setX() and setY() instead can remove the binding for them.

Fixes: QTBUG-120033
Pick-to: 6.5 6.2
Change-Id: I77fc5360b2d10436b5e258b5f0ceb96b949eccbe
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit bb7ba7667b4cf3565aa1849d08cc71b9ac011e77)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit ac17f948cdb46e0fe900c72af35fc3ac84e29000)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using setX() and setY() instead can remove the binding for them.

Fixes: QTBUG-120033
Pick-to: 6.5 6.2
Change-Id: I77fc5360b2d10436b5e258b5f0ceb96b949eccbe
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit bb7ba7667b4cf3565aa1849d08cc71b9ac011e77)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit ac17f948cdb46e0fe900c72af35fc3ac84e29000)
</pre>
</div>
</content>
</entry>
<entry>
<title>qmltest: add a 'modifiers' argument to mouseMove()</title>
<updated>2024-04-03T21:09:06+00:00</updated>
<author>
<name>Richard Moe Gustavsen</name>
<email>richard.gustavsen@qt.io</email>
</author>
<published>2024-03-26T13:08:42+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=b35ef967d55798fd391c52f422ef91340e57e7b8'/>
<id>b35ef967d55798fd391c52f422ef91340e57e7b8</id>
<content type='text'>
As it stood, TestCase::mouseMove() didn't take a 'modifier'
argument. All the other mouse functions do that, including
mouseDrag(). But even for mouseDrag, the modifier argument was
only applied to mousePress() and mouseRelease(), but not to
the in-between mouse moves.

This patch will implement support for providing a modifier
argument also to mouseMove(). This is needed in order to
test API that distinguishes a normal drag from a ctrl+drag, like
e.g SelectionRectangle.

Pick-to: 6.5
Change-Id: Idd800eda4b5b4fd4e9cda94155ca4ec36e935d13
Reviewed-by: Santhosh Kumar &lt;santhosh.kumar.selvaraj@qt.io&gt;
(cherry picked from commit 92f39a3919375af7e0eeaa31d010fc7fde7f6c4f)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 7a9478f69446b67550c41dd6340891b456074cb4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As it stood, TestCase::mouseMove() didn't take a 'modifier'
argument. All the other mouse functions do that, including
mouseDrag(). But even for mouseDrag, the modifier argument was
only applied to mousePress() and mouseRelease(), but not to
the in-between mouse moves.

This patch will implement support for providing a modifier
argument also to mouseMove(). This is needed in order to
test API that distinguishes a normal drag from a ctrl+drag, like
e.g SelectionRectangle.

Pick-to: 6.5
Change-Id: Idd800eda4b5b4fd4e9cda94155ca4ec36e935d13
Reviewed-by: Santhosh Kumar &lt;santhosh.kumar.selvaraj@qt.io&gt;
(cherry picked from commit 92f39a3919375af7e0eeaa31d010fc7fde7f6c4f)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 7a9478f69446b67550c41dd6340891b456074cb4)
</pre>
</div>
</content>
</entry>
<entry>
<title>QQmlEngine: Set translationsDirectory in loadFromModule</title>
<updated>2024-04-03T13:11:43+00:00</updated>
<author>
<name>Olivier De Cannière</name>
<email>olivier.decanniere@qt.io</email>
</author>
<published>2024-01-17T16:41:29+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=8e4a2a888b3bb9be65503646768cef5a0a32129e'/>
<id>8e4a2a888b3bb9be65503646768cef5a0a32129e</id>
<content type='text'>
In the process, loadFromModule had to be split in two parts. The type
resolution has to happen so that the translationDirectory can be set and
the translations have to be loaded before loading the actual module.

Pick-to: 6.5
Fixes: QTBUG-116589
Change-Id: Ife7999f418ba35bfb0eed9050198e5a886fa74ae
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit 986b4d155bd39836b1aa3c3da332ef07d2a949fd)
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit 8206c3d86c27327e31bcefaef6a6606e207c9b18)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the process, loadFromModule had to be split in two parts. The type
resolution has to happen so that the translationDirectory can be set and
the translations have to be loaded before loading the actual module.

Pick-to: 6.5
Fixes: QTBUG-116589
Change-Id: Ife7999f418ba35bfb0eed9050198e5a886fa74ae
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit 986b4d155bd39836b1aa3c3da332ef07d2a949fd)
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit 8206c3d86c27327e31bcefaef6a6606e207c9b18)
</pre>
</div>
</content>
</entry>
<entry>
<title>Small fixes in tst_spinbox.qml</title>
<updated>2024-04-02T16:50:48+00:00</updated>
<author>
<name>Matthias Rauter</name>
<email>matthias.rauter@qt.io</email>
</author>
<published>2024-03-21T13:19:37+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=681f8addc1ee984da69797c2ac18f39ab89470de'/>
<id>681f8addc1ee984da69797c2ac18f39ab89470de</id>
<content type='text'>
Ammends cf15ba9b085ac783fd3315f1b103c012947cb7db

This patch addresses the comments that were posted in codereview but not
included in the previous patch before staging.

Change-Id: I5ad25213824d39459110cee1368eef9cfc8650c5
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit 580c431fb07c18cbfb85a1a327cb6b27e5803440)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 34f7cc12b99ab858318bbf37a6c1acfd0b0247c1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ammends cf15ba9b085ac783fd3315f1b103c012947cb7db

This patch addresses the comments that were posted in codereview but not
included in the previous patch before staging.

Change-Id: I5ad25213824d39459110cee1368eef9cfc8650c5
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit 580c431fb07c18cbfb85a1a327cb6b27e5803440)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 34f7cc12b99ab858318bbf37a6c1acfd0b0247c1)
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark MultiEffect itemRect properly as readonly</title>
<updated>2024-04-02T16:50:48+00:00</updated>
<author>
<name>Kaj Grönholm</name>
<email>kaj.gronholm@qt.io</email>
</author>
<published>2024-03-25T07:32:26+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=c6e258c562631820e2d65d49c3f36d9f0c9dcfed'/>
<id>c6e258c562631820e2d65d49c3f36d9f0c9dcfed</id>
<content type='text'>
Change-Id: Id3a7031959f9b386b919d0a00c02e7bdcadf8a92
Reviewed-by: &lt;peter.schneider@qt.io&gt;
Reviewed-by: Tomi Korpipää &lt;tomi.korpipaa@qt.io&gt;
(cherry picked from commit e3b1d3532b1f33bb8e8e6435df8b159e04c34068)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit a2d96ea925a708cdaf49043ab94dbe508dcc70b1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id3a7031959f9b386b919d0a00c02e7bdcadf8a92
Reviewed-by: &lt;peter.schneider@qt.io&gt;
Reviewed-by: Tomi Korpipää &lt;tomi.korpipaa@qt.io&gt;
(cherry picked from commit e3b1d3532b1f33bb8e8e6435df8b159e04c34068)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit a2d96ea925a708cdaf49043ab94dbe508dcc70b1)
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickSelectionRectangle: Fix crash when target is null</title>
<updated>2024-04-02T14:33:33+00:00</updated>
<author>
<name>Nicolas Fella</name>
<email>nicolas.fella@kde.org</email>
</author>
<published>2024-03-01T21:44:05+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=c53c2181c901edaa3e238d5805674849b82d5264'/>
<id>c53c2181c901edaa3e238d5805674849b82d5264</id>
<content type='text'>
Change-Id: I9eb92583f2cfe1a0a6bee54e3e3f31528c3b6993
Reviewed-by: Richard Moe Gustavsen &lt;richard.gustavsen@qt.io&gt;
(cherry picked from commit ab88fcd990523070f2c018f4599b9bfa023d3b95)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 47cf611d54938d0b7916aa72167b52f50b846723)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I9eb92583f2cfe1a0a6bee54e3e3f31528c3b6993
Reviewed-by: Richard Moe Gustavsen &lt;richard.gustavsen@qt.io&gt;
(cherry picked from commit ab88fcd990523070f2c018f4599b9bfa023d3b95)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 47cf611d54938d0b7916aa72167b52f50b846723)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add unit test for QML_ELEMENT as Q_GADGET in a namespace</title>
<updated>2024-03-30T21:28:12+00:00</updated>
<author>
<name>Andre Klitzing</name>
<email>aklitzing@gmail.com</email>
</author>
<published>2024-03-29T18:57:55+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=11fecaea0398c5247158aebe2a07a50c72d9c046'/>
<id>11fecaea0398c5247158aebe2a07a50c72d9c046</id>
<content type='text'>
It was fixed by fa081b89f0bf8813e11d00436ab0dc9fb5efb378.

Task-number: QTBUG-123592
Pick-to: 6.5
Change-Id: I6eb60f65efe608f99b92ccd595b19eac5b78d710
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit a6e6cb7812b0a03cb0040093ea94c4d5f0f9200a)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 8b62cbc0fed70a340d607d549301f46745f9d728)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was fixed by fa081b89f0bf8813e11d00436ab0dc9fb5efb378.

Task-number: QTBUG-123592
Pick-to: 6.5
Change-Id: I6eb60f65efe608f99b92ccd595b19eac5b78d710
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit a6e6cb7812b0a03cb0040093ea94c4d5f0f9200a)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 8b62cbc0fed70a340d607d549301f46745f9d728)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix namespace in namespace detection of a foreign type</title>
<updated>2024-03-30T03:04:35+00:00</updated>
<author>
<name>Andre Klitzing</name>
<email>aklitzing@gmail.com</email>
</author>
<published>2024-03-26T10:31:37+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=4c2c0e4bcd019d8d4a2ae840663ec5d7a15a6492'/>
<id>4c2c0e4bcd019d8d4a2ae840663ec5d7a15a6492</id>
<content type='text'>
Add full qualified name to QML_FOREIGN, otherwise it
won't detect a namespace in a namespace.

Task-number: QTBUG-123535
Pick-to: 6.5
Change-Id: I679edc2566739ee52bf531ecec64789350fcdd11
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit fa081b89f0bf8813e11d00436ab0dc9fb5efb378)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 80fa9f25b3321ac2e8ae2c181505f4b1acee75d8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add full qualified name to QML_FOREIGN, otherwise it
won't detect a namespace in a namespace.

Task-number: QTBUG-123535
Pick-to: 6.5
Change-Id: I679edc2566739ee52bf531ecec64789350fcdd11
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
(cherry picked from commit fa081b89f0bf8813e11d00436ab0dc9fb5efb378)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
(cherry picked from commit 80fa9f25b3321ac2e8ae2c181505f4b1acee75d8)
</pre>
</div>
</content>
</entry>
</feed>
