#1213·makepad

wm: top bar stays hidden after a tile leaves fullscreen (float / pop-out / workspace switch / close)

Author: BH3GEICreated Sep 4, 2026Updated Sep 4, 2026

What happens

makepad-wm's top bar auto-hides when a tile goes fullscreen (SUPER+F) and is supposed to reappear the moment fullscreen ends. The doc comment on sync_bar_for_fullscreen (apps/wm/src/main.rs) states the invariant:

SUPER+F hides the bar with the window; anything that leaves fullscreen puts it back, unless SUPER+SHIFT+SPACE hid it.

In practice most of the ways a workspace's fullscreen can end don't restore the bar — it stays hidden until you manually toggle it back with SUPER+SHIFT+SPACE.

Repro (macOS, nested mode)

  1. Open a terminal tile — SUPER+Return
  2. SUPER+F — the tile goes fullscreen, the bar hides ✓
  3. SUPER+T — the tile floats, fullscreen ends… but the bar stays gone ✗

The same happens via SUPER+O (pop-out), SUPER+Tab / SUPER+Shift+Tab / SUPER+Ctrl+Tab (workspace switch), SUPER+Shift+N (move-to-workspace), the scratchpad moves, and closing the fullscreen window (SUPER+Q, or the hosted app exiting on its own).

Root cause

do_action only calls sync_bar_for_fullscreen(cx) from the Fullscreen and Workspace arms. The other actions that clear workspaces[ws].fullscreen — ToggleFloat/PopOut (via layout.float()), the WorkspaceNext/Prev/Former and MoveToWorkspace(Silent) family, the scratchpad moves, and remove_client (via layout.remove) — never re-sync, so bar_hidden_by_fullscreen stays true and the bar stays invisible.

Fix

I have a PR ready that centralizes the sync so it runs on every path (structural rather than per-arm). Verified with cargo test -p makepad-wm (156 passing) and a manual before/after on macOS nested mode.