Bug 512802 - Offscreen windows are drawn
Summary: Offscreen windows are drawn
Status: REPORTED
Alias: None
Product: krfb
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: George Goldberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-30 17:06 UTC by Blazer Silving
Modified: 2025-11-30 17:07 UTC (History)
0 users

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


Attachments
Window contents exceeding screen edge (AVNC client) (459.13 KB, image/png)
2025-11-30 17:07 UTC, Blazer Silving
Details

Note You need to log in before you can comment on or make changes to this bug.
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)