WayfireWM / WayfireWM/wayfire

With the latest git build of wayfire, the window-rules doesn't work anymore, only alpha work.

Open
#3,105 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
3.1k
Forks
237
Avg merge
1h 43m
Merged PRs (30d)
1

Description

Wayfire version

0.12.0-f2549f28 (Aug 5 2026) branch HEAD wlroots-0.20.2

GPU / Driver

Device: Mesa Intel(R) UHD Graphics 630
Vulkan Instance Version: 1.4.357

Describe the bug

With the latest git build of wayfire, the window-rules doesn't work anymore, only alpha work.

To Reproduce

Steps to reproduce the behavior:
rule_034 = on created if app_id is "firefox" then set geometry 273 70 1900 1174
rule_035 = on created if app_id is "firefox" then set alpha 1.0
rule_036 = on created if app_id is "firefox" then assign_workspace 1 1

Expected behavior

Firefox is suppose to open on workspace 1 1 with size 273 70 1900 1174

Screenshots / Videos / Stacktrace

wayfire.log:
https://codeishot.com/snippets/1yMEtfWS
wayfire.ini
https://codeishot.com/snippets/6ElGAZwK

Additional context

Error message in wayfire.log when I open Firefox or any other apps.
II 2026-08-10 04:36:52.515 - [src/view/xdg-shell/xdg-toplevel-view.cpp:29] new xdg_shell_stable surface: (null) app-id: (null)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked wayfire.log and wayfire.ini, then inspect src/view/xdg-shell/xdg-toplevel-view.cpp at the logged surface-creation message. Reproduce the Firefox rules from the issue and compare geometry, workspace, and alpha behavior. Done means the window rules apply so Firefox opens on workspace 1 1 with the requested geometry and alpha.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.