Vastly simplify image wallpaper code

Authored by davidedmundson on Mar 29 2018, 12:41 PM.

Description

Vastly simplify image wallpaper code

Summary:
The image wallpaper is a mess of 4 different fade functions, some not in
sync, and very complicated swapping images about.

This simplifies the whole thing by using a StackView, we just pop our
setup with a new configuration on and it handles deleting old objects
when the transition ends.

Code is 1/3 the size, whilst doing the same thing and should result in
having fewer items about.

In addition with this patch changing the transition effect in future
would be super trivial.

Test Plan:
Set as both image and wallpaper
Renders stuff as before

Reviewers: Plasma, broulik

Reviewed By: Plasma, broulik

Subscribers: broulik, mart, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D11726

Details

Committed
davidedmundsonMar 29 2018, 12:41 PM
Reviewer
Plasma
Differential Revision
D11726: Vastly simplify image wallpaper code
Parents
R120:fdeb02ce37a1: Notification dataengine debug category
Branches
Unknown
Tags
Unknown