Bug 483097 - [Wayland] Wallpaper previews sometimes take aspect ratio from a monitor other than the one they will be applied to
Summary: [Wayland] Wallpaper previews sometimes take aspect ratio from a monitor other...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image & Slideshow wallpaper plugins (other bugs)
Version First Reported In: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen, qt6, wayland-only
Depends on:
Blocks:
 
Reported: 2024-03-10 10:59 UTC by Unknown
Modified: 2025-05-16 22:03 UTC (History)
4 users (show)

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


Attachments
A screenshot showing the wrong wallpaper previews size (1.38 MB, image/png)
2024-03-10 10:59 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2024-03-10 10:59:42 UTC
Created attachment 166859 [details]
A screenshot showing the wrong wallpaper previews size

STEPS TO REPRODUCE
1. In a multi monitor setup, check which is set as the primary
2. right click on the primary monitor's desktop and open the desktop and wallpaper settings
3. notice the wallpaper previews are in the size and rotation of the other monitor, in a dual monitor setup
OR
1. In a multi monitor setup, check which is set as the primary
2. launch or set a program to full screen from the primary display
3. notice how it launches in fullscreen on the other monitor, in a dual monitor setup

OBSERVED RESULT
In some cases like the desktop and wallpaper setting, the set primary monitor is ignored

EXPECTED RESULT
The primary monitor setting is respected, a full screen program should open in fullscreen on the same monitor

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
this is a new bug introduced in plasma 6, it was not happening in the beta 1 or plasma 5.27
Comment 1 Fushan Wen 2024-03-14 15:35:02 UTC
Cannot reproduce on X11. Are you on Wayland?
Comment 2 Unknown 2024-03-14 17:01:01 UTC
(In reply to Fushan Wen from comment #1)
> Cannot reproduce on X11. Are you on Wayland?

I should have specified, my bad, i'm on wayland yes
Comment 3 TraceyC 2025-04-09 22:44:36 UTC
I've seen this on Wayland with 6.3.4
Comment 4 Vlad Zahorodnii 2025-05-16 15:12:45 UTC
Git commit d6436e077c05abd100d905aaa73222a48ca1695f by Vlad Zahorodnii.
Committed on 16/05/2025 at 15:12.
Pushed by vladz into branch 'master'.

wallpapers/image: Fix thumbnails not matching output size

The `Screen` is an attached property and it never changes, we need to
monitor screen size changes instead.

M  +4    -5    wallpapers/image/imagepackage/contents/ui/config.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/d6436e077c05abd100d905aaa73222a48ca1695f
Comment 5 Vlad Zahorodnii 2025-05-16 15:33:26 UTC
Git commit 6d12cde35dda92904536ee3045d5f9ed9e83248d by Vlad Zahorodnii.
Committed on 16/05/2025 at 15:19.
Pushed by vladz into branch 'Plasma/6.4'.

wallpapers/image: Fix thumbnails not matching output size

The `Screen` is an attached property and it never changes, we need to
monitor screen size changes instead.


(cherry picked from commit d6436e077c05abd100d905aaa73222a48ca1695f)

7678dfa9 wallpapers/image: Fix thumbnails not matching output size
5f4d8bc8 Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>

M  +4    -5    wallpapers/image/imagepackage/contents/ui/config.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/6d12cde35dda92904536ee3045d5f9ed9e83248d