Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Show the system window menu (Window::ShowSystemMenu)

Offen
#66 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
58/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cpp
Bereich
api, desktop

Rechercherichtung

Start by locating the Window API and the platform-specific implementations for Windows, Linux, and macOS. Compare the proposed Windows GetSystemMenu/TrackPopupMenu and Linux gdk_window_show_window_menu behavior, and document the macOS limitation. Done means ShowSystemMenu(Point) works at the requested position with correct Windows item states and is documented where unsupported.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

There's no API to show the system window menu (restore / move / size / minimize / maximize / close) at a point. Apps with a custom title bar need it for right-click on their drag area, and for Alt+Space on Windows. window_manager's popUpWindowMenu() is a no-op in 0.6.0 because of this.

Proposal: Window::ShowSystemMenu(Point). On Windows, GetSystemMenu + TrackPopupMenu, with the item states (restore/maximize enabled) kept correct. On Linux, gdk_window_show_window_menu(). On macOS, no equivalent (document it). Then DragToMoveArea in nativeapi-flutter can open it on secondary click.

Background:

  • leanflutter/window_manager#562: popUpWindowMenu not working
  • leanflutter/window_manager#532: right-clicking the DragToMove area should show the window context menu
  • leanflutter/window_manager#151: menu item states shown incorrectly on Windows
Vorherrschende Sprache
C++
Sterne
34
Forks
7
Ø Merge
3 T. 1 Std.
Gemergte PRs (30 T.)
1

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus libnativeapi/nativeapi

Alle Issues in libnativeapi/nativeapi

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.