[XembedSNIProxy] Scale only big icons

Authored by kmaterka on Oct 10 2019, 2:36 PM.

Description

[XembedSNIProxy] Scale only big icons

Summary:
Do not scale up small icons to avoid quality detoriation. For small icons scaling should be done in SystemTray only. Currently XembedSNIProxy scales to 32x32, then SystemTray (usually) scales it down to 24x24.

BUG: 366047
FIXED-IN: 5.17.1

Test Plan:
I've run few applications with small icons:

  • keepassx (22x22)
  • liferea (16x16)
  • tuxguitar (16x16)

It looks much better without scaling in xemebdsniproxy.

Reviewers: davidedmundson, Plasma, Plasma: Workspaces

Reviewed By: davidedmundson, Plasma, Plasma: Workspaces

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
ngrahamOct 10 2019, 2:39 PM
Reviewer
Plasma
Differential Revision
D24531: [XembedSNIProxy] Scale only big icons
Parents
R120:acf91005b60c: [XembedSNIProxy] Check size in each update()
Branches
Unknown
Tags
Unknown