Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu root remains displayed when action from sub-menu is selected #312

Open
andrewdavidmackenzie opened this issue Dec 6, 2024 · 4 comments

Comments

@andrewdavidmackenzie
Copy link
Contributor

I have a menu bar, with a number of menu roots on it ("hardware:...." in the image below)

One (the mentioned "hardware:..." menu) has sub menus (one for each device discovered, such as "Fake RPi (...)")

That sub-menu has menu items that are actions on the device (such as "Connect to Device" and "Display Device details..." shown in the image below).

image

When I select the menu item (e.g. "Connect to Device" in the image), the sub-sub-menu closes, the sub-menu closes but the root menu remains displayed, obscuring part of the UI that is changing due to the action (the mouse pointer is no longer over any part of the menu that remains displayed).

image

Is this the intended behaviour?
Is there a way I can get the menu to close when an action is selected?

@genusistimelord
Copy link
Collaborator

hmm no that is not intended behavior they should all be closing.

@Ultraxime
Copy link
Contributor

Hi
Can you give a minimalist example of the bug ?

@andrewdavidmackenzie
Copy link
Contributor Author

I'd have to create an app that has only that....

@genusistimelord
Copy link
Collaborator

basically we would like you to try and recreate it in the most minimal possible way So we can find the issues causing it. This also ensures the issue is only the menu widget and does not have to do with some other control etc etc..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants