Created attachment 120393 [details]
Out of bounds
When using the media player plasmoid on the desktop, some thumbnails aren't scaled and overflows its boundaries.
I see this frequently with the plasma browser integration and youtube videos.
This doesn't happen when the plasmoid is opened from the systray. (See screenshots)
STEPS TO REPRODUCE
1. Place a Media player plasmoid on the desktop, big enough to show the cover image/thumbnail
2. With Firefox and plasma browser integration installed and working, open a youtube video
3. The video thumbnail should go out of bounds
The video thumbnail goes out of the plasmoid bounds.
The thumbnail should be scaled to fit the plasmoid.
Operating System: Arch Linux
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.3
Kernel Version: 5.1.5-arch1-2-ARCH
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-4790 CPU @ 3.60GHz
Memory: 15,6 GiB
Git commit 0cd335211ad4989d2cc9afbe87fcc5790669b668 by Kai Uwe Broulik.
Committed on 03/06/2019 at 08:43.
Pushed by broulik into branch 'Plasma/5.16'.
[Media Controller] Anchor album art left and right as well
Ensures it doesn't overflow its bounding box. Shouldn't make a visual differences (save for the margin) as it is PreserveAspectFit
Differential Revision: https://phabricator.kde.org/D21557
M +2 -1 applets/mediacontroller/contents/ui/ExpandedRepresentation.qml
*** Bug 406511 has been marked as a duplicate of this bug. ***