Skip to content

Discuss independent hidden-section refresh and stable preferences layout #451

Closed

Description

@MaiwulanjiangMaiming

I would like maintainer feedback on two locally tested fixes before taking a pull request out of draft, following CONTRIBUTING.md.

  1. Display reconfiguration: the always-hidden separator can retain its old width when the ordinary section is expanded. The controller currently gates its refresh on the ordinary section being collapsed. The proposed fix lets LegacyLengthEngine refresh each inflated separator independently, preserving expanded, visible, and disabled sections.
  2. Preferences presentation: replacing the window content controller when switching General/About changes the window size; the tutorial area also lacks a height constraint. The proposed fix uses a stable page container, consistent section heights, and explicit toolbar centering, retaining shortcut handling.

The hiding logic continues to obtain logical widths dynamically from NSScreen.screens. No monitor model, display identity, or reporter-specific resolution is embedded in production code. Regression fixtures cover synthetic single/multiple-display configurations, ordering, attach/detach, rotation/scaling, empty screen inventory, width bounds, and all ordinary/always-hidden presentation combinations.

Validation on macOS 26.6.2 arm64 with Xcode 27.0:

  • Final source and both test bundles compile successfully with build-for-testing.
  • The final hostless HiddenBarTests suite passes all 35 tests after generalizing the fixtures.
  • A prior full-suite run passed 50 tests; app-hosted tests were not rerun in the final pass to avoid reopening the reporter's desktop UI.
  • The reporter manually checked hiding and preferences presentation, including page switching and tab alignment, on one horizontal/vertical dual-display setup.

Physical display hot-plug across other Macs, macOS 27 behavior, and all localizations have not been independently verified. This proposal addresses the described state-refresh and layout defects; it does not claim to solve every macOS menu-bar limitation.

Would you prefer these changes in one draft PR or separate hiding/layout PRs? Original project documentation is unchanged, and local investigation notes/build artifacts are excluded.

Activity

  1. tieubao commented on Nov 15, 2026

    @tieubao
    Contributor

    The independent hidden-section refresh from the legacy half of #452 is carried in #468, together with the Preferences layout fix from #460. The larger Preferences UI rewrite from #452 is not included. It ships in the next release; we will close this then.

  2. added a commit that references this issue on Nov 15, 2026
  3. tieubao commented on Nov 15, 2026

    @tieubao
    Contributor

    Fixed in v1.11.2: https://github.com/dwarvesf/hidden/releases/tag/v1.11.2 (download, or brew upgrade --cask hiddenbar once Homebrew picks it up). Please reopen if you still see this on 1.11.2.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions