<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/src/quickcontrolsimpl, branch wip/nativemenus</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>Introduce a flag to keep old image around while loading new one</title>
<updated>2024-05-16T08:59:34+00:00</updated>
<author>
<name>Eskil Abrahamsen Blomfeldt</name>
<email>eskil.abrahamsen-blomfeldt@qt.io</email>
</author>
<published>2024-05-07T06:43:04+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e0e0f722b86db7b99185ccd669dd5456623e7e69'/>
<id>e0e0f722b86db7b99185ccd669dd5456623e7e69</id>
<content type='text'>
With asynchronous image loading, you may see flickering when switching
between two images if they take longer than one frame to load. Working
around this involved creating a custom Qt Quick component containing two
Image components and then flipping between these.

This introduces a new property called "retainWhileLoading" which keeps
a copy of the old image around while the new one is being loaded and
only flips them when the new data is ready. The property is added to
Image and BorderImage.

Fixes: QTBUG-66713
Change-Id: Idf53bffdadbe60fd6f692b9e7ad1b841f2280156
Reviewed-by: Eirik Aavitsland &lt;eirik.aavitsland@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With asynchronous image loading, you may see flickering when switching
between two images if they take longer than one frame to load. Working
around this involved creating a custom Qt Quick component containing two
Image components and then flipping between these.

This introduces a new property called "retainWhileLoading" which keeps
a copy of the old image around while the new one is being loaded and
only flips them when the new data is ready. The property is added to
Image and BorderImage.

Fixes: QTBUG-66713
Change-Id: Idf53bffdadbe60fd6f692b9e7ad1b841f2280156
Reviewed-by: Eirik Aavitsland &lt;eirik.aavitsland@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use document imports of QtQuick.Controls.impl, not qmldir-imports</title>
<updated>2024-03-15T01:19:36+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2024-03-12T07:44:53+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e9f53d023d50a4367392db86c08843bbf10c947d'/>
<id>e9f53d023d50a4367392db86c08843bbf10c947d</id>
<content type='text'>
qmldir-imports are transitive, meaning that we were exposing all types
from QtQuick.Controls.impl each time QtQuick.Controls was imported.

This patch removes these transitive qmldir-imports by moving the
foreign type declarations for QQuickOverlay and
QQuickSplitHandleAttached into the Basic style (which is always
imported by every style as a final fallback).

Task-number: QTBUG-104768
Task-number: QTBUG-123103
Change-Id: Ia0ff778a88a38bb872730e055631dc924456d7be
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
qmldir-imports are transitive, meaning that we were exposing all types
from QtQuick.Controls.impl each time QtQuick.Controls was imported.

This patch removes these transitive qmldir-imports by moving the
foreign type declarations for QQuickOverlay and
QQuickSplitHandleAttached into the Basic style (which is always
imported by every style as a final fallback).

Task-number: QTBUG-104768
Task-number: QTBUG-123103
Change-Id: Ia0ff778a88a38bb872730e055631dc924456d7be
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the use of GENERATE_PRIVATE_CPP_EXPORTS</title>
<updated>2024-01-11T22:03:19+00:00</updated>
<author>
<name>Alexey Edelev</name>
<email>alexey.edelev@qt.io</email>
</author>
<published>2023-11-23T13:21:16+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=26096b2a323c6e561766e15b62b810dc654ad317'/>
<id>26096b2a323c6e561766e15b62b810dc654ad317</id>
<content type='text'>
Task-number: QTBUG-117983
Change-Id: I584116bfd4d47deca914910b712c2ea3295f3e7f
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Task-number: QTBUG-117983
Change-Id: I584116bfd4d47deca914910b712c2ea3295f3e7f
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the use of Q_QUICKCONTROLS2IMPL_PRIVATE_EXPORT</title>
<updated>2024-01-09T09:40:48+00:00</updated>
<author>
<name>Alexey Edelev</name>
<email>alexey.edelev@qt.io</email>
</author>
<published>2023-11-23T09:50:05+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=f8844a5ad707addcb50eadd7d6071b761300b9e8'/>
<id>f8844a5ad707addcb50eadd7d6071b761300b9e8</id>
<content type='text'>
Task-number: QTBUG-117983
Change-Id: Ia093cfc942015f54547224f0af566c34a7033fce
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Task-number: QTBUG-117983
Change-Id: Ia093cfc942015f54547224f0af566c34a7033fce
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>IconImage: make aware of platform icon engines</title>
<updated>2023-11-24T17:34:03+00:00</updated>
<author>
<name>Volker Hilsheimer</name>
<email>volker.hilsheimer@qt.io</email>
</author>
<published>2023-11-24T10:48:56+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=f18fcb6be58a5ffdbfc3b0ca8aa356153fa991bd'/>
<id>f18fcb6be58a5ffdbfc3b0ca8aa356153fa991bd</id>
<content type='text'>
QQuickIconImage circumvented the QIcon loading process by going straight
to QIconLoader. This ignored any implementation of a QPlatformIconEngine
in the QPA plugin.

