Support Qt scaling in wallpaper loading
ClosedPublic

Authored by davidedmundson on Nov 15 2017, 3:01 PM.

Details

Summary

On wayland we're using Qt scaling.
This normally handles most scaling stuff itself, except because we're
explicitly forcing a source size, we need to scale that.

Test Plan

Loaded a 4k wallpaper from internet
Looked at the tiny pixels

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Nov 15 2017, 3:01 PM
Restricted Application added a project: Plasma. · View Herald TranscriptNov 15 2017, 3:01 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik accepted this revision.Nov 15 2017, 3:38 PM
broulik added a subscriber: broulik.
broulik added inline comments.
wallpapers/image/imagepackage/contents/ui/main.qml
38

Make it a property size

This revision is now accepted and ready to land.Nov 15 2017, 3:38 PM
This revision was automatically updated to reflect the committed changes.