emilk / emilk/egui

Menus in `MenuBar` don't open anymore without a click

Open
#7,346 4 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug egui
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

Hello! I just updated to 0.32 and refactored various things as needed, but I have a new issue that I can't find a fix for.

In the past, the currently open menu followed hovering over the menubar (the usual behavior on must GUIs), now I need to click another menu button for it to be revealed.

Please see the following video:

https://github.com/user-attachments/assets/3632a581-39ff-4d2e-b553-d4759b32a1dc

I don't think this is by design, but if it is, is there an API to revert to the previous behavior? Thanks...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the MenuBar entry point in egui and reproduce the behavior shown in the attached video on version 0.32. Trace how hovering and clicking select the currently open menu, then verify that moving over another menu reveals it without a click while preserving normal click behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.