Bug 489354 - On X11, "No Windows Found" in windows switcher if one of the windows gets closed
Summary: On X11, "No Windows Found" in windows switcher if one of the windows gets closed
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 6.1.1
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression, X11-only
Depends on:
Blocks:
 
Reported: 2024-06-28 05:14 UTC by FishBoneEK
Modified: 2025-02-24 17:58 UTC (History)
3 users (show)

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


Attachments
Reproduction recording (993.75 KB, video/x-matroska)
2024-06-30 08:28 UTC, FishBoneEK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FishBoneEK 2024-06-28 05:14:33 UTC
SUMMARY
If I open multiple windows for 1 application, then hold Meta+` to "Walk through windows of current application", and one of the windows closes, the windows switcher will show "No Windows Found". 

STEPS TO REPRODUCE
1. Open some terminal windows
2. Run `sleep 3 && exit` in one of them
3. Hold your shortcut (mine is Meta+`) to open the window switcher

OBSERVED RESULT
One of the terminal window exits, the window switcher shows "No Windows Found"

EXPECTED RESULT
The window switcher should show remaining windows instead

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Fushan Wen 2024-06-30 07:53:06 UTC
Cannot reproduce
Comment 2 FishBoneEK 2024-06-30 08:28:29 UTC
Created attachment 171196 [details]
Reproduction recording

I recorded a clip, see if it helps
Comment 3 Nate Graham 2024-06-30 14:51:09 UTC
Also cannot reproduce (with Konsole). Can you reproduce it in Konsole, or in any other apps?
Comment 4 FishBoneEK 2024-06-30 14:56:14 UTC
This is weird.
I can reproduce with Alacritty and Konsole. 
Are you testing under Xorg? This bug happens with Xorg, and I cant test with Wayland because my graphic card doesnt support it.
Comment 5 Nate Graham 2024-06-30 14:59:30 UTC
No, I'm only trying it on Wayland. I don't test things on X11 anymore, sorry. Only so many hours in the day.

What do you mean by "my graphic card doesnt support it" exactly? In what way does it not work?
Comment 6 FishBoneEK 2024-06-30 15:02:40 UTC
I understand, Xorg is old and I actually want to switch to Wayland too.
My graphic card is NVIDIA GT 750M, which is around 10 years old. It uses nvidia prorietary driver 470 ver, so it doesn't support GBM, and the  only protocol it seems to support is EGLStreams, which is only used by GNOME, according to https://wiki.archlinux.org/title/Wayland
Comment 7 Nate Graham 2024-06-30 15:08:52 UTC
Understood. That's pretty old, yeah. Might be a good idea to try to source a newer one at some point.
Comment 8 TraceyC 2024-07-01 17:16:53 UTC
I can reproduce this on X11. I also confirm that the desired behavior happens in Wayland.

There are still quite a few issues that make people prefer X11 even if they want to use Wayland. In my case, Firefox has been crashing repeatedly on certain websites, likely due to specific javascript. This doesn't happen with X11.
Comment 9 Fushan Wen 2024-07-02 00:10:20 UTC
I am using X11 and I tried with the exact 3 steps but still cannot reproduce
Comment 10 TraceyC 2025-02-24 17:58:53 UTC
Adding the x11-only keyword