D12469: Fix avatar picture aliasing and stretching in kickoff

Kirill Tatunov noreply at phabricator.kde.org
Mon Apr 23 15:39:22 UTC 2018


ktatunov created this revision.
ktatunov added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
ktatunov requested review of this revision.

REVISION SUMMARY
  QML Image element has some smoothing when scaling an image by default but it's not enough and the picture still looks a bit pixelated. This patch fixes that.
  Also while I was at it, I added keeping the aspect ratio, because no one likes their avatars stretched.
  
  BUG: 369327

TEST PLAN
  Before: F5819424: kickoff-before.2.png <https://phabricator.kde.org/F5819424> F5819425: kickoff-before-aspect-ratio.2.png <https://phabricator.kde.org/F5819425>
  After: F5819429: kickoff-after.2.png <https://phabricator.kde.org/F5819429> F5819430: kickoff-after-aspect-ratio.2.png <https://phabricator.kde.org/F5819430>

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D12469

AFFECTED FILES
  applets/kickoff/package/contents/ui/Header.qml

To: ktatunov, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180423/4edc479a/attachment.html>


More information about the Plasma-devel mailing list