Fix binding loop in lockscreen media controls

Authored by davidedmundson on Nov 11 2019, 4:40 PM.

Description

Fix binding loop in lockscreen media controls

Summary:
When we load and position the Image the height is constrained, the width
is not. The image fillMode is set as PreserveAspectFit so the width
will adjust to fit the aspect ratio,

Therefore we only want to set a fixed height on the sourceSize, it will
automatically match the resultant width.

BUG: 413087
FIXED-IN: 5.17.3

Test Plan:
I was unable to reproduce the state.
Patch is based on reading the code and docs

Reviewers: Plasma, broulik, ngraham

Reviewed By: Plasma, broulik, ngraham

Subscribers: broulik, filipf, plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonNov 11 2019, 4:40 PM
Reviewer
Plasma
Differential Revision
D25252: Fix binding loop in lockscreen media controls
Parents
R120:2ff927b38aa0: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown