https://bugs.kde.org/show_bug.cgi?id=338506

Tuukka Verho <tuukka.ve...@aalto.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tuukka.ve...@aalto.fi

--- Comment #49 from Tuukka Verho <tuukka.ve...@aalto.fi> ---
I found the problem and a fix!

Setting sourceImage.size to the size of the screen may change the aspect ratio
of the image. Qt handles this especially badly and I think there is a bug in Qt
regarding that. However, there is no reason to change the aspect ratio back and
forth. It's better to set just the width or the height of the source and let Qt
keep the aspect ratio.

Changing all occurrences of the line

currentImage.sourceSize = Qt.size(root.width, root.height)

in /usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml to

currentImage.sourceSize.width = root.width

fixes it for me. I think this is an actual fix, not just a workaround.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to