Bug 431607

Summary: Clicking "Show Playlist" button causes "Now Playing" view's background to flash
Product: [Applications] Elisa Reporter: Kenneth Steimel <ksteimel>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED FIXED    
Severity: minor CC: nate, qydwhotmail
Priority: NOR    
Version: 20.12.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 12.12
Attachments: obs recording of flicker

Description Kenneth Steimel 2021-01-14 19:42:39 UTC
Created attachment 134862 [details]
obs recording of flicker

SUMMARY


STEPS TO REPRODUCE
1. Start playing music with album art available
2. Go to now playing playlist using left nav panel
3. Click "Show Playlist" button to either retract or expand the right playlist panel 

OBSERVED RESULT
The album artwork behind the main window flickers while the side panel is being resized. Looking at a capture in slow motion, it seems the album art disappears, reappears, disappears again, and then finally reappears when the right panel has finished moving. 

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20210113, kernel 5.10.5-1
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Running in X.org not Wayland at 4k.
Comment 1 Nate Graham 2021-01-16 16:55:13 UTC
Confirmed. Happens with the default placeholder image too.
Comment 2 Fushan Wen 2021-09-24 11:19:59 UTC
*** Bug 442890 has been marked as a duplicate of this bug. ***
Comment 3 Bug Janitor Service 2021-09-24 14:31:57 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/292
Comment 4 Fushan Wen 2021-09-24 20:32:53 UTC
Git commit 92b5ca8cda216c1109d4c57e6a2159262c235cb2 by Fushan Wen.
Committed on 24/09/2021 at 16:19.
Pushed by ngraham into branch 'master'.

Fix "Now Playing" view's background flickering

Prevent dynamic binding of sourceSize which causes the background image to be
reloaded frequently when the display size is changing.

To limit the memory usage of the background, set sourceSize to a fixed value
when the original size of the background is very large.

M  +3    -3    src/qml/ContextView.qml

https://invent.kde.org/multimedia/elisa/commit/92b5ca8cda216c1109d4c57e6a2159262c235cb2