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

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|5.26                        |5.25.1
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kdeplasma-addons/commit/ |ma/kdeplasma-addons/commit/
                   |86ef83c6b3f2e20e5c5ecbc0fa5 |9b27feea0474302be2b475a2ffe
                   |2584180c14546               |bf55df4c1533e

--- Comment #5 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 9b27feea0474302be2b475a2ffebf55df4c1533e by Fushan Wen.
Committed on 19/06/2022 at 09:34.
Pushed by fusionfuture into branch 'Plasma/5.25'.

wallpapers/potd: fix multimonitor support

After dataengine was ported away, it requires to use a self-maintained
engine to properly support multi-screen wallpapers.

3 new classes are added:

- PotdEngine: a class to manage clients, create and delete clients on
demand.
- Client: a class to process wallpaper data
- Backend: a class used in QML side, to relay information from the client

The major part of PotdProviderModel are moved to the 3 classes, so the
model class is now a pure model.
FIXED-IN: 5.25.1

(cherry picked from commit 86ef83c6b3f2e20e5c5ecbc0fa52584180c14546)

wallpapers/potd: increase m_updateCount before `updateSource`

When cache is available, `PotdClient::done` will be directly emitted.

(cherry picked from commit 9a1180f16122734d2917ddbf9d4397c269f2c5f3)

wallpapers/potd: remove redundant if statement

The while loop already checks the condition.

(cherry picked from commit 6633fa6070f99167d450559c2b78a79ae768e888)

wallpapers/potd: add some debug information

(cherry picked from commit 09c8337f7e3c55af6af55b9a172dacf6dd817cd4)

M  +10   -10   wallpapers/potd/package/contents/ui/WallpaperPreview.qml
M  +27   -11   wallpapers/potd/package/contents/ui/config.qml
M  +16   -19   wallpapers/potd/package/contents/ui/main.qml
M  +2    -0    wallpapers/potd/plugins/CMakeLists.txt
M  +18   -8    wallpapers/potd/plugins/cachedprovider.cpp
M  +8    -5    wallpapers/potd/plugins/cachedprovider.h
A  +267  -0    wallpapers/potd/plugins/potdbackend.cpp     [License:
GPL(v2.0+)]
C  +16   -57   wallpapers/potd/plugins/potdbackend.h [from:
wallpapers/potd/plugins/potdprovidermodel.h - 060% similarity]
A  +296  -0    wallpapers/potd/plugins/potdengine.cpp     [License: GPL(v2.0+)]
A  +106  -0    wallpapers/potd/plugins/potdengine.h     [License: GPL(v2.0+)]
M  +6    -14   wallpapers/potd/plugins/potdplugin.cpp
M  +13   -425  wallpapers/potd/plugins/potdprovidermodel.cpp
M  +3    -133  wallpapers/potd/plugins/potdprovidermodel.h

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

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

Reply via email to