https://bugs.kde.org/show_bug.cgi?id=472171

Ismael Asensio <isma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.91.90
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kdeplasma-addons/-/commi
                   |                            |t/9f4525120cb6bf9b746915d6d
                   |                            |19192c580890aaa
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Ismael Asensio <isma...@gmail.com> ---
Git commit 9f4525120cb6bf9b746915d6d19192c580890aaa by Ismael Asensio.
Committed on 03/01/2024 at 21:02.
Pushed by iasensio into branch 'master'.

applets/weather: Fix SwitchPanel dynamics

The QtQuick Container API changed since QtQuick.Controls 2.3
(Qt 5.10) deprecating `removeItem(index)`.

This can cause some issues when the pages are added and then
removed, for instance when some warnings appear, or by changing
the station to a different provider.

To fix this we need to refactor SwitchPanel into a model-based
Repeater structure that dynamically adds/removes the items
depending on the conditions (making items non-`visible` do not
work because they still occupy the space)
FIXED-IN: 5.91.90

M  +55   -91   applets/weather/package/contents/ui/SwitchPanel.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/9f4525120cb6bf9b746915d6d19192c580890aaa

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to