#16156

Bring minimized windows back when a workspace stops floating

Openmrjamesmyerswants to merge intofrom

Problem

Super+M (omarchy-hyprland-window-minimize) sends a window to special:minimized; only the dock, shown on floating workspaces, brings it back. Super+L (omarchy-hyprland-workspace-layout-toggle) cycling the workspace to dwindle or scrolling removes the dock, leaving the minimized window on special:minimized with no way to reach it.

Repro (verified in a VM): floating workspace with a window, Super+M, then Super+L to tiling. The window stays on special:minimized; there is no dock and no restore path.

Change

When a workspace leaves the floating layout, move the windows tagged omarchy-minimized-from-<workspace> back to it. Validated: the window returns to the workspace on the layout change.

Found while testing Omarchy 4.5.0-rc1.

Activity

3
greptile-apps[bot]11h ago

Confidence Score: 4/5

[Low impact] The change stays within one workspace's layout workflow.

The change appears safe to merge, with a non-blocking request for regression tests.

Findings

  1.  Restore loop goes untested ▶

Summary

Restores minimized windows when a workspace successfully leaves floating mode.

  • Leaving floating brings that workspace's minimized windows back.

Reviews (1) · Last reviewed commit: "Bring minimized windows back when a work..." · Reviewed by Greptile

greptile-apps[bot]reviewed11h ago