Without starting a big rewrite of the internal data structures, fix this
by not forgetting the icon's name if there is no theme that provides it,
and if there is an QIconEngine for the requested name, get the pixmap
from it and set it directly.

As a side-effect, this fixes the semantics of IconImage::name property,
which didn't store the name set, but the name loaded (which is empty if
no theme supports the requested name), and incorrectly emitted the
nameChanged signal when setting two names that both were not supported
by any theme.

This is a bit of a quick fix. The underlying problem of the disconnect
between Qt Quick's notion of "icon" and QIcon (e.g. QQuickIconImage has
no concept of state and mode) is larger, but will require bigger changes
that might be difficult to make without changing behavior.

Task-number: QTBUG-102346
Change-Id: Ibbb1fe6dbdfafd89a23d1c02f4265370a9a28a56
Reviewed-by: Tor Arne Vestbø &lt;tor.arne.vestbo@qt.io&gt;
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
QQuickIconImage circumvented the QIcon loading process by going straight
to QIconLoader. This ignored any implementation of a QPlatformIconEngine
in the QPA plugin.

Without starting a big rewrite of the internal data structures, fix this
by not forgetting the icon's name if there is no theme that provides it,
and if there is an QIconEngine for the requested name, get the pixmap
from it and set it directly.

As a side-effect, this fixes the semantics of IconImage::name property,
which didn't store the name set, but the name loaded (which is empty if
no theme supports the requested name), and incorrectly emitted the
nameChanged signal when setting two names that both were not supported
by any theme.

This is a bit of a quick fix. The underlying problem of the disconnect
between Qt Quick's notion of "icon" and QIcon (e.g. QQuickIconImage has
no concept of state and mode) is larger, but will require bigger changes
that might be difficult to make without changing behavior.

Task-number: QTBUG-102346
Change-Id: Ibbb1fe6dbdfafd89a23d1c02f4265370a9a28a56
Reviewed-by: Tor Arne Vestbø &lt;tor.arne.vestbo@qt.io&gt;
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove all QML_DECLARE_TYPE from src and tools</title>
<updated>2023-11-18T07:37:33+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2023-11-16T13:00:22+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=03d58031c7233e0579f463b9484af8227b0938fd'/>
<id>03d58031c7233e0579f463b9484af8227b0938fd</id>
<content type='text'>
They are generally not useful for anything.

Change-Id: I12e959ce9338e6eb7465633496c7921fa09a3fe8
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They are generally not useful for anything.

Change-Id: I12e959ce9338e6eb7465633496c7921fa09a3fe8
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix build without features.qml-object-model</title>
<updated>2023-10-13T12:56:40+00:00</updated>
<author>
<name>Tasuku Suzuki</name>
<email>tasuku.suzuki@signal-slot.co.jp</email>
</author>
<published>2023-09-02T13:58:19+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=d13a566bb67d624ec1efc323ae477bea98a634e7'/>
<id>d13a566bb67d624ec1efc323ae477bea98a634e7</id>
<content type='text'>
Introduce a new feature quicktemplates2-container for Container type
quicktemplates2-container depends on qml-object-model

Change-Id: Ic26f4b8bf390a04644b22e8067669a79b9d85e17
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce a new feature quicktemplates2-container for Container type
quicktemplates2-container depends on qml-object-model

Change-Id: Ic26f4b8bf390a04644b22e8067669a79b9d85e17
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>qimage/qpixmap: use rvalue overloads more</title>
<updated>2023-09-15T10:04:18+00:00</updated>
<author>
<name>Anton Kudryavtsev</name>
<email>anton.kudryavtsev@vk.team</email>
</author>
<published>2023-09-13T12:52:04+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=ff0cbaeba3dfc11dde5445b9ea919f1ae137ea2f'/>
<id>ff0cbaeba3dfc11dde5445b9ea919f1ae137ea2f</id>
<content type='text'>
to reuse internal buffers

