Skip to content

After updating from 0.18, the starter's bar sizes apply under every theme #907

Done

Description

@Seb-GRAF

What happens

After updating from 0.18, Settings → Appearance says 3 settings apply to every theme: Height, Side inset, Space between widgets for people who never changed them. The values come from 0.18's starter configuration, and they override every theme's own sizes. Clear, for example, draws at 40 / 12 / 8 instead of its own 37 / 14 / 4.

The app's defaults are also 40 / 12 / 8. So Reset and Keep with … Only change nothing on the bar, which reads as the buttons not working.

Steps to reproduce

  1. On 0.18.0, go through setup, which writes the starter configuration, and choose any theme, such as Léman.
  2. Update to 0.19.0-beta.20261123164352.1618.
  3. Open Settings → Appearance.

Expected

Values StableBar wrote on its own don't count as the person's settings, so the notice doesn't appear and each theme draws with its own sizes. Nobody's bar changes on update: a bar whose theme sets its own size, such as Nord's height of 30, keeps the 40 it was drawn with under 0.18.

Environment

  • macOS 26.6.2, in a Tart VM.
  • StableBar 0.18.0 updated to main at 2b04055, built as a 0.19 beta.

Evidence

Reproduced in a clean VM. After the update, the configuration file still had the starter's sizes:

"bar": { "height": 40, "offset": 0, "inset": 12, "spacing": 8, "belowMenuBar": false, ... }

Diagnosis

  • What 0.18 wrote: 0.18.0's starter configuration (Resources/config.json), which setup writes, has bar.height 40, bar.inset 12 and bar.spacing 8.
  • What feat: replace the included themes and rebuild setup around them #889 changed: it removed them from the starter, because the new included themes set their own sizes. Resources/config.json on main keeps only offset.
  • The gap: no launch migration removes them from existing files.
  • Why they win: the loader puts the main file above the theme, and ThemeEdits.everyTheme (Sources/StableBar/Themes/ThemeEdits.swift) lists them as values of the main file that apply under every theme.
  • Why nothing seems to change: the decoded defaults are 40 / 12 / 8 (Sources/StableBar/Configuration/Configuration.swift). Under a theme that sets no size, which is most of the themes that moved to the Store, the values draw nothing different.
  • Which themes they override:
    • every new included theme;
    • Nord's height of 30 (Resources/store-themes/nord);
    • the retired Blueprint's side inset of 8.

A fix in the spirit of migrateEarlierColors (#28):

  • remove each of the three values that still equals the starter's;
  • when the selected theme of the bar or of a screen sets its own value for it, keep the starter's value as an edit of that theme, in the profile that Keep with … Only writes, so that bar doesn't change.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    bug
    on Nov 24, 2026
  2. stablebar-releases commented on Nov 25, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.19.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions