Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Show the system window menu (Window::ShowSystemMenu)

Open
#66 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
api, desktop

Research direction

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.

Written by the indexing model from the issue text.

Description

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
Dominant language
C++
Stars
34
Forks
7
Avg merge
3d 1h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libnativeapi/nativeapi

All issues in libnativeapi/nativeapi

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.