Bug 477866 - Media Player applet reloads the cover art on opening
Summary: Media Player applet reloads the cover art on opening
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player widget (show other bugs)
Version: 5.90.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-01 20:46 UTC by Patrick Silva
Modified: 2023-12-12 01:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0
Sentry Crash Report:


Attachments
screen recording (3.82 MB, video/webm)
2023-12-01 20:46 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-12-01 20:46:43 UTC
Created attachment 163726 [details]
screen recording

STEPS TO REPRODUCE
1. play a video in youtube with an internet browser controllable by Media Player applet
2. click on the Media Player applet repeatedly
3. 

OBSERVED RESULT
at some point the cover art reloads unnecessarily when the Media Player applet opens. In the attached screen recording the bug occurs at 25 seconds.

EXPECTED RESULT
Media Player never reloads the cover art on opening

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-12-05 21:40:28 UTC
Can reproduce.
Comment 2 Bug Janitor Service 2023-12-06 15:37:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3662
Comment 3 Fushan Wen 2023-12-12 01:14:35 UTC
Git commit 19c21597a16205e6a29f3f7a428818078cd742b5 by Fushan Wen.
Committed on 12/12/2023 at 01:48.
Pushed by fusionfuture into branch 'master'.

applets/mediacontroller: disable geometry timer when widget is not expanded

The geometry of the stack view will change during expansion, which
causes unnecessary reloading of the same image.
FIXED-IN: 6.0

M  +12   -4    applets/mediacontroller/package/contents/ui/AlbumArtStackView.qml
M  +6    -5    applets/mediacontroller/package/contents/ui/ExpandedRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/19c21597a16205e6a29f3f7a428818078cd742b5