Bug 469012

Summary: [Regression] Present Windows no longer selects a singular filtered window in some cases on multiple displays
Product: [Plasma] kwin Reporter: Mark S <wolfendeathx>
Component: effects-present-windowsAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 5.27.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Mark S 2023-04-26 16:03:43 UTC
SUMMARY

The Present Windows feature doesn't function entirely as it did prior to 5.25.0. When using multiple displays, if you search for a window and there is a single match, prior to 5.25.0 the application window would be selected, regardless of display. Currently, it only works if the mouse was present on the same display as the application window _before_ Present Windows was started.

I originally filed this as bug 455622, but it was incorrectly marked as a duplicate of bug 455353. The latter described filtering only applying to the current display, whereas the former (the bug I'm describing here) is for automatic selection of a lone window that matches filter criteria on a display that the mouse was not on when the effect was started.

STEPS TO REPRODUCE

1. Open present windows while using multiple displays
2. Filter to a single window that is not on the same display as your mouse when you opened the effect

OBSERVED RESULT

Window is not selected.

EXPECTED RESULT

Window is selected.

SOFTWARE/OS VERSIONS

KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.8-arch1-g14-1 (64-bit)