#4601·niri

Unexpected maximize-column behavior after toggling a full-width window floating and back

Author: 0N3-0Created Sep 16, 2026Updated Sep 16, 2026

Unexpected maximize-column behavior after toggling a full-width window floating and back

Version

niri 26.04 (8ed0da4)

Steps to reproduce

  1. Start with a tiled column at 50% width.
  2. Run:
bash
niri msg action maximize-column
  1. Toggle the window to floating and then back to tiled:
bash
niri msg action toggle-window-floating
niri msg action toggle-window-floating
  1. Run:
bash
niri msg action maximize-column

Actual behavior

The column remains at full width, and maximize-column has no visible effect.

Running maximize-column again also has no visible effect.

If I manually change the column width first:

bash
niri msg action set-column-width "50%"
niri msg action maximize-column

then maximize-column behaves normally again.

I can reproduce this when the window is full-width before toggling it to floating and back.

If the window is not full-width before toggling floating, I do not observe the same behavior.

https://github.com/user-attachments/assets/df99d42e-6a2f-4404-97a9-a6977a616168

Expected behavior / question

I'm not sure whether this is intentional.

Should toggling a full-width window to floating and back preserve the previous column width used by maximize-column, or is the current behavior expected because the window is placed into a new column when returning to the tiling layout?