Skip to content

[Menubar] Hovering cursor from one menu Item to another Menu item is not opening it #13826

Description

@sakshi173

Current behavior

Uno.Gallery.-.Google.Chrome.2023-09-24.22-09-30.mp4

Expected behavior

WinUI.Desktop.2023-09-24.22-07-16.mp4

How to reproduce it (as minimally and precisely as possible)

  1. Open Uno Gallery APP .
  2. Click/tap Burger Menu on the left top right.
  3. Click/tap "Menubar" from the "Component" list.
  4. Go to any MenuBar option.
  5. Click on 'File' Menu option.
  6. Now hover cursor on 'Edit' or 'Help' option in MenuBar.
  7. Notice that the flyout are not opening without once clicking for 'Edit' or 'Help' Menu option.

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

WebAssembly, Android, iOS, Skia (GTK on Linux/macOS/Windows)

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    kind/bug
    triage/untriaged
    platform/all
    area/canary 🐤
    difficulty/tbd
    on Sep 26, 2023
  2. added
    kind/enhancement
    and removed
    kind/bug
    area/canary 🐤
    on Sep 26, 2023
  3. changed the title [-][Gallery][All platforms]Menubar- when hover cursor from one menu Item to another Menu item in 'menubar', Menu flyout is not opening. [/-] [+][Menubar] Hovering cursor from one menu Item to another Menu item is not opening it[/+] on Sep 26, 2023
  4. added
    project/input ⌨️
    and removed
    triage/untriaged
    on Sep 26, 2023
  5. self-assigned this
    on Oct 6, 2023
  6. added
    project/pointers 🖱️
    difficulty/medium 🤔
    area/porting 🖨️
    and removed
    difficulty/tbd
    on Oct 25, 2023
  7. MartinZikmund commented on Apr 13, 2026

    @MartinZikmund
    Member

    Repro generator

    Runtime test added in branch dev/mazi/repro/13826:

    • src/Uno.UI.RuntimeTests/Tests/Microsoft_UI_Xaml_Controls/Given_MenuBar_HoverSwitch_13826.cs → Given_MenuBar_HoverSwitch_13826.When_Hover_Switches_MenuBarItem_Flyout_13826

    Wires up a two-item MenuBar ("File", "Edit"), clicks File to open its flyout, then moves the pointer over the Edit item via InputInjector. After waiting for idle, asserts the Edit menu's MenuFlyoutPresenter (containing the "Cut" item) is among the open popups for the XamlRoot.

    Fails on Skia Desktop:

    Assert.IsNotNull failed. 'value' expression: 'presenter'.
    Hovering over the second MenuBarItem after opening the first should switch the open flyout to it.
    

    Confirms hover-switch is not wired up on Skia (and per the report on WASM/Android/iOS as well).

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

Metadata

Metadata

Assignees

Labels

area/porting 🖨️difficulty/medium 🤔has-repro-branchkind/enhancementplatform/allproject/input ⌨️project/pointers 🖱️

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions