Skip to content

Package settings ignore the manifest's order, and text and number settings lose their labels #600

Closed

Description

@Seb-GRAF

What happens

A package's settings in Settings → Packages and on a package widget's Settings page are hard to read:

  1. They're listed sorted by key, not in the order the package's package.json gives them. A package author can't put the main setting first.
  2. On a widget's Settings page (Bar → a package widget → Content → Package settings), a text or number setting is a bare field whose title is only its placeholder. Once the field has a value, nothing says what it is: AI usage's refresh interval shows as a bare 300, and Tunnelblick's Quick connect has no label.

Steps to reproduce

  1. Install examples/packages/system-monitor and add it to the bar.
  2. Open Settings → Packages → System monitor → Settings: CPU warning comes first and Refresh every (seconds) second, while package.json lists interval, processes, sortBy, cpuWarning, memoryWarning.
  3. Open the System monitor widget's Settings page in Bar: Refresh every (seconds) and Apps to list show as 2 and 5 with no label.

Expected

Settings follow the manifest's order, and every setting shows its title as a label, as pickers, toggles and secret fields already do.

Environment

StableBar on main (913b920).

Evidence

The scenes can't show this yet: a scene of a package's Settings page stops at "Loading package settings…", because a scene's offline Store client lists installed packages from its work folder, not from beside the configuration, and an inline configuration has no file for package settings to be read from.

Diagnosis

  • PackageSettingsFields in Sources/StableBar/PackagesView.swift iterates manifest.settings.keys.sorted(). WidgetPackageManifest.settings is a dictionary, and JSONDecoder doesn't keep key order, so the manifest's order is lost when it's decoded.
  • PackageSettingField draws TextField(title, …). In the grouped form of the Packages page the form labels it, but in the widget inspector's plain stack the title is only a placeholder.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

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

    @stablebar-releases

    🎉 This issue has been resolved in version 0.14.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