Bug 393498 - Wallpaper is not rotated correctly
Summary: Wallpaper is not rotated correctly
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image Wallpaper (show other bugs)
Version: 5.12.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
Depends on:
Reported: 2018-04-25 11:43 UTC by Christian
Modified: 2018-04-26 16:56 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.12.5

Example picture file (2.40 MB, image/jpeg)
2018-04-26 12:50 UTC, Christian
Example screenshot (1.46 MB, image/png)
2018-04-26 12:52 UTC, Christian

Note You need to log in before you can comment on or make changes to this bug.
Description Christian 2018-04-25 11:43:07 UTC
Similar to bug 240198, KDE Plasma still shows some wallpaper rotated in the wrong way. E.g., the image is marked to be rotated in portrait orientation and other KDE programs get it right, yet it is displayed across on the wallpaper background.

Interestingly, the blurred background that extends behind the wallpaper to the edge of the screen when the config is set to "Scaled, Keep proportions" is always rotated correctly, just the actual image is sometimes in the wrong orientation. (I didn't change any setting to have a blurred background behind the image - this appeared at some point in the upgrades to Plasma 5, where KDE 4 had a plain-colour background.)
Comment 1 Nate Graham 2018-04-25 16:04:49 UTC
Please attach a file that exhibits this issue.
Comment 2 Christian 2018-04-26 12:50:53 UTC
Created attachment 112259 [details]
Example picture file

This is an original picture file - the wallpaper shows the picture in the right orientation, but the blurred background behind the picture is rotated in the wrong way.
Comment 3 Christian 2018-04-26 12:52:05 UTC
Created attachment 112260 [details]
Example screenshot

This is a screenshot showing how the wallpaper is shown - the main picture is rotated correctly, but the blurred background is wrong. Still trying to find a file where the picture is wrong and the background is right - but this is probably the same issue.
Comment 4 Christian 2018-04-26 12:57:17 UTC
Maybe the problem is the blurred background not being rotated correctly? I found a few pictures where the wallpaper rotation is wrong, but the ones I found so far are also shown wrong in e.g. Gwenview - the rotation information was stored in a sidecare file.
But please look at the uploaded image and try to figure out why the blurred background has a different rotation than the image itself.
Comment 5 Kai Uwe Broulik 2018-04-26 15:45:43 UTC
The blur is indeed missing the autotransform. will fix
Comment 6 Kai Uwe Broulik 2018-04-26 15:49:37 UTC
Git commit 90e0a7b16529c30631f11d0fc5d8474175345d6c by Kai Uwe Broulik.
Committed on 26/04/2018 at 15:49.
Pushed by broulik into branch 'Plasma/5.12'.

[Image Wallpaper] Fix auto transform for blurred fill

This ensure the blur has the same exif rotation as the main image
FIXED-IN: 5.12.5

M  +2    -0    wallpapers/image/imagepackage/contents/ui/main.qml

Comment 7 Christian 2018-04-26 16:56:27 UTC