Skip to content

MenuFlyout update, Flyout support for accelerators, SplitMenuFlyoutItem#17292

Merged
MartinZikmund merged 98 commits intomasterfrom
dev/mazi/keyboard-accelerator-flyout
Apr 14, 2026
Merged

MenuFlyout update, Flyout support for accelerators, SplitMenuFlyoutItem#17292
MartinZikmund merged 98 commits intomasterfrom
dev/mazi/keyboard-accelerator-flyout

Conversation

@MartinZikmund
Copy link
Copy Markdown
Member

@MartinZikmund MartinZikmund commented Jun 25, 2024

GitHub Issue (If applicable): closes #19407, closes #22094, closes #22956

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature

What is the current behavior?

  • MenuFlyout code is not up to date with WinUI
  • Keyboard accelerators don't work properly with MenuFlyout and nested menus

What is the new behavior?

  • Both supported

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@github-actions github-actions Bot added platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform labels Jun 25, 2024
@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-17292/index.html

@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-17292/index.html

@MartinZikmund MartinZikmund force-pushed the dev/mazi/keyboard-accelerator-flyout branch from 10bac4e to bf692ed Compare August 5, 2024 15:52
@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-17292/index.html

@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-17292/index.html

@MartinZikmund MartinZikmund force-pushed the dev/mazi/keyboard-accelerator-flyout branch from bf692ed to c66bc5e Compare October 17, 2024 12:38
@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-17292/index.html

@jeromelaban
Copy link
Copy Markdown
Member

/azp run

@jeromelaban jeromelaban marked this pull request as draft November 27, 2024 14:58
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-17292/index.html

@MartinZikmund MartinZikmund force-pushed the dev/mazi/keyboard-accelerator-flyout branch from c66bc5e to 0e572dd Compare December 26, 2024 17:32
@MartinZikmund MartinZikmund self-assigned this Dec 26, 2024
@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-17292/index.html

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 5, 2025

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days.

@github-actions github-actions Bot added the stale This item has been marked as stale and will be closed if there is no activity. label Apr 5, 2025
@MartinZikmund MartinZikmund removed the stale This item has been marked as stale and will be closed if there is no activity. label Apr 6, 2025
@MartinZikmund MartinZikmund force-pushed the dev/mazi/keyboard-accelerator-flyout branch from 87a0390 to c22f6b7 Compare May 1, 2025 07:18
@github-actions github-actions Bot removed the platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform label May 1, 2025
@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-17292/index.html

1 similar comment
@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-17292/index.html

@MartinZikmund MartinZikmund force-pushed the dev/mazi/keyboard-accelerator-flyout branch from 4cf14cc to 4947939 Compare May 6, 2025 13:32
@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-17292/docs/index.html

1 similar comment
@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-17292/docs/index.html

@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-17292/wasm-native-net9/index.html

@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-17292/docs/index.html

Replace fixed Task.Delay(100) with condition-based WaitFor in both
EnsureFocusAsync overloads. The 100 ms per-attempt window was too
tight on cold WASM runtimes, causing KeyboardAcceleratorTests to
fail on first try but pass on retry.
…ithLongItems

The test asserted ScrollableHeight > 0 on the MenuFlyoutPresenterScrollViewer,
but on SkiaWasm and SkiaIOS the XamlRoot visible bounds are unconstrained, so
all 30 items fit and no scrollbar is produced. Apply an explicit MaxHeight via
MenuFlyoutPresenterStyle to make the assertion deterministic across platforms
until #23018 adds real window size override support to the test harness.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 121 out of 126 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Uno.UI/UI/Xaml/EnterParams.cs
@unodevops
Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-17292/wasm-skia-net9/index.html

@unodevops
Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 207126 has failed on Uno.UI - CI.

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

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure area/skia ✏️ Categorizes an issue or PR as relevant to Skia platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform

Projects

None yet

7 participants