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
for_window rules are executed inconsistently #4346
Comments
I think we should aim to consistently trigger upon all changes covered by criteria. This is easier to reason with and will empower users to solve more use-cases, e.g. this question which led me to open this issue. |
Also, it can be argued whether this is a bug or a feature request. I think the original intention was to run them, since "title" has been around forever and it works there, and we probably introduced criteria like "workspace" over time and just never thought to apply this behavior there. Either way, this is inconsistent, and inconsistency can also be seen as a bug – of the documentation at the very least. |
One more point, I think we only run each assignment once per window. In terms of enabling such use-cases, we'd have to change that behavior as well. I think that well deserves its own issue, and should probably not be default behavior. I haven't given it much thought, though. |
Have to investigate that. Especially the once for a window thing that seems odd to me... |
The "once for each window" thing is explicitly and intentionally done for criteria like |
Just wanted to chime in that this is by far my biggest issue with i3. Been a user for over a decade but the inexplicable |
I'm submitting a…
Current Behavior
For some criteria, we re-evaluate for_window rules "at runtime", and this is even documented in the userguide, e.g. for changes to the title or role. However, other criteria such as "workspace" do not get triggered when a window is moved.
Expected Behavior
We should decide whether we want to either trigger rules for all changes covered in criteria, or document explicitly which criteria support what. Given that the latter is more simple, we can also document first and retain the option to adjust behavior as well.
Reproduction Instructions
Environment
Output of
i3 --moreversion 2>&-
:The text was updated successfully, but these errors were encountered: