How Microsoft is fixing the right-click context menu with Windows 11

Windows 11 brings a refreshed look to many parts of the operating system, but changes to core elements aren’t merely cosmetic. A developer blog post from Microsoft breaks down how the right-click context menu within Windows 11 has been improved.

Microsoft explains that the context menu has “grown in an unregulated environment for 20 years, since Windows XP, when IContextMenu was introduced.” As a result, it has many issues, including related commands being far apart, showing commands that almost no one uses, and the most common commands being far away from where the menu opens. Microsoft worked to address these issues in Windows 11.

VPN Deals: Lifetime license for $16, monthly plans at $1 & more

The blog highlights ways that Windows 11 fixes the ongoing context menu problems:

  • Common commands are placed right next to where the menu is invoked.
  • “Open” and “Open with” are grouped together.
  • Apps extend the menu with IExplorerCommand + app identity. Unpackaged Win32 apps can use Sparse Manifests. IExplorerCommand support extends back to Windows 7.
  • App extensions are grouped together below Shell verbs.
  • Cloud Files provider apps are placed next to the Shell commands to hydrate or dehydrate the file.
  • Apps with more than 1 verb are grouped into a flyout with app attribution.
  • “Show more options” loads the Windows 10 context menu as-is for access to low-use Shell verbs and apps still working on porting over. No commands have been removed entirely.
  • Shift-F10 or the keyboard menu key will also load the Windows 10 context menu.
The context menu above on the left is from Windows 11, while the older design from Windows 10 is shown on the right.

Microsoft also guides developers on the best practices to make apps work well with the right-click context menu.

Microsoft is still working on the context menus in Windows 11. For example, the latest Windows 11 Insider preview build brings acrylic material to context menus and right-click menus.

Leave a Reply

Discover more from Ultimatepocket

Subscribe now to keep reading and get access to the full archive.

Continue reading