Bug 496487 - Invoking task switcher with Show Window enabled hides windows on all screens even if it's set to filter to only current screen
Summary: Invoking task switcher with Show Window enabled hides windows on all screens ...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-tabbox (show other bugs)
Version: 6.2.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-20 10:17 UTC by JR
Modified: 2024-11-22 15:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JR 2024-11-20 10:17:15 UTC
SUMMARY
When holding down the task switcher hotkey (generally alt+tab) with the Show Window setting is enabled in the kcm, all windows except the "targeted" one is displayed. This works correctly on a one-screen setup, but if you have two or more screens and you have set the switcher to filter windows by screen (also in the kcm), windows on other screens also get hidden while you hold down the switcher hotkey.

STEPS TO REPRODUCE
1. Have two screens
2. Open window A, B on screen 1
3. Open window C on screen 2
4. With the mouse somewhere in screen 1, press and hold down alt+tab
5. On screen 1, window B is hidden and window A is brought to front, to indicate that it will get focus when the hotkey is released

OBSERVED RESULT
6. On screen 2, window C is hidden for no reason, displaying the desktop wallpaper

EXPECTED RESULT
6. Windows on screen 2 cannot possibly be changed to or from because of the filter settings limiting the current switching to screen 1, so window C does not get hidden

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  EndeavourOS/Arch x86_64
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
This also happens when mouseovering miniatures in a task manager if Show Small Previews is enabled, if Show Only Tasks: From Current Screen is enabled.

I'm not sure what component to file this under, so please reassign it if necessary.

I'm running Wayland.