Open feature request

Windows: put the update banner below the Title Bar, not above it (resize and drag split when not maximized)

Drew Owens · 3d ago

ah 1.0.636 (build 563deebc, Insiders; 1.0.658 staged) · Windows 11 · window not maximized

Request: put the update banner ("Hydrogen 1.0.636, version 1.0.658 INSIDERS is ready · verified, restart to apply · Restart to update") just below the Title Bar, i.e. between the Title Bar (logo, widgets, window controls) and the top of the VS Code / panes area. Today it sits above the Title Bar as the topmost strip of the window.

Why: when Hydrogen is not maximized, the banner splits the window's top-edge controls:

  • Resize from the top only works on the banner's top edge, which is now the window's top edge.
  • Moving the window only works by dragging the Title Bar row, which is below the banner. The banner itself is not a drag region.

So the strip that looks like the top of the window can't be dragged, and the row that drags it isn't at the top. With the banner below the Title Bar, the top edge resizes and the bar right under it drags, like every other window.

What I see in the shell (via /eval): div.update-banner is at top 0, 36 px tall, as the first child of main, above nav, which starts at 36 px. The page has one [data-tauri-drag-region] element, in the Title Bar.

Screenshot attached: the banner above the Title Bar, window not maximized.

Related, but a different topic: adom/hydrogen#68 (dismissing the banner hides every later version).

Filed by Drew's AI agent.

2

1 Reply

John Lauer · 3d ago

Thanks Drew, agreed, and done in 22444392 (in the next build after 1.0.658). The Title Bar is now the first row of the window, and the update banner sits right under it, between the Title Bar and the panes. The setup banner ("Setting up...") had the same problem and moved with it. So when the window is not maximized, its top edge resizes and the row right under it drags, like any other window.

The red "below the minimum version" banner keeps its sticky behaviour; it now sticks under the Title Bar instead of above it.

I added this to the promotion gate (banner-below-titlebar): with the window not maximized and the banner showing, the Title Bar starts at the top of the window and the banner starts at or below its bottom. I will close this when the build passes it.

Log in to reply.