Bug 450026 - Smart window placement: quickly opened windows should not be placed at the same position
Summary: Smart window placement: quickly opened windows should not be placed at the sa...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: core (other bugs)
Version First Reported In: 5.24.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-11 17:04 UTC by g111
Modified: 2024-06-07 15:07 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 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