Skip to content

Top bar polish for 0.12.1 - #30

Merged
jsanzdev merged 3 commits into
mainfrom
fix/top-bar-border
Dec 3, 2026
Merged

jsanzdev merged 3 commits into
mainfrom
fix/top-bar-border

Conversation

@jsanzdev

@jsanzdev jsanzdev commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Why

Design feedback on 0.12.0's top bar:

  • a light line around the bar in dark mode and translucent mode;
  • the highlights' corners and gaps didn't match the bar's;
  • in the tiled layout, a row of column blocks says nothing when every window is already on screen;
  • uneven spacing, wordy labels, and odd app names ("Windows Terminal Host", "Notepad.exe").

What

Border: a borderless WinUI window keeps a dialog frame (WS_DLGFRAME), which Windows draws as a light hairline. OverlayWindows.HideBorder removes the frame styles and sets the Windows 11 border color to none, both when the window is created and after each show, because WinUI restores the frame when it shows a window.

Concentric corners: everything inside the bar sits 4px from every edge with 4px corners, which is the bar's 8px corners minus the 4px gap. The values are the BarRadius, Inset and InnerRadius constants.

Tile map: in the tiled layout, the minimap draws each tile where it actually is, in the screen's shape, with the focused tile highlighted. TopBar gains Tiles, Mode, TiledColumns and Aspect. The scrolling layout keeps the column blocks.

Layout item: a small drawn icon (a strip of columns, or the spiral's half and quarters) plus the column count. The words move to the tooltip.

Claude: the 5-hour and weekly limits show as two thin bars with their percentages, amber from 75% and red from 90%. Without the plan's limits, it falls back to today's tokens as before.

App names: Native.AppDescription now uses the name Windows shows for Store apps (GetApplicationUserModelId, then AppInfo.GetFromAppUserModelId), e.g. "Terminal". For other apps it uses the file description, with ".exe" removed.

Spacing: one gap between the bar's groups. The live items sit closer together, since each is a button with its own padding. Network speeds lose "B/s", and the clock's width is sized for today's date.

CPU and memory hover cards: built like the Claude card, with the figure, the busiest apps and a bar for each app's share.

Changelog: an entry for 0.12.1 in all 8 languages. Strings for the old Claude text are removed.

Testing

  • Glide.Core.Tests: 349 passed, including the changelog and translation checks.
  • In a Windows 11 VM:
    • The border is gone in dark opaque and translucent modes.
    • Close-ups confirm even gaps and parallel corners.
    • The tile map matches a 3-window spiral.
    • Both layouts show their icons.
    • The app in front reads "Terminal".
    • Claude shows its two bars.
  • The hover cards weren't opened during testing, because the VM can't be pointed at with a mouse.

🤖 Generated with Claude Code

jsanzdev and others added 2 commits December 3, 2026 11:46
A borderless WinUI window keeps a dialog frame (WS_DLGFRAME), which
Windows draws as a light hairline around the window: plain on a dark or
translucent bar. Take the frame off, and Windows 11's own border with it,
when the bar is created and each time it's shown (WinUI restores it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The active workspace and hovered buttons sat 4 px from the bar's side but
2 px from its top and bottom, with 5 px corners inside the bar's 8 px
ones. Give them an even 4 px gap and 4 px corners (8 - 4), so the curves
run parallel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jsanzdev jsanzdev changed the title Top bar: no light border around the bar Top bar: no light border, concentric corners Dec 3, 2026
- Tiled workspaces: the map draws the tiles where they are on screen, in
  the screen's shape, the focused one highlighted, instead of a row of
  column blocks that says nothing when every window is on screen.
- Layout: a small icon (a strip, or the spiral's half and quarters) and
  the column count; the words move to the tooltip.
- Claude: the 5-hour and weekly limits as two thin bars with their
  percentages, amber from 75% and red from 90%.
- App names: a Store app goes by the name Windows shows ("Terminal"),
  others by their description, never with ".exe".
- One spacing for the bar's groups; live items closer together. Network
  speeds without "B/s"; the clock sized for today's date.
- CPU and memory hover cards drawn like the Claude card, with a bar per app.
- Changelog for 0.12.1 in every language.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jsanzdev jsanzdev changed the title Top bar: no light border, concentric corners Top bar polish for 0.12.1 Dec 3, 2026
@jsanzdev
jsanzdev merged commit 1d0c222 into main Dec 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant