Skip to content

perf(ui): accelerate menubar dropdown open and transition speed - #673

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/672-fast-menubar-dropdowns
Aug 30, 2026
Merged

perf(ui): accelerate menubar dropdown open and transition speed#673
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/672-fast-menubar-dropdowns

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Resolves #672

Summary of Changes

  • Instantaneous Menubar Dropdown Speed: Configured menuHandler in QueryaApp with defaultShowDuration: 60ms, defaultDismissDuration: 50ms, and Curves.easeOutCubic. Menu dropdowns now open within 2-3 frames (~60ms) instead of the previous 150ms linear lag.
  • Refined Micro-Scale Transition: Adjusted entry scale from 0.90 -> 1.0 to a crisp 0.96 -> 1.0 desktop-native subtle reveal.
  • Fixed TapRegion Grouping & Toggle Closing:
    • Unified TapRegion groupId across MenuButton and openSubMenu.
    • Configured submenus to use non-modal overlays with native tap region bounds.
    • Repeated clicks on an open menubar button now cleanly toggle the dropdown closed rather than re-opening it.
    • Sibling menu switches now dismiss the previous popup immediately with closeOthers(true).
  • Testing:
    • Added widget test test/features/main_screen/menubar_dropdown_speed_test.dart verifying rapid 60ms open, toggle close, sibling switch, and tap-outside dismissal.
    • 0 analyzer warnings (flutter analyze).
    • Full non-golden test suite passes (1252 passed).

- Add customizable show/dismiss duration and animation curves to PopoverOverlayHandler
- Configure high-performance menuHandler with 60ms open and 50ms dismiss duration using Curves.easeOutCubic
- Update scale animation from 0.9->1.0 to 0.96->1.0 for subtle, desktop-native reveal
- Unify TapRegion group IDs and allow immediate closure when switching sibling menus
- Toggle close open dropdowns upon clicking menu button again
- Add widget test verifying rapid open timing, toggle close, and sibling switch
)

- Unwrap Menubar from MoveWindow in QueryaWindowTitleBar to prevent window drag gesture arena interception from delaying menu clicks
- Trigger top-level Menubar opening on onTapDown (pointer down) rather than waiting for mouse release
- Adjust entry scale to 0.98 for instantaneous perceived start of dropdown appearance
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 2177735 into dev Aug 30, 2026
4 checks passed
This was referenced Aug 30, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/672-fast-menubar-dropdowns branch August 30, 2026 19:01
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.

1 participant