SUMMARY When the album cover changes, the background in the media controller often flickers. STEPS TO REPRODUCE 1. Open Audacious and play some songs with album cover available 2. Switch to the next track in the media controller 3. Observe the background OBSERVED RESULT Background flickers EXPECTED RESULT Change background without flickering SOFTWARE/OS VERSIONS Information for package plasma5-workspace: ------------------------------------------ Repository : @System Name : plasma5-workspace Version : 5.23.80git.20211211T074842~e1856783c-ku.81.1 Arch : x86_64 Vendor : obs://build.opensuse.org/KDE:Unstable Installed Size : 27.2 MiB Installed : Yes Status : up-to-date Source package : plasma5-workspace-5.23.80git.20211211T074842~e1856783c-ku.81.1.src Summary : The KDE Plasma Workspace Components
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1277
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1584
Git commit da8a82faf17b4bd9b71ab04f2b1027e849f26eb3 by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 21:42. Pushed by ngraham into branch 'master'. applets/mediacontroller: Fix album cover flickering The code is borrowed from the wallpaper: use a StackView to handle multiple Image instances, and cross-fade between them when the artwork changes. FIXED-IN: 5.25 M +127 -18 applets/mediacontroller/contents/ui/ExpandedRepresentation.qml https://invent.kde.org/plasma/plasma-workspace/commit/da8a82faf17b4bd9b71ab04f2b1027e849f26eb3
Git commit 401bf2928637768a46b22acff5ee2d3e4f7e210b by Nate Graham, on behalf of Fushan Wen. Committed on 25/04/2022 at 20:07. Pushed by ngraham into branch 'master'. applets/mediacontroller: Use PopTransition for old image when albumArt is unavailable M +16 -2 applets/mediacontroller/contents/ui/ExpandedRepresentation.qml https://invent.kde.org/plasma/plasma-workspace/commit/401bf2928637768a46b22acff5ee2d3e4f7e210b
Git commit da9bc47573d47a71bd1243ade04b21c9dcbad061 by Nate Graham, on behalf of Fushan Wen. Committed on 25/04/2022 at 20:07. Pushed by ngraham into branch 'master'. applets/mediacontroller: Use PauseAnimation in replaceExit Keep the old image around till the new one is fully faded in, or the background is too obvious when using a light theme. M +1 -3 applets/mediacontroller/contents/ui/ExpandedRepresentation.qml https://invent.kde.org/plasma/plasma-workspace/commit/da9bc47573d47a71bd1243ade04b21c9dcbad061
Git commit b0df2e276c93007bea82812b3e37d1f86d5339e0 by Nate Graham, on behalf of Fushan Wen. Committed on 25/04/2022 at 20:07. Pushed by ngraham into branch 'master'. applets/mediacontroller: Perform fade-out when image ratio changes If the new ratio and the old ratio are different, perform a fade-out animation for the old image to prevent it from suddenly disappearing. M +21 -2 applets/mediacontroller/contents/ui/ExpandedRepresentation.qml https://invent.kde.org/plasma/plasma-workspace/commit/b0df2e276c93007bea82812b3e37d1f86d5339e0