Change-Id: I77d2c33603098418349b1ce64c7d4a4cc06b9caf
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to reuse internal buffers

Change-Id: I77d2c33603098418349b1ce64c7d4a4cc06b9caf
Reviewed-by: Ulf Hermann &lt;ulf.hermann@qt.io&gt;
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>NinePatchImage: support the compressed texture image</title>
<updated>2023-05-15T11:41:05+00:00</updated>
<author>
<name>Jaehak Lee</name>
<email>jaehak.lee@mobis.co.kr</email>
</author>
<published>2023-04-25T09:17:58+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=ed69a9d4f3e889b05548e7cebe957afc3a3e577f'/>
<id>ed69a9d4f3e889b05548e7cebe957afc3a3e577f</id>
<content type='text'>
The compressed texture image is supported by qquickimage and
the qquickninepatchimage is inherited by qquickimage.
But the compressed texture is not shown when the source of
qquickninepatchimage is set as compressed texture because the
updatePaintNode of qquickninepatchimage only consider non-compressed
texture.

This patch is not intended to use the HW compressed image as an
actual 9-patch image, but to display them using the super class
qquickimage in the case of an HW compressed image other than a normal
pixmap image.

If the source is HW compressed textures such as ASTC, KTX, and PKM,
we have to call updatePaintNode of QQuickImage before checking the
validity of the pixmap image.
(because nullptr is returned if pixmap image is not valid)

The containers themselves (pkm, ktx) are universally supported but
the compressed texture formats is up to the underlying 3D API
implementation and may vary.
So, if the format is not supported by RHI, we skip the test.
Refer to QTBUG-113565 for a detailed discussion on texture formats.

And when using the software backend, we also skip test cases.

Fixes: QTBUG-113446
Pick-to: 6.2 6.4 6.5
Change-Id: I2704f86e94b50b3c187eca359fdc1a69eb217811
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The compressed texture image is supported by qquickimage and
the qquickninepatchimage is inherited by qquickimage.
But the compressed texture is not shown when the source of
qquickninepatchimage is set as compressed texture because the
updatePaintNode of qquickninepatchimage only consider non-compressed
texture.

This patch is not intended to use the HW compressed image as an
actual 9-patch image, but to display them using the super class
qquickimage in the case of an HW compressed image other than a normal
pixmap image.

If the source is HW compressed textures such as ASTC, KTX, and PKM,
we have to call updatePaintNode of QQuickImage before checking the
validity of the pixmap image.
(because nullptr is returned if pixmap image is not valid)

The containers themselves (pkm, ktx) are universally supported but
the compressed texture formats is up to the underlying 3D API
implementation and may vary.
So, if the format is not supported by RHI, we skip the test.
Refer to QTBUG-113565 for a detailed discussion on texture formats.

And when using the software backend, we also skip test cases.

Fixes: QTBUG-113446
Pick-to: 6.2 6.4 6.5
Change-Id: I2704f86e94b50b3c187eca359fdc1a69eb217811
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Material: fix TextArea decorations when in a Flickable</title>
<updated>2023-04-19T02:57:41+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2023-04-11T05:44:33+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=2d99c70f982da92c70c022551cf456877141a5c8'/>
<id>2d99c70f982da92c70c022551cf456877141a5c8</id>
<content type='text'>
This patch fixes the following issues when the Material TextArea is
attached to a Flickable:
- Floating placeholder text scrolls with the Flickable.
- When text is cleared without the control having focus:
  - Floating placeholder text is positioned incorrectly.
  - The floating text background outline gap is still open.
- The background outline color is incorrect when the control has focus
  (used primaryTextColor instead of accentColor).

Pick-to: 6.5
Task-number: QTBUG-112650
Change-Id: Icfa3517e4abcb1209ea2291dabdec225011f19ef
Reviewed-by: Richard Moe Gustavsen &lt;richard.gustavsen@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes the following issues when the Material TextArea is
attached to a Flickable:
- Floating placeholder text scrolls with the Flickable.
- When text is cleared without the control having focus:
  - Floating placeholder text is positioned incorrectly.
  - The floating text background outline gap is still open.
- The background outline color is incorrect when the control has focus
  (used primaryTextColor instead of accentColor).

Pick-to: 6.5
Task-number: QTBUG-112650
Change-Id: Icfa3517e4abcb1209ea2291dabdec225011f19ef
Reviewed-by: Richard Moe Gustavsen &lt;richard.gustavsen@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
