Bug 512802

Summary: Offscreen windows are drawn
Product: [Applications] krfb Reporter: Blazer Silving <breakingspell>
Component: generalAssignee: George Goldberg <grundleborg>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Window contents exceeding screen edge (AVNC client)

Description Blazer Silving 2025-11-30 17:06:06 UTC
SUMMARY
I use two monitors in portrait-landscape mixed orientation. A top-level layout out of screens (as VNC presents) will normally have black unused space. 

krfb draws windows in this region, where x11vnc does not. 

STEPS TO REPRODUCE
1. Use mixed monitor orientation that would lead to the layout above (screenshot). 
1. Open a window and manually resize or move it beyond the screen edge. 
2. Connect using krfb, notice the window contents drawn beyond the screen edge. 

EXPECTED RESULT
Window contents beyond the screen edge shouldn't be drawn. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Comment 1 Blazer Silving 2025-11-30 17:07:01 UTC
Created attachment 187269 [details]
Window contents exceeding screen edge (AVNC client)