Bug 450026

Summary: Smart window placement: quickly opened windows should not be placed at the same position
Product: [Plasma] kwin Reporter: g111
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: 5.24.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description g111 2022-02-11 17:04:12 UTC
SUMMARY
I e.g. am opening konsole windows via hotkey (left-windows + t). If you open two windows and wait a second after opening the first one, the windows are placed fine side by side by the smart window placement logic. But if you quickly press the hotkey twice the windows are positioned at the same position. So the first window is completely covered by the second window. It would be much smarter if they still would be placed side by side.

STEPS TO REPRODUCE
1. enable smart window placement
2. configure a hotkey for opening an application (like konsole or dolphin)
3. press the hotkey quickly two times

OBSERVED RESULT
The two windows are placed at the same position. The first window completely disappears behind the second window.

EXPECTED RESULT
The two windows should be placed side by side as they are opened when pressing the hotkey with a short delay of e.g. 1 second.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-28-generic (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Graphics Processor: Mesa Intel® Xe Graphics
Comment 1 g111 2022-02-11 17:11:20 UTC
I just saw that the smart window placement is called "Minimal Overlapping". (I did remember it wrong.)
Comment 2 Zamundaaa 2024-06-07 15:07:19 UTC
Can't reproduce on Plasma 6, so I assume it's fixed