Bug 486469

Summary: Maximized windows have a semi-transparent line between window content and decorations
Product: [Plasma] kwin Reporter: Yoshio Sato <vasua.ukraine>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fanzhuyifan, nate, xaver.hugl
Priority: NOR    
Version First Reported In: 6.0.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.1
Sentry Crash Report:
Attachments: window
where the line is
window with deleted area around the line

Description Yoshio Sato 2024-05-02 19:36:24 UTC
Maximized windows have a semi-transparent line between window content and decorations

STEPS TO REPRODUCE
1. Maximize a window (not just KDE software, any window)
2. Observer a strange semi-transparent line between window content and decorations that reveals 1px of background

OBSERVED RESULT
a strange semi-transparent line between window content and decorations that reveals 1px of background

EXPECTED RESULT
no strange semi-transparent line between window content and decorations that reveals 1px of background

System info:
Operating System: openSUSE Tumbleweed 20240430
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 15.0 ГіБ of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: HP
Product Name: HP Pavilion Gaming Laptop 15-ec1xxx
Comment 1 Yoshio Sato 2024-05-02 19:36:43 UTC
Created attachment 169113 [details]
window

window
Comment 2 Yoshio Sato 2024-05-02 19:37:08 UTC
Created attachment 169114 [details]
where the line is

where the line is
Comment 3 Yoshio Sato 2024-05-02 19:38:34 UTC
Created attachment 169115 [details]
window with deleted area around the line

window with deleted area around the line, the background is actual background that was at the time of making the screenshot
Comment 4 fanzhuyifan 2024-05-02 20:09:13 UTC
Is this under fractional scaling?

Does this happen for native wayland apps, or xwayland apps, or both?
Comment 5 Yoshio Sato 2024-05-03 11:07:45 UTC
(In reply to fanzhuyifan from comment #4)
> Is this under fractional scaling?
> 
> Does this happen for native wayland apps, or xwayland apps, or both?

It is under a fractional scaling factor of 120%. If I set scaling to 100% the line disappears.
It happens to both native and xwayland apps.
Comment 6 fanzhuyifan 2024-05-03 14:47:17 UTC
FWIW I can't seem to reproduce on 6.1 with a bunch of fractional scaling factors (including 120%). Could you provide the output of kscreen-doctor -o? Thanks!
Comment 7 Yoshio Sato 2024-05-03 16:20:12 UTC
(In reply to fanzhuyifan from comment #6)
> FWIW I can't seem to reproduce on 6.1 with a bunch of fractional scaling
> factors (including 120%). Could you provide the output of kscreen-doctor -o?
> Thanks!

Here you go: https://pastebin.com/uCFS2jtY
Comment 8 Yoshio Sato 2024-05-03 16:43:55 UTC
Managed to replicate this on my KVM with openSUSE Kalpa.
Comment 9 Nate Graham 2024-05-03 18:51:42 UTC
Also can't reproduce with a bunch of fractional scales in Plasma 6.1. Closing for now, but please feel free to re-open if you discover the same issue in Plasma 6.1 after you upgrade to it. Thanks!
Comment 10 Yoshio Sato 2024-06-24 21:03:35 UTC
Updated to Plasma 6.1, bug is still here, unfortunately.
Will provide more info if needed.
Comment 11 Yoshio Sato 2024-06-26 17:05:55 UTC
Updated my openSUSE Kalpa (openSUSE MicroOS) VM to plasma 6.1.0, same result.
Comment 12 Zamundaaa 2024-06-26 19:12:16 UTC

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