[Bug] Focus missing after closing window with 100% width
Karousel version: 0.14 Plasma version: 6.5.1 X11 / Wayland: Wayland
Description: Only window with 100% width have a problem, its fine for any other window below 100%. Seems like the current method for switching focus to another window is only when there is window visible? What i expect is when closing window, focus should be switch to next/previous window instead.
https://github.com/user-attachments/assets/2d9d183e-8ef8-4b55-8cd1-58d08be30d47
+1 Currently, my go-to solution is to set the default width of windows to both 50% and 99%. This way, when a window with a width of 99% is closed, focus automatically shifts back to the adjacent window that has its outline visible.
+1 Currently, my go-to solution is to set the default width of windows to both 50% and 99%. This way, when a window with a width of 99% is closed, focus automatically shifts back to the adjacent window that has its outline visible.
Thanks for the solution! i don't know why i didn't think about this workaround before
Thanks for the report!
@rReyvn @sf467 May I ask for your Karousel settings under the Parameters tab?
Hello, Here's my setting.
Thank you. I can reproduce the bug on Kubuntu, Wayland, Plasma 6.4.5.
The bug seems to stem from a difference in the order that signals are fired in different Kwin versions. I've possibly introduced the bug in 195f4e6d30b5991206e31b17363dbf367eb4252e.
I need to figure out a way to make focus passing work regardless of the order that signals are fired.