Bug 440106

Summary: Setting Window border size to "No Borders" has no effect under fractional scaling.
Product: [Plasma] kwin Reporter: rdbt
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Picture showing that window borders are not gone.

Description rdbt 2021-07-21 10:29:45 UTC
Created attachment 140236 [details]
Picture showing that window borders are not gone.

SUMMARY
Setting Window border size to "No Borders" has no effect under fractional scaling.

STEPS TO REPRODUCE
1. Under System Settings > Hardware > Display Configuration,
set Global scale to fractional amount (e.g. 125%). 
2. Reboot to let changes take effect.
3. Under System Settings > Appearance > Window Decorations,
set Window border size to "No Borders".

OBSERVED RESULT
The windows will still show the window borders.

EXPECTED RESULT
The windows should not show the window borders.

SOFTWARE/OS VERSIONS
Linux Kernel Version: 5.12.15-arch1-1 (64-bit)
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.12.2
Graphics Platform: X11

ADDITIONAL INFORMATION

Rebooting does not fix the issue.
Comment 1 Nate Graham 2021-07-23 15:33:50 UTC
Your screenshot depicts KWin-provided window borders in fact being gone. :) The extra padding between UI elements and window edges that you're seeing in that screenshot comes from apps themselves, not KWin.