files-community / Files

Building the best file manager for Windows
https://files.community
MIT License
33.15k stars 2.12k forks source link

Feature: Apply compact styles to the context menu #9506

Open ELowry opened 2 years ago

ELowry commented 2 years ago

What's the Problem?

The current context menu often makes use of a scrollable overflow, especially with items near the bottom of the screen. This works, but is not optimal use of space for mouse users.

Solution/Idea

Similar to the Use compact styles in the details layout option, a Use compact styles in the context menu option could be included.

Specifically, at the moment, the "smallest" context menu size includes approximately 6 entries; a more compact view could reach 8 entries or more.

Alternatives

Similar to how the "old layout" for the default Windows Explorer context menu is denser than the "new" one with an overflow sub-menu, disabling the Move overflow items into a sub menu could automatically make the display denser.

With Overflow Without Overflow
image image

Priorities

Capability Priority
Include a system for a more dense context menu layout. Must
Include some setting to toggle between the two layouts. Should
Tie the compact layout to the Move overflow items into a sub menu being disabled (like Windows Explorer) Could

Files Version

2.3.0.0

Windows Version

Windows 11 Pro 22H2 22621.169

Comments

This is mostly important for people with many 3rd party programs that add context menu entries, as visible in the above screenshots.

gave92 commented 2 years ago

Is this supposed to be handled by WinUI? They should be using a denser spacing if the menu is invoked my mouse automatically?

yaira2 commented 2 years ago

@yaichenbaum is this supposed to be handled by WinUI? They should be using a denser spacing if the menu is invoked my mouse automatically?

The denser spacing from WinUI isn't enough when compact mode is turned on in Files.