Bug 429752

Summary: Resizing maximized window crashes kwin wayland
Product: [Plasma] kwin Reporter: Schlaefer <openmail+kde>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: 5.20.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Schlaefer 2020-11-28 09:44:23 UTC
SUMMARY

Resizing a maximized window crashes kwin wayland.


STEPS TO REPRODUCE

1. Start plasma in a wayland session
2. Activate "Allow resizing maximized windows from window edges" in Settings app > Window Decoration > Breeze > General Tab
3. Maximize an new window with the titlebar button (e.g. Dolphin)
4. Try to resize that window by dragging the resize handle away from the screen edge with the mouse pointer.

OBSERVED RESULT

Kwin immediately crashes:

Process 15507 (kwin_wayland) of user 1000 dumped core.
Stack trace of thread 15507:
#0  0x00007f65effd7615 n/a (n/a + 0x0)

EXPECTED RESULT

The window should be resized without crash.


SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.9.10-zen1-1-zen

ADDITIONAL INFORMATION

I see this issue on my actual machine and I'm able to reproduce in VirtualBox on a fresh installation.
Comment 1 Zamundaaa 2021-01-31 23:26:52 UTC
This was fixed with https://invent.kde.org/plasma/kwin/-/merge_requests/481