Microsoft today explained the context menu and share menu improvements coming in Windows 11. The context menu is one of the most popular features on Windows, but it had its flaws. Microsoft is fixing them in Windows 11 with following changes and improvements:
- 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.
Along with the context menu, Microsoft is also improving the Share menu which was introduced in Windows 10. The following share menu improvements are coming in Windows 11.
- Nearby sharing is now much easier to use, with easy control over your discoverability setting up top and a link to more settings in the footer of the dialog.
- If you use the Mail app, the first entry in the contacts list helps you easily send an email to yourself.
- All apps can now participate in the Share dialog as targets. For unpackaged Win32 apps, this is covered in the same sample as the context menu. PWAs installed through Microsoft Edge are also supported if they implement the Web Share Target API.
Developers can read the source link below to know about context menu best practices.