Bug 500757 - Dragging a Window at Top of Screen causes Hard Freeze
Summary: Dragging a Window at Top of Screen causes Hard Freeze
Status: RESOLVED DUPLICATE of bug 481610
Alias: None
Product: kwin
Classification: Plasma
Component: Hotcorners and edges (other bugs)
Version First Reported In: 6.3.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-26 02:04 UTC by Brandon
Modified: 2025-02-26 03:06 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 Brandon 2025-02-26 02:04:54 UTC
SUMMARY
Plasma hard and complete freeze/lock up while dragging a window along the top edge of the desktop on Wayland. This has happened on both 6.3.0 and now 6.3.1. It seems to be the maximize detection code (even if disabled) that is triggering this. With it enabled I can visually see the maximize feedback trigger when it locks, while with it disabled the mouse and window stutter and slow way down until you pull the window back down. After 3-6 maximize attempts (because dragging horizontally across the top edge is difficult without accidentally pulling the window off the top of the screen) is when it locks.

STEPS TO REPRODUCE
1. With or without "Windows dragged to top edge" set, have a window snapped (non-tiling) to top of screen.
2. Drag the window left and right not leaving the snapped top but occasionally your mouse may try to pull the window slightly above the top of the window (as if triggering a top edge maximize even if that is disabled).
3. After 3-5 seconds of back and forth movement (like you are trying to position it precisely where you want it and triggering the maximize detection code several times), the screen freezes.

OBSERVED RESULT
The screen completely locks up. Mouse and keyboard unresponsive so unable to get any logs or restart kwin. Have to hard power off/on.

EXPECTED RESULT
Not lock up but continue to allow moving the window.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.4-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 7940HS w/ Radeon 780M Graphics
Memory: 54.7 GiB of RAM
Graphics Processor: AMD Radeon 780M

ADDITIONAL INFORMATION
4K with 125% screen scaling.
Happens on a machine that was upgraded from 6.2 to 6.3, and on a machine with a brand new install.
Comment 1 fanzhuyifan 2025-02-26 03:06:14 UTC

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