Bug 429752 - Resizing maximized window crashes kwin wayland
Summary: Resizing maximized window crashes kwin wayland
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (other bugs)
Version First Reported In: 5.20.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-28 09:44 UTC by Schlaefer
Modified: 2021-01-31 23:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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