Skip to content

Toggle combined details with Option key - #3229

Open
IonBazan wants to merge 1 commit into
exelban:masterfrom
IonBazan:combined-details-option
Open

Toggle combined details with Option key#3229
IonBazan wants to merge 1 commit into
exelban:masterfrom
IonBazan:combined-details-option

Conversation

@IonBazan

@IonBazan IonBazan commented May 21, 2026

Copy link
Copy Markdown
Contributor

Allows toggling between "combined details" view using Option (⌥) key as proposed in #3223.
I decided to use Option key instead of Shift/Right click as it keeps it consistent with other native Mac OS widgets (Wi-Fi).

Note that this feature works by inverting the behaviour selected in "combined details" depending on key combination.

Fixes #3223

@exelban

exelban commented May 24, 2026

Copy link
Copy Markdown
Owner

about this one, the realization maybe ok but, I'm not sure this feature will be added to the Stats.
Will take a look at free time, but for sure not in the nearest feature

@kk1987

kk1987 commented Aug 9, 2026

Copy link
Copy Markdown

A macOS 27 note for whenever this gets rebased: inside the status-item button action, the event from NSApp.currentEvent arrives with modifierFlags stripped (type is still leftMouseDown, flags 0x0 while Option is held), so the Option check never fires. Reading the live keyboard state via the static NSEvent.modifierFlags property works on both 26 and 27 — same idea as the cursor-position module resolution master uses since aff3175.

I'm carrying this PR (authorship kept) with that adaptation in my fork, verified on 26.5 and 27.0: kk1987@764b087c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Right-click or hold Shift to show combined details in the Combine Modules feature

3 participants