Bug 482225

Summary: Task switcher ignores windows on 1 screen (of 3)
Product: [Plasma] kwin Reporter: Arek Guzinski <kermit>
Component: tabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: fanzhuyifan
Priority: NOR Keywords: qt6
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Task switcher settings
Display settings

Description Arek Guzinski 2024-03-02 12:55:13 UTC
Created attachment 166300 [details]
Task switcher settings

SUMMARY
When using Tab Switcher to switch between applications, those on one of my screens are completely ignored (not visible/selectable). Which of my screens is ignored, may change after switching virtual desktops.
I have 3 screens, 2 of which are identical (EIZO L568). But the other one is affected as well.


STEPS TO REPRODUCE
1. Open a bunch of windows across several screens.
2. Press Meta+Tab to switch window.

OBSERVED RESULT
Only windows on 2 of my 3 screens are selectable. Can't switch to the others via this shortcut.

EXPECTED RESULT
Can switch to any window on the current virtual desktop.

SOFTWARE/OS VERSIONS

ADDITIONAL INFORMATION
Switching via other shortcuts like "Switch to Window to the Right" works across all screens (although I can't use it to switch to any completely covered windows :( ).

Relevant settings attached. Switching to a different visualization (e.g. Cover switch) does not help (tried them all).
Comment 1 Arek Guzinski 2024-03-02 12:56:03 UTC
Created attachment 166301 [details]
Display settings
Comment 2 Arek Guzinski 2024-03-02 12:58:11 UTC
forgot this: 

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 15,5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Comment 3 fanzhuyifan 2024-03-02 19:21:56 UTC
You have checked screens-all other screens, so it is doing just that.

You could uncheck screens to get your desired behavior.
Comment 4 Arek Guzinski 2024-03-03 06:12:12 UTC
Oh.. you're right, disabling Screens fixed it for me. Thanks :)

But now that I'm reading this correctly and know what it does, I still see a problem here: "All other screens" means "All screens except the one with the mouse cursor on it". If I remember correctly, there was a decision to define the current screen like this, which might make sense in many situations... 
In this case though, because I'm navigating windows by keyboard, I would expect the current screen to be the one with the currently focussed window.