Skip to content

[Bug] Windows don't obay window_rules and/or disappear and become background processes #718

@Sh00Fly

Description

@Sh00Fly

Describe the bug

When I have two rules that are supposed to move either chrome or firefox to the same workspace things get weird.
Sometimes it works fine, sometimes a browser ends up on a random workspace, and sometimes a browser disappears and only can be found under background processes in task manager.

window_rules:
  - commands: ["move --workspace 04"]
    match:
      # Move browsers to workspace 04.
      - window_process: { regex: "chrome" }
      
  - commands: ["move --workspace 04"]
    match:
      # Move browsers to workspace 04.
      - window_process: { regex: "firefox" }

Reproduction

Have two separate window rules move two programs to the same workspace.
Try to open and close the two programs repeatedly and observe windows misplaced and disappearing.

Stack trace or error logs (if applicable)

No response

Version number

v3.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions