Show the system window menu (Window::ShowSystemMenu)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 58/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- C++
- Étoiles
- 34
- Forks
- 7
- Merge moyen
- 3 j 1 h
- PR mergées (30 j)
- 1
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de libnativeapi/nativeapi
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
libnativeapi/nativeapi#81 ·
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
libnativeapi/nativeapi#80 ·
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
libnativeapi/nativeapi#79 ·
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
libnativeapi/nativeapi#78 ·
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
libnativeapi/nativeapi#77 ·
Toutes les issues de libnativeapi/nativeapi
Issues similaires
-
ai_reviewed
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
ydb-platform/ydb#53869 · 3 commentaires ·
-
bug cert blocker needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
project-chip/connectedhomeip#74373 ·
-
[request] tracy/0.14.1 Ouverteupstream update
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
vllm-project/vllm-ascend#17329 ·