-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Window pulling focus breaks vdesk sync? #55
Comments
hmm interesting issue, never had it...albeit, I only have thunderbird stealing focus usually. What you can try in the meantime is setting the
Also, in such situations the command |
Thanks for the tips. Here's a output from the log. Hard to make sense of for me, I tried to contain it to what I think was the trigger for the break, and then a final command where i ran vdeskreset - It happened when I clicked a link in slack, which opened up my browser (cachy-browser), that was on a separate workspace. It switched workspaces on on monitor, but not the whole vdesk, and then everything got out of whack. Hopefully this helps, and appreciate your time in debugging. |
Have you also tried with the plugin settings I mentioned? Does that still happen? PS: also please add this to the config:
|
Thanks, yeah I've tried with the "none" setting. Still happens when I click a link that opens another window, or another window pulls focus. Here is the log reposted with verbose enabled. Same flow. Slack open, click a link, opens cachy-browser on separate workspace, doesn't switch synced workspace on secondary monitor, vdesk out of whack. Plugin settings: plugin { Workspaces config: #-- Workspaces ------------------------------------------------ bind = SUPER, KP_End, vdesk, 1 workspace=1, monitor:DP-2, default:true, persistent:true |
Hi! So, I've looked into your logs. It doesn't give me the reasons why this is happening, but at least I can see that it is happening.
This shows that:
I would look into a couple of things:
|
Removed workspace= rules, fixed regex error, and removed a couple stickyrules i had for apps - issue still persists unfortunately. Here's my general hyprland config, maybe something to do with a generic hyprland setting could be causing it. I'm also running waybar although not sure why this would effect anything. Appreciate your time in trying to help debug the issue. If you want to write this off to an edge case we can't figure out, totally fine. I can keep trying to work through it on my own :) |
Just tried removing all settings in the settings.txt file, no help. Although I can turn off focus_on_activate and atleast then it doesn't push me to a new workspace automatically |
why is your file called Anyway, what about your setup (could see this in the logs but faster if you tell me): do you have a laptop connecting to multiple monitors? or just a desktop pc? |
Ah, I guess I'm stupid. I just realized that your problem is expected. This plugin does not manage this, thus the focus is handled by hyprland. I'm not really planning to add this functionality, but of course nothing against PRs |
Gotchya, thanks for letting me know! |
I would actually leave this open, in case somebody at some point wants to implement this |
Great plugin! Works quite well overall.
Was curious if I've missed a config option in the plugin or otherwise that could help with this.
If a window pulls focus, (clicking on an app in the waybar systray, a mako notifcation, or even opening an app that is dedicated to a certain workspace) it changes the workspace on one monitor, but not the full vdesk (not changing the secondary monitor in sync) - this then breaks the sync until i manually change the workspace of the monitors individually to sync back up. Sometimes have to close all my apps to reset properly.
Thanks again!
The text was updated successfully, but these errors were encountered: