Bug 408101 - Thumbnail preview out of bounds when the media plasmoid is on desktop
Summary: Thumbnail preview out of bounds when the media plasmoid is on desktop
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player (show other bugs)
Version: 5.15.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
: 406511 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-05-30 09:29 UTC by Stefano
Modified: 2019-07-04 15:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.16.0


Attachments
Out of bounds (708.50 KB, image/png)
2019-05-30 09:29 UTC, Stefano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano 2019-05-30 09:29:29 UTC
Created attachment 120393 [details]
Out of bounds

SUMMARY
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

OBSERVED RESULT
The video thumbnail goes out of the plasmoid bounds.

EXPECTED RESULT
The thumbnail should be scaled to fit the plasmoid.

SOFTWARE/OS VERSIONS
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
Comment 1 Kai Uwe Broulik 2019-06-03 08:43:56 UTC
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
FIXED-IN: 5.16.0

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

M  +2    -1    applets/mediacontroller/contents/ui/ExpandedRepresentation.qml

https://commits.kde.org/plasma-workspace/0cd335211ad4989d2cc9afbe87fcc5790669b668
Comment 2 Schlaefer 2019-07-04 15:27:13 UTC
*** Bug 406511 has been marked as a duplicate of this bug. ***