Bug 478784 - Wallpaper in activity switcher is stretched at square-like resolutions
Summary: Wallpaper in activity switcher is stretched at square-like resolutions
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Activity Switcher sidebar (other bugs)
Version First Reported In: 5.90.0
Platform: Neon Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-20 19:21 UTC by Avokif
Modified: 2026-10-23 16:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.8.2
Sentry Crash Report:


Attachments
wallpaper for testing (124.43 KB, image/jpeg)
2023-12-20 19:21 UTC, Avokif
Details
Video demonstration (2.90 MB, video/mp4)
2023-12-20 19:24 UTC, Avokif
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Avokif 2023-12-20 19:21:57 UTC
Created attachment 164324 [details]
wallpaper for testing

SUMMARY
If you configure the display to be at square-like resolution and then press Meta+Q to view activities, your square-like wallpaper will appear stretched 

STEPS TO REPRODUCE
1. Set a resolution with 5:4 aspect ratio
2. Use an image from the attachment as a wallpaper 
3. Trigger activity switcher (Meta+Q)

OBSERVED RESULT
The wallpaper is stretched

EXPECTED RESULT
The wallpaper will look the same as on desktop
My suggestion: wallpapers in activity switcher should match configured aspect ratio of a display

SOFTWARE/OS VERSIONS
Linux: 6.2.0
KDE Plasma Version: 5.90.90
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Comment 1 Avokif 2023-12-20 19:24:46 UTC
Created attachment 164325 [details]
Video demonstration
Comment 2 Bug Janitor Service 2026-10-22 20:56:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/4114
Comment 3 Niccolò Venerandi 2026-10-23 09:52:56 UTC
Git commit 0c45326f57b0b2ff2c8f10f65c5b659323941c5c by Niccolò Venerandi.
Committed on 23/10/2026 at 09:52.
Pushed by niccolove into branch 'master'.

activitymanager: Crop activity wallpapers instead of stretching them

We use PreserveAspectCrop for the 16:9 card preview of the wallpaper
instead of stretching them. We also request a square thumbnail so that
wallpapers narrower than 16:9 come at least as wide as the card and do
no need to be upscaled.

M  +4    -1    desktoppackage/contents/activitymanager/ActivityItem.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/0c45326f57b0b2ff2c8f10f65c5b659323941c5c
Comment 4 Niccolò Venerandi 2026-10-23 09:53:12 UTC
Git commit 0778a17aef1561b830b6c2eccd420300d88ede92 by Niccolò Venerandi.
Committed on 23/10/2026 at 09:53.
Pushed by niccolove into branch 'Plasma/6.8'.

activitymanager: Crop activity wallpapers instead of stretching them

We use PreserveAspectCrop for the 16:9 card preview of the wallpaper
instead of stretching them. We also request a square thumbnail so that
wallpapers narrower than 16:9 come at least as wide as the card and do
no need to be upscaled.


(cherry picked from commit 0c45326f57b0b2ff2c8f10f65c5b659323941c5c)

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +4    -1    desktoppackage/contents/activitymanager/ActivityItem.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/0778a17aef1561b830b6c2eccd420300d88ede92