Bug 506915

Summary: Active screen not determined by cursor position but window focus
Product: [Plasma] kwin Reporter: Miroslav Jarý <mira.jary>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: 6.4.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Miroslav Jarý 2025-07-11 15:02:54 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
As mentioned in [this TWIP](https://pointieststick.com/2024/02/09/this-week-in-kde-inching-closer/), active screen should be determined by the cursor; but instead the active window is the one which contains last interacted window.

STEPS TO REPRODUCE
1. Set-up multi-monitor setup
2. Click window on 1st monitor
3. Move cursor to 2nd monitor
4. Open a new app (via e.g. Application Launcher)

OBSERVED RESULT
App opens on 1st monitor, where the previously interacted window is

EXPECTED RESULT
App opens on 2nd monitor, where the mouse cursor is present


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.5-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × 13th Gen Intel® Core™ i5-13420H
Memory: 32 GiB of RAM (31,1 GiB usable)
Graphics Processor 1: Mesa Intel® Graphics
Graphics Processor 2: llvmpipe
Manufacturer: LENOVO
Product Name: 82XV
System Version: LOQ 15IRH8
Comment 1 Zamundaaa 2025-07-18 13:02:55 UTC

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