Bug 493683 - On mixed DPI multi-screen setup, wallpaper on one screen is no longer correctly scaled after resuming from standby
Summary: On mixed DPI multi-screen setup, wallpaper on one screen is no longer correct...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image & Slideshow wallpaper plugins (other bugs)
Version First Reported In: 6.1.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-09-26 10:32 UTC by Argoth
Modified: 2025-05-21 03:47 UTC (History)
5 users (show)

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


Attachments
Screenshot of the Desktop Background with incorrectly scaled wallpaper (1.89 MB, image/png)
2024-09-26 10:32 UTC, Argoth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Argoth 2024-09-26 10:32:33 UTC
Created attachment 174098 [details]
Screenshot of the Desktop Background with incorrectly scaled wallpaper

SUMMARY
After resuming from standby, the wallpaper is no longer correctly scaled. It does annoyingly not happen every single time, but ca. 50% of the time after resuming from standby. It's easy to fix by just reselecting the image in desktop settings.


STEPS TO REPRODUCE
1. Send system to standby
2. Wakeup and log in
3. Observe Wallpaper

OBSERVED RESULT
Wallpaper no longer fills the screen but is incorrectly scaled

EXPECTED RESULT
Correctly scaled wallpaper as it was before entering standby

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Nobara Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version:  6.7.2

ADDITIONAL INFORMATION
Session is running on Wayland
Comment 1 Marco Martin 2024-09-26 14:15:18 UTC
I reproduced it once by swapping primary screen, but is very finnicky, happen only at times
Comment 2 Nate Graham 2024-09-26 16:53:37 UTC
As Marco hinted at, are you using a multi-screen setup? If so, can you run `kscreen-doctor -o` before reproducing the issue, and again after?
Comment 3 Argoth 2024-09-28 12:21:52 UTC
(In reply to Nate Graham from comment #2)
> As Marco hinted at, are you using a multi-screen setup? If so, can you run
> `kscreen-doctor -o` before reproducing the issue, and again after?

I am using two screens with different resolutions. It's possible that it tries to use the same (lower) res wallpaper size for both?

Anyway here is the kscreen-doctor output before standby and after with the bug being reproduced:

Before

Output: 1 DVI-D-1
        enabled
        connected
        priority 2
        DVI
        Modes:  0:1680x1050@60*!  1:1680x1050@60  2:1280x1024@75  3:1280x1024@60  4:1280x960@60  5:1152x864@75  6:1024x768@75  7:1024x768@70  8:1024x768@60  9:800x600@75  10:800x600@72  11:800x600@60  12:800x600@56  13:640x480@75  14:640x480@73  15:640x480@60
        Geometry: 2048,102 1680x1050
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
Output: 2 HDMI-A-1
        enabled
        connected
        priority 1
        HDMI
        Modes:  0:2560x1440@60*!  1:1920x1080@60  2:1920x1080@60  3:1920x1080@50  4:1680x1050@60  5:1600x900@60  6:1280x1024@75  7:1280x1024@60  8:1280x800@60  9:1280x720@60  10:1280x720@60  11:1280x720@50  12:1024x768@75  13:1024x768@60  14:800x600@75  15:800x600@60  16:720x576@50  17:720x480@60  18:640x480@75  19:640x480@60  20:640x480@60
        Geometry: 0,0 2048x1152
        Scale: 1.25
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: EDID

        
After

Output: 1 DVI-D-1
        enabled
        connected
        priority 2
        DVI
        Modes:  0:1680x1050@60*!  1:1680x1050@60  2:1280x1024@75  3:1280x1024@60  4:1280x960@60  5:1152x864@75  6:1024x768@75  7:1024x768@70  8:1024x768@60  9:800x600@75  10:800x600@72  11:800x600@60  12:800x600@56  13:640x480@75  14:640x480@73  15:640x480@60 
        Geometry: 2048,102 1680x1050
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
Output: 2 HDMI-A-1
        enabled
        connected
        priority 1
        HDMI
        Modes:  0:2560x1440@60*!  1:1920x1080@60  2:1920x1080@60  3:1920x1080@50  4:1680x1050@60  5:1600x900@60  6:1280x1024@75  7:1280x1024@60  8:1280x800@60  9:1280x720@60  10:1280x720@60  11:1280x720@50  12:1024x768@75  13:1024x768@60  14:800x600@75  15:800x600@60  16:720x576@50  17:720x480@60  18:640x480@75  19:640x480@60  20:640x480@60 
        Geometry: 0,0 2048x1152
        Scale: 1.25
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: EDID
Comment 4 Nate Graham 2024-10-11 20:44:03 UTC
Thanks. I see no change in the output, which means KWin and KScreen are doing their parts correctly. The issue must be in plasmashell.

Any chance you can upgrade to Plasma 6.2 and see if it fixes the issue?
Comment 5 Argoth 2024-10-16 19:06:51 UTC
(In reply to Nate Graham from comment #4)
> Thanks. I see no change in the output, which means KWin and KScreen are
> doing their parts correctly. The issue must be in plasmashell.
> 
> Any chance you can upgrade to Plasma 6.2 and see if it fixes the issue?

I just updated to 6.2 and will monitor the behaviour. An additional observation though: so far I only observed this  behaviour when I used the same (stock e.g. shipped with KDE) wallpaper for both screens. I have not yet seen the bug when I changed the wallpaper to a custom one on my main screen but will update this post when I see the issue again.
Comment 6 Bug Janitor Service 2024-10-31 03:46:54 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Argoth 2024-12-12 17:45:58 UTC
I am currently running 6.2 since a while and can confirm the bug still persists. Also widgets that were originally placed centered are left off-center after wake from standby due to the incorrect scaling. I am also running the latests Nvidia driver 565.77.
Comment 8 Nate Graham 2025-04-16 18:18:47 UTC
How about 6.3?
Comment 9 Argoth 2025-04-21 06:44:36 UTC
(In reply to Nate Graham from comment #8)
> How about 6.3?

Running 6.3.4  and have not yet run into this issue. I have not used standby a lot  due to NVIDIA driver bugs after resuming so the sample size is still kinda low. Switched to AMD GPU recently and will keep monitoring it but so far not happened on 6.3.4.
Comment 10 Bug Janitor Service 2025-05-06 03:47:10 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2025-05-21 03:47:05 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.