JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.95k stars 1.16k forks source link

Make default menu bar items (file, edit, and so on) #172

Open voltangle opened 3 years ago

voltangle commented 3 years ago

Something like this:

image

So you don't need to make every menu item from scratch by yourself.

olonho commented 3 years ago

Not sure if this is a feature request for Compose itself, guess creating library on top of Compose with such functionality is fully possible.

voltangle commented 3 years ago

I think it can be a built-in feature of Compose for Desktop. It will be pretty useful, so you - again - don't need to write that functionality by yourself

olonho commented 3 years ago

We support building ecosystem around Compose, and feature like that seems good candidate for an extension library.

voltangle commented 3 years ago

Well, without this feature I lose functionality to copy and paste text, minimise windows, go to fullscreen(on a Mac btw), and many more, without explicitly declaring the default menu items by myself. I need to manually create every menu item to make those basic functions work. I think that those "basic" menu items need to be right in the Compose, so we don't need to use an external library. That basic functionality needs to be in the core, by my opinion.

okushnikov commented 3 weeks ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.