files-community / files-community/Files

Feature: Apply compact styles to the context menu

Open
#9,506 6 comments 11 reactions 1 assignee Claimed by @yair100 View on GitHub
area - context menu
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 1m
Merged PRs (30d)
60

Description

### 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](https://user-images.githubusercontent.com/7792033/177560017-881ae294-fb44-4421-a948-2d90b6be3990.png) | ![image](https://user-images.githubusercontent.com/7792033/177560102-ebcf0206-cdca-44fe-b052-a27af5bed397.png) |

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.