Skip to content
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

Reloading the config can cause tags to change outputs #251

Open
Ottatop opened this issue Jun 11, 2024 · 0 comments
Open

Reloading the config can cause tags to change outputs #251

Ottatop opened this issue Jun 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Ottatop
Copy link
Collaborator

Ottatop commented Jun 11, 2024

Currently the way tags are handled on reload is:

  1. Tags are removed from all outputs
  2. The global tag id counter is reset
  3. New tags are added
  4. Windows get their tags replaced by the new tag of the same id

The problem is 4. For whatever reason I reloaded the config and my second monitor had tags added first instead of my main one, causing all the windows to swap outputs along with some weird layout glitching.

Unfortunately this seems nondeterministic and I've only had it happen once thus far.

@Ottatop Ottatop added the bug Something isn't working label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant