Bug 489427

Summary: shade window causes window size to shrink to almost zero
Product: [Plasma] kwin Reporter: Rajinder Yadav <devguy.ca>
Component: Window shadingAssignee: KWin default assignee <kwin-bugs-null>
Status: ASSIGNED ---    
Severity: major CC: alanas.00, lyon.lemmens, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rajinder Yadav 2024-06-29 12:06:09 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
When shading and unshading window, sometime the window size is not restored and only a window height of maybe a few pixels is visible to pull down for resizing.

STEPS TO REPRODUCE
1. shade the window
2. move window titlebar around, or switch to another desktop and back again
3. unshade the window

OBSERVED RESULT

Windows fails to restore to original size it was before.

EXPECTED RESULT

Show window in its previous size.

Operating System: openSUSE Tumbleweed 20240622
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.5-1-default (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7A38
System Version: 8.0
Comment 1 Bug Janitor Service 2025-08-01 09:43:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin-x11/-/merge_requests/66
Comment 2 Bug Janitor Service 2025-08-07 09:32:45 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin-x11/-/merge_requests/69