Markpad icon indicating copy to clipboard operation
Markpad copied to clipboard

Discuss a minimal macOS application menu and shared Settings entry

Open PathGao opened this issue 4 months ago • 5 comments

PathGao avatar Jul 30 '26 04:07 PathGao

@alecdotdev We hit this while validating the macOS build: Settings is readily available from the custom titlebar overflow, but users naturally look for it in the app menu first. We do not propose a full macOS File/Edit/View/Window hierarchy.

Our current design direction is deliberately narrower:

  • the shared custom titlebar/Home menu remains the only surface for document, preview, tab, export, window-tag, and multi-window actions;
  • the macOS app menu stays a small system-integration surface;
  • it should include one Settings… item with ⌘,, routed to exactly the same frontend action as the titlebar gear;
  • About, Check for Updates, Services, Hide, and Quit remain there; no duplicated document commands.

This also matters for #234 (Settings/workbench) and the pending multi-window work (#279 / #280): keeping those actions out of the macOS menu avoids a second platform-specific command model.

Would you prefer Settings… (the current macOS wording) or Preferences…, and do you see any other app-global action that belongs in this intentionally minimal native menu?

PathGao avatar Jul 30 '26 04:07 PathGao

@alecdotdev One missing part of the background: this came up while validating the pending window-organization UI. We are adding window tags and “Merge All Windows Here” to the shared Home menu below the export actions. That made the ownership of the two menus visible:

  • the custom Home/titlebar menu is a cross-platform workspace menu, and it is where Markpad-specific document, export, preview, tag, and multi-window actions belong;
  • the macOS app menu is a system menu, but it currently feels like a second, incomplete way to look for application commands. A macOS user will reasonably check it for Settings first, then has to discover a separate custom menu.

The concern is therefore not that the native menu is too small. It is that the boundary is implicit, so the two surfaces look like competing partial menus.

We considered three directions:

  1. Mirror a full File/Edit/View/Window menu on macOS. This improves familiarity, but duplicates the shared UI, needs platform-specific enabled/checked state, and would be hard to keep correct as window/tag features evolve.
  2. Keep no meaningful native app-menu entry points. This maximizes UI parity, but leaves a standard macOS destination for app-wide settings undiscoverable.
  3. Keep a deliberately minimal native bridge (our recommendation): only app-global/system actions, with Settings… forwarding to the exact same handler as the shared titlebar gear. The workspace menu remains canonical for all document and multi-window operations.

This gives macOS users the expected Settings entry without creating a second command hierarchy. It also means #234 can redesign the shared settings workbench without making a macOS-specific settings implementation.

Does that separation match the intended product direction?

PathGao avatar Jul 30 '26 04:07 PathGao

@alecdotdev The refactor and multi-window stack is now down to #279 and #280. When you have a moment, could you also look at #230 and this issue (#281)? They cover two product decisions that affect follow-up work: the YouTube embed fallback/compatibility direction and the intentionally minimal macOS app-menu boundary. Your preference will let us keep the next PRs aligned with the project direction.

PathGao avatar Jul 30 '26 05:07 PathGao

@PathGao option 3 works best. I work solely on Windows and until I can test manually with MacOS I think keeping it as platform agnostic as possible works best

alecdotdev avatar Aug 02 '26 04:08 alecdotdev

also 234 unfortunately strays from my product design and will not be implementing it, however I might test and integrate the settings search and transparency features.

alecdotdev avatar Aug 02 '26 04:08 alecdotdev