Skip to content

feat(macos): implement native PlatformMenuBar for macOS system menu integration #612

Description

@ZhuchkaTriplesix

Motivation & Goal

Provide a 100% native macOS experience by implementing the system top menu bar via Flutter's PlatformMenuBar.

Proposed Scope

On macOS (when Platform.isMacOS), wrap the main app with a native PlatformMenuBar containing:

  • Application Menu: About Querya, Preferences (Cmd+,), Hide (Cmd+H), Hide Others (Cmd+Alt+H), Quit (Cmd+Q).
  • File Menu: New Connection (Cmd+N), New Query Tab (Cmd+Shift+N), Open SQL Script (Cmd+O), Save Query (Cmd+S), Close Tab (Cmd+W).
  • Edit Menu: Undo (Cmd+Z), Redo (Cmd+Shift+Z), Cut (Cmd+X), Copy (Cmd+C), Paste (Cmd+V), Select All (Cmd+A).
  • View Menu: Toggle Sidebar (Cmd+B), Focus Filter Bar (Cmd+F), Toggle Pivot/Groupings (Cmd+G), Return to Home (Cmd+Shift+0).
  • Help Menu: Welcome Tour & Shortcuts Guide (F1 / Cmd+Shift+H), GitHub Repository & Bug Report link.

Verification

  • Add widget tests verifying that PlatformMenuBar mounts menu entries on macOS targets without regressions on Linux/Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrontendTheme parser epic label: frontend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions