Bug 466410

Summary: Title bars are being squashed when "tiled" to corner
Product: [Plasma] kwin Reporter: dft <dieseltrike>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: kortrax11, nate
Priority: NOR    
Version: 5.27.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Title bar is half of actual width
Window original size
Window fails to resize#1
Window is resized bigger than it was

Description dft 2023-02-25 16:41:40 UTC
Created attachment 156713 [details]
Title bar is half of actual width

SUMMARY
***
Window titles occasionally display "squashed" with tiling to corners or half the screen.

STEPS TO REPRODUCE
1. Use META + LEFT / RIGHT then UP / DOWN 

OBSERVED RESULT
1. After window is in a corner it's title bar is "resized" to half it's actual width and height

EXPECTED RESULT
1. Title bar should span width of actual window

Operating System: ArcoLinux 
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-4-cachyos-bore (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C91
System Version: 2.0
Comment 1 K Freed 2023-02-26 00:23:06 UTC
Have not figured out how to reproduce this, but i've seen it. Seems like whatever informs the titlebar what size it should be isn't always working. Only fix for this is to close the affected window or change themes.
Comment 2 K Freed 2023-02-26 00:27:07 UTC
Created attachment 156736 [details]
Window original size
Comment 3 K Freed 2023-02-26 00:27:49 UTC
Created attachment 156737 [details]
Window fails to resize#1
Comment 4 K Freed 2023-02-26 00:30:52 UTC
Created attachment 156738 [details]
Window is resized bigger than it was
Comment 5 K Freed 2023-02-26 00:34:29 UTC
If anyone can help me debug this further, it would be great. Can't find a reliable way to reproduce further. Using the new tiling system and custom themes makes show up faster. This issue is purely cosmetic as the buttons actually activate in the positions the UI should be.
Comment 6 Nate Graham 2023-02-28 20:46:43 UTC

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