Bug 479089

Summary: Resuming from sleep causes KDE to duplicate frames in a portion of the screen
Product: [Plasma] KScreen Reporter: aquathing
Component: commonAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aquathing, nate
Priority: NOR    
Version First Reported In: 5.27.10   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:
Attachments: Duplicated frames

Description aquathing 2023-12-27 18:07:02 UTC
Created attachment 164487 [details]
Duplicated frames

SUMMARY
***
Resuming from sleep causes KDE to duplicate frames in a portion of the screen.
***


STEPS TO REPRODUCE
1. Use a 16:9 and a 21:9 (primary) monitor (only setup I've tested)
1. Lock your screen
2. Turn off your monitors
3. Let KDE go to sleep
4. Wake up from sleep turning the 16:9 monitor on first, followed by the 21:9
5. Login and move windows to the left side of the 21:9 screen

OBSERVED RESULT
KDE starts duplicating frames and the wallpaper is cut. (see attachment)

EXPECTED RESULT
Wallpaper takes the full 21:9 of the screen and frames do not get duplicated.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.6.6-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 31,2 GiB of RAM
Graphics Processor: AMD Radeon RX 6750 XT
Manufacturer: ASUS

ADDITIONAL INFORMATION
It looks like KDE sees this screen as if it was 16:9.
Changing wallpaper does not fix this, but the wallpaper selector shows images using a 16:9 format instead of a 21:9, until the resolution fix mentioned below is used.
Only the wallpaper portion of the screen is affected by this, using an app that covers that part is completely fine, things start getting buggy as soon as you move the window out (is KDE trying to fill the wallpaper gap by repeating old frames?). It can be fixed by changing the resolution of the screen and reverting to right one.
Comment 1 aquathing 2023-12-27 19:47:07 UTC
This is what the wallpaper looks like after logging-in following the steps to reproduce: https://imgur.com/a/t7uaFX6.
Comment 2 Nate Graham 2024-02-16 04:34:47 UTC
This has been fixed in Plasma 6!