Skip to content

Flick gestures: release the hotkey to trigger the hovered slice - #69

Merged
danielchalmers merged 1 commit into
mainfrom
claude/radialactions-issue-55-e103ab
Jul 20, 2026
Merged

Flick gestures: release the hotkey to trigger the hovered slice#69
danielchalmers merged 1 commit into
mainfrom
claude/radialactions-issue-55-e103ab

Conversation

@danielchalmers

@danielchalmers danielchalmers commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Closes #55

Hold the activation hotkey, glide over a slice, and release to run it in one motion — like Blender-style pie menu flicks. A quick tap naturally falls back to the existing click mode:

  • The hotkey is now registered with MOD_NOREPEAT, so holding the keys no longer fires repeat WM_HOTKEY messages that would toggle the menu closed.
  • When the menu opens via the hotkey, the window arms a release-pending flag. Since the menu window takes keyboard focus, the key release arrives as a normal PreviewKeyUp — no polling or low-level hook needed.
  • Releasing any component of the chord (main key or a modifier, left/right variants included) triggers the hovered slice through the existing SliceClicked pipeline, so error notifications and "keep menu open" behave identically to a click.
  • Releasing with no slice hovered (e.g. over the center hub after a quick tap) leaves the menu open in click mode.
  • Any other show/hide path (tray, Escape, click, focus loss) disarms the flag so a stale release can never fire an action later.

Hold the activation hotkey, glide over a slice, and release to run it
in one motion. Registration now uses MOD_NOREPEAT so holding the keys
no longer re-toggles the menu closed, and the menu window watches for
the key-up of any hotkey component to fire the hovered slice through
the existing SliceClicked pipeline. A quick tap falls back to click
mode since the cursor starts over the center hub. Controlled by a new
"Release hotkey to trigger" setting, on by default.

Closes #55
@danielchalmers
danielchalmers merged commit d2f22fd into main Jul 20, 2026
1 check passed
@danielchalmers
danielchalmers deleted the claude/radialactions-issue-55-e103ab branch July 20, 2026 16:23
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.

Flick gestures: release the hotkey to trigger the hovered slice

1 participant