Bug 458481

Summary: Legacy windows have gaps when using "Apply scaling themselves" option
Product: [Plasma] kwin Reporter: Joshua T <joshuaandrewtr>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: nate, xaver.hugl
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Shows the gap on Blender when using 115% display scale.

Description Joshua T 2022-08-29 17:25:01 UTC
Created attachment 151687 [details]
Shows the gap on Blender when using 115% display scale.

SUMMARY

When using the X11 apps apply scaling themselves option, there is a 1 or 2 px gap along the right and bottom edges of a window. 

STEPS TO REPRODUCE
1.  Set a fractional scale on Wayland
2.  Enable the "Apps apply scaling themselves" option for X11 apps in display settings.
3. Open a legacy X11 application

OBSERVED RESULT

There is a 1 or 2 px gap that is along the right and bottom edges of a legacy window. The gap is transparent and shows the desktop.

EXPECTED RESULT

The window should fit the entire frame without gaps. 

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
Comment 1 Zamundaaa 2022-10-14 23:40:21 UTC

*** This bug has been marked as a duplicate of bug 459373 ***