Bug 357474

Summary: "Centered and cropped" positioning mode
Product: [Plasma] plasmashell Reporter: Oliver Altamira <oliveraltamira>
Component: Image & Slideshow wallpaper pluginsAssignee: Marco Martin <notmart>
Status: RESOLVED UPSTREAM    
Severity: wishlist CC: finex, kde, nate, notuxius, plasma-bugs-null, qydwhotmail
Priority: NOR    
Version First Reported In: 5.5.0   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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".