Bug 357474 - "Centered and cropped" positioning mode
Summary: "Centered and cropped" positioning mode
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image & Slideshow wallpaper plugins (show other bugs)
Version: 5.5.0
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-03 16:25 UTC by Oliver Altamira
Modified: 2022-06-10 01:35 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Altamira 2016-01-03 16:25:02 UTC
If the resolution of a wallpaper image exceeds the display's resolution, the wallpaper image should be cropped from the center instead of scaled to fit the display.

Reproducible: Always

Steps to Reproduce:
1. Set wallpaper to an image that is bigger than the display resolution.
2. Set positioning to 'Centered'.
3. Apply.

Actual Results:  
Wallpaper is scaled to fit the desktop without cropping. The background color fills in the empty space.



Expected Results:  
Wallpaper should be centered on the desktop without scaling. Any side that exceeds the display should be clipped while the empty space is filled with the background color.

The current behavior is redundant since setting positioning to 'Scaled, Keep Proportions' gives the same results.

The new behavior would also match GNOME Shell and MS Windows 'Centered' wallpaper settings.
Comment 1 David Edmundson 2016-01-04 12:48:28 UTC
>The current behavior is redundant since setting positioning to 'Scaled, Keep Proportions' gives the same results.

That's only half true.
It's the same if and only if the image is larger than the screen resolution.
Comment 2 Oliver Altamira 2016-01-07 01:22:21 UTC
Oops, thought that was implicit from steps to reproduce.
Comment 3 FiNeX 2016-05-19 13:28:45 UTC
Bug confirmed (and reproducible) using the latest plasma-desktop 5.6.4.
Comment 4 Alexander Mentyu 2018-02-06 17:00:00 UTC
Center positioning of bigger wallpaper looks ok

Plasma: 5.11.5
Apps: 17.12.1
Frameworks: 5.42.0
Qt: 5.10.0
Kernel: 4.14.16-1-MANJARO
Comment 5 Fushan Wen 2022-06-10 01:35:07 UTC
Please submit the bug to upstream Qt, because QQuickImage doesn't support "Centered and cropped".