Use Qt scaling in Plamsa

Authored by davidedmundson on Aug 7 2017, 6:52 PM.

Description

Use Qt scaling in Plamsa

Summary:
I've done this only when on Wayland because:

On X, our own scaling to font generally works well.
There are bugs on older Qt, especially when it comes to fractional
scaling, and we can't support per screen scales anyway.
There's advantages to disabling, and (other than small context menu
icons) few advantages in enabling

On wayland, it's different. Everything is simpler as all co-ordinates
are in the same co-ordinate system
we don't have fractional scaling on the client so don't hit most the
remaining bugs and
even if we don't use Qt scaling the compositor will try to scale us
anyway so we have no choice

CCBUG: 356446

Test Plan:
Had this for about a week on my laptop.
Haven't noticed a single problem.

Reviewers: Plasma, mart

Reviewed By: Plasma, mart

Subscribers: mart, plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonAug 7 2017, 6:54 PM
Reviewer
Plasma
Differential Revision
D7188: Use Qt scaling in Plamsa
Parents
R120:86e5422beeae: [MPRIS Data Engine] Remove duplicate capFromName
Branches
Unknown
Tags
Unknown