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

Canonical-bar and Ubuntu-bar menus can be open simultaneously #4436

Closed
matthewpaulthomas opened this issue Nov 27, 2018 · 2 comments
Closed

Comments

@matthewpaulthomas
Copy link
Contributor

1. Go to ubuntu.com.
2. In the “Ubuntu” bar, click “Enterprise”, “Developer”, “Community”, or “Download”.
3. In the “Canonical” bar, click “Products” or “Login” [sic].

What happens: The two mega-menus remain open simultaneously.

ubuntu com-multiple-menus

(With some combinations, the bottom menu is obscured by the top one, but it is still open.)

What should happen: either

  • the “Canonical” bar doesn’t contain any menus, or
  • the “Ubuntu” bar doesn’t contain any menus, or
  • (most likely) opening a menu always closes any non-ancestor menus.

This is the sequel to #3192.

@anthonydillon
Copy link
Contributor

The global nav is a completely different project/code base. We can not functionally close a menu that is outside of the scope of the global nav. Personally I think it's clear what is going on and that clicking the darkened area will close the to menu.

I will need to close this one for now as I can't see a solution and believe it is not terrible.

@matthewpaulthomas
Copy link
Contributor Author

Ah, sorry, I guess my use of “closes” could have been misinterpreted. I didn’t mean that each project should close the other’s menus! For example, launch VLC and Firefox, right-click inside one, then right-click inside the other. Each app’s context menu closes as the other one opens, despite the fact that they’re completely different projects and codebases and even use different toolkits.

This works because a toolkit closes its own menu, not specifically because another menu is opening elsewhere, but generally because you’ve clicked anywhere outside the menu. For both the ubuntu.com-specific menus and the global nav menus, this works if you click below them. Weirdly, it does not work if you click above them. If that was fixed, this bug would be too.

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

2 participants