Skip to content

Use a native Open button on the macOS startup screen - #390

Draft
denisvmedia wants to merge 4 commits into
mainfrom
fix/empty-inspector
Draft

denisvmedia wants to merge 4 commits into
mainfrom
fix/empty-inspector

Conversation

@denisvmedia

@denisvmedia denisvmedia commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Behavior

The empty Inspector displays one short, centered hint. Its tabs and properties appear once an archive is open. An open archive with no selected entries continues to show Archive Info.

The macOS startup button is an AppKit control with the same Open command as the menu. It lives above the renderer as an AppKit sibling so it appears in the native accessibility tree. Tab transfers focus to AppKit. Linux and Windows retain their existing Open Archive controls.

flowchart LR
  Empty[Empty workspace] -->|Open Archive| Chooser[System file picker]
  Chooser -->|Choose an archive| Info[Archive workspace and Archive Info]
  Chooser -->|Escape| Empty
Loading

Verification

  • cargo xtask check passed on macOS ARM64 at 8c48825 with 1,187 tests passed and 2 ignored. Coverage includes the portable empty and populated Inspector, startup control geometry, and removal of the startup control after opening an archive.
  • The macOS 26 hosted replay verified accessibility discovery, pointer activation, Escape, Tab, Space, and choosing a ZIP in the actual AppKit file panel. It verified that the ZIP was unchanged. VoiceOver speech was outside this replay.
  • The captures show fresh startup, keyboard focus, the native file chooser, and Archive Info on macOS, plus the empty state after closing an archive on Ubuntu 24.04 Openbox/X11 x64 and Windows Server 2025 x64. The latter captures used accd132 in the clean CI merge checkout. The later accessibility changes affect only the AppKit adapter.

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