Skip to content

Application: Menus without a menu bar on Linux #1387

Closed

Description

@oneo-me

Context

Part of #1306. The roadmap's Application and windows section lists this item (line 154 of docs/roadmap.md at f7fc2f5c) with no issue.

Reference: Windows' menuPopupKey; #298

Acceptance

  • A window with a hidden title bar opens the application menu as a popup on Alt alone and F10, and a top-level item's menu on Alt with its first letter, as Windows does, rather than offering none

For: 开发@柚子

Activity

  1. added
    enhancement
    on Nov 21, 2026
  2. self-assigned this
    on Nov 22, 2026
  3. houko commented on Nov 22, 2026

    @houko
    Collaborator

    Implemented in #2033 at 8d714e0.

    Unchanged main ab9bfd1 fails all three native GTK regressions: Alt alone, F10 and Alt+F open no popup with a hidden title bar. The new path opens native nested GTK menus from the leading top corner, supports Unicode first-letter/digit mnemonics, preserves app bindings and system chords, and restores the previous still-attached widget before dismissal or editing-role dispatch. The shared Windows mnemonic behavior is unchanged.

    Verification:

    • 26 GTK routing cases across both menu-bar modes, including Unicode, disabled commands, modifiers, bindings and Shift+F10/system-key exclusions.
    • Actual XTest and actual Wayland/GNOME 50.1 keyboard input: four cases per display path, covering opening, Escape, reopening, first-item Return activation and Select All in the focused editor without invoking its app fallback.
    • Final Linux backend suite: 241 passed / 1 skipped, excluding only TestLinuxAudioPlayer. Unchanged main independently aborts that case in GStreamer gstdecodebin3.c:3381 with the collection assertion. The initial long-TMPDIR IPC failures are resolved by a shorter verification path; isolated unchanged-main web-focus and all six IPC checks pass, as do the final modified-source checks.
    • Combined Linux and Windows checks on both architectures pass. Layering, skill and actual cross-backend duplicate checks: 3 passed. Shared menu-text tests: 3 passed; changelog: 11 passed.

    The PR is open and unmerged. This issue remains open until integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions