Skip to content

Respect centered images size

Marco Martin requested to merge work/cherry-pick-ada62d20 into Plasma/6.1
  • Respect centered images size

Centered images should be cropped all around if they are bigger than the screen, so we can't limit their sourceSize to the desktop size

Use the provider only for svgs: Image always considers images from image providers as scalable (QQuickPixmap::isScalableImageFormat) which changes the internal calculation of the size, having images being rendered on different sizes depending if they are loaded from package or directly

BUG:490425 BUG:489250

(cherry picked from commit ada62d20)

Co-authored-by: Marco Martin notmart@gmail.com

Edited by Marco Martin

Merge request reports