View Issue Details

IDProjectCategoryView StatusLast Update
0022619MMW 5Main Panel: Toolbars & Menuspublic2026-11-20 16:29
Reporterzvezdan Assigned To 
PrioritynoneSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0022619: Menu item highlights on mouse hovering & keyboard focus are weird
DescriptionIt seems there is no standard behavior with the menu highlights, since even File Explorer has two different behaviors in two its menus. But MM has a strange issue with it.

1. MM
- move mouse over a menu item -> it is highlighted;
- press on keyboard up/down buttons several times -> the item under mouse isn't highlighted anymore, the highlighted item is changing on key presses, no visual difference between hovered and keyboard focused items;
- move mouse again -> the hovered item is highlighted as well, i.e. you get two highlighted items with the same look; it could be repeated as many times as you want and you will get several highlighted items.

2. File Explorer - Organize menu (old design)
- move mouse over a menu item -> it is highlighted;
- press on keyboard up/down buttons several times -> the item under mouse isn't highlighted anymore, the focused item is changing on key presses and it is visually different from the hovered item;
- move mouse again -> the hovered item is now displayed as keyboard focused, moving the mouse changes the focused item.

3. File Explorer - View menu, Notepad (new design)
- move mouse over a menu item -> it is highlighted;
- press on keyboard up/down buttons several times -> the item under mouse is still highlighted, the focused item is changing on key presses and it is visually different from the hovered item;
- move mouse again -> the hovered item is changing, the keyboard focused item is still visible, they are highlighted independently.

4. MS Edge
- move mouse over a menu item -> it is highlighted;
- press on keyboard up/down buttons several times -> the item under mouse isn't highlighted anymore, the focused item is changing on key presses, starting from the hovered item, and they are visually different;
- move mouse again -> the item under mouse is displayed as hovered, the keyboard focused item is not displayed.

5. VS Code, Total Commander, LibreOffice, Winamp, PotPlayer, VLC and many others
- move mouse over a menu item -> it is highlighted;
- press on keyboard up/down buttons several times -> the item under mouse isn't highlighted anymore, the highlighted item is changing on key presses, no visual difference between hovered and keyboard focused items;
- move mouse again -> the item under mouse is displayed as hovered, the keyboard focused item is not displayed.

That is 5 different ways for the same thing! The current MM behavior is definitely wrong since: 1) it allows several highlighted items, 2) it doesn't allow different display of hovered and keyboard focused items (which the skinners should be able to set in a skin, but they aren't).

The problem for skinners is that MM doesn't set [data-keyfocused] to the menu items on the keyboard actions at all. This doesn't work:
.menuitem {
    &[data-keyfocused] {
        outline: 1px solid @disabledColor;
        outline-offset: -1px;
    }
}

By the way, I think MS Edge has the best implementation, but 5. is fine as well.
TagsNo tags attached.
Attached Files
Fixed in build

Activities