Skip to content

Menu created by mod_menu.menu() does not highlight/select entry when moused over #386

@mbenkmann

Description

@mbenkmann

Normal behavior in all other applications I know is that regardless whether a menu has been opened by mouse or by keyboard (e.g. Alt-F to open the File menu in a typical application), when you mouse over one of the menu entries (without any button pressed), that entry gets selected/highlighted and you can then activate that entry either by keyboard or by mouse click.

The mod_menu.menu() created menus do not behave like this at all. It's weird. E.g. open the main menu with F12 and mouse over the entries.

Image

See how despite the cursor being over Lock screen the selected entry is still Run... and pressing ENTER will activate Run.... However clicking does activate the proper entry. Or rather, releasing any mouse button will activate the entry on which it has been released. Basically, when you press a button on the menu and hold it, the menu temporarily turns into a mod_menu.pmenu(). The selected entry tracks the mouse and releasing the button activates the entry under the mouse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions