From kde-panel-devel Sat Dec 31 17:08:16 2016 From: "broulik (Kai Uwe Broulik)" Date: Sat, 31 Dec 2016 17:08:16 +0000 To: kde-panel-devel Subject: [Differential] [Request, 60 lines] D3892: [Icon Item] Support non-square icons Message-Id: X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=148320410707724 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--709c2a6bedb9407689563cdc9c894ddc" --709c2a6bedb9407689563cdc9c894ddc Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit broulik created this revision. broulik added reviewers: Plasma, hein. broulik set the repository for this revision to R242 Plasma Frameworks. Restricted Application added projects: Plasma, Frameworks. Restricted Application added a subscriber: plasma-devel. REVISION SUMMARY BUG: 355592 TEST PLAN Tests still pass, added a test for paintedWidth/paintedHeight F1663819: Screenshot_20161231_173902.png Now getting non-square thumbs in FolderView (will make a patch for FolderView to let IconItem span the full delegate width to make better use of available space for wide thumbs) Everything else looks as normal, icons still rounded to icon sizes and square usually, verified that paintedWidth/paintedHeight is always updated and correct REPOSITORY R242 Plasma Frameworks REVISION DETAIL https://phabricator.kde.org/D3892 AFFECTED FILES autotests/iconitemtest.cpp autotests/iconitemtest.h src/declarativeimports/core/iconitem.cpp src/declarativeimports/core/iconitem.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma, hein Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas --709c2a6bedb9407689563cdc9c894ddc Content-Type: text/html; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit View Revision
broulik created this revision.
broulik added reviewers: Plasma, hein.
broulik set the repository for this revision to R242 Plasma Frameworks.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY

BUG: 355592


TEST PLAN

Tests still pass, added a test for paintedWidth/paintedHeight
F1663819: Screenshot_20161231_173902.png
Now getting non-square thumbs in FolderView (will make a patch for FolderView to let IconItem span the full delegate width to make better use of available space for wide thumbs)
Everything else looks as normal, icons still rounded to icon sizes and square usually, verified that paintedWidth/paintedHeight is always updated and correct


REPOSITORY
R242 Plasma Frameworks

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

AFFECTED FILES
autotests/iconitemtest.cpp
autotests/iconitemtest.h
src/declarativeimports/core/iconitem.cpp
src/declarativeimports/core/iconitem.h

EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/

To: broulik, Plasma, hein
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
--709c2a6bedb9407689563cdc9c894ddc--