[Bug] Multiple windows doesn't switch properly and I'm interacting with the last window even when I switched to the new window
What version of WinBoat are you running?
0.8.5
Your Environment
Linux distro used: NixOS 25.05 Desktop environment: gnome 48.2 FreeRDP version: 3.15.0 Hardware: 6600xt 5600 32gb of ddr4
Steps to Reproduce / Context
I'm not sure if I can exactly give steps to reproduce but I'm going to try my best. When you have multiple winboat windows open, and you switch from one window to another it often doesn't "transfer" your cursor and mouse to the new window. I know this because I can still select text in another app while having switched to another window. It feels like the new window is frozen, but really it's just "not selected" windows still sees it as not active and that you're still using the old windows
Things that may play a role: One of the things I suspect is gnome, I often switch apps using the overview, I'm guessing when I switch apps, it doesn't really count this since I go from freerdp -> to freerdp it doesn't correctly register switching windows.
NOTE: This bug only occurs when I switch between 2 winboat apps, not when I switch between a "normal" app and a winboat app.
I hope the issue is somewhat clear, if you need more context, let me know.
Logs
No logs.
Expected Behavior
When I switch windows it should work as expected and all buttons/whatever should work, and I should not be interacting with the previous window. But instead with the current window.
Current Behavior
When I switch windows, it sometimes interacts with the previous window.
Possible Solution
Better detection of apps, when I now switch it's not correctly noticing that I switched. And still lets me interact with the previous app, Maybe force apps to the foreground when the Linux host switches to them or put each app on its own virtual workspace (in windows) so apps don't mess with each other.
Quality Notice
- [x] I have checked the issue tracker and verified that this bug is a unique case.