Bug 466817

Summary: Window snapping makes window rearrangement impossible using snapping, degradation compared to previous window resizing/snapping algorithm
Product: [Plasma] kwin Reporter: avallash <avallash>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, nicolas.fella, plasma-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description avallash 2023-03-04 09:55:10 UTC
SUMMARY
In plasma 5.27 (I think) the window snapping and alignment got changed to worse. I think the intention was to mimic the broken-by-design win10 behavior.

Scenario 1
STEPS TO REPRODUCE
1. Open browser with 2 windows, windows overlap.
2. Try to rearrange them side by side by dragging window to left or right edge
OBSERVED RESULT
window overlaps again, snapping to other window position
EXPECTED RESULT
window snaps to selected edge occupying half screen width


Scenario 2
STEPS TO REPRODUCE
1. Working with many windows, including several terminals
2. Try to rearrange one terminal to screen corner by dragging window to corner
OBSERVED RESULT
window snaps to other window (sometimes hidden under other windows) making rearrangement to corners impossible
EXPECTED RESULT
window snaps to corner and occupies 1/4 of screen, regardless of other window placement


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: plasma 5.27
(available in About System)
KDE Plasma Version: 5.27
KDE Frameworks Version: 5.103
Qt Version: 6.4.2

ADDITIONAL INFORMATION
This change is anti-productive as it makes window management a pain. I know this is mimicking the win10 behavior, but that one is also broken by design. Please add either a configuration to select the "old" or "new" window snapping capability or revert to the "old" one.
Comment 1 Nate Graham 2023-03-07 20:41:50 UTC

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