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

Anyway to play nice with menubar plugin? #8

Closed
esDotDev opened this issue Dec 10, 2020 · 2 comments
Closed

Anyway to play nice with menubar plugin? #8

esDotDev opened this issue Dec 10, 2020 · 2 comments

Comments

@esDotDev
Copy link
Contributor

When disabling the native chrome, we also lose this menu, which is unfortunate.
https://github.com/google/flutter-desktop-embedding/tree/master/plugins/menubar

I'm guessing the answer is no, but is there any way to position the widget bar above the file menu, while still hiding the top-chrome?
image

@bitsdojo
Copy link
Owner

Hi Shawn,

As you guessed, unfortunately the answer is no.

I am curious: is there any reason why you would not implement the menu using Flutter widgets?

@esDotDev
Copy link
Contributor Author

esDotDev commented Dec 10, 2020

Just a matter of flexibility, like it would be nice if using Custom chrome did not necessitate custom menus. That devs could choose either option.

I don't think it would be a ton of work to create our own, but there is quite a bit of functionality baked in with expanding/collasping sub menus, keyboard controls, and shortcuts. So it's not a trivial amt of work for each developer to do.

We're currently making an app that shows off all the 'easy wins' on desktop, so we were hoping to combine some custom chrome, with native menus. I guess not, sad, but totally makes sense :'(

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