-
Notifications
You must be signed in to change notification settings - Fork 26
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
Popups should use native windows #97
Comments
This depends on JetBrains/compose-multiplatform#2924 being done |
@Walingar we have internal users who are strongly requesting this. Can we have a commitment on a delivery date ASAP? |
As I know 1.6.0 Compose Multiplatform will provide some ways to show popup outside of the window. Also there is a way to use JBPopup (that I will recommend), see this code as an example: https://github.com/JetBrains/intellij-community/blob/241.9959/platform/compose/src/com/intellij/platform/compose/ActionGroupPopup.kt |
But we can use JBPopup only in bridge, standalone should support it too |
Given we're on Compose 1.6 already, I reckon there should be an API to use for that in standalone apps? The way I see it, the API should be common between bridge and standalone, but the actual implementation should use the best available API. |
JetBrains/compose-multiplatform-core#992 contains a new API for popups in 1.6.0 that we can use. We need to turn on a flag to enable the new behaviour on tooltips and popup APIs. Thanks @MatkovIvan for letting me know! |
This bug is causing an issue with compose tooltips at the border of compose and swing components getting cut off so I tried adding the following line as indicated in JetBrains/compose-multiplatform-core#992: I then tested an IconButton wrapped in a tooltip, where the tooltip content was a simple
However, after adding With that said, it would be amazing if we could prioritize this change's integration into Jewel to unblock the usage of popup elements. |
I went ahead and sent in my own custom |
CC @obask if you end up picking this up after you're done with the current markdown stuff... |
Our popup windows (e.g., menus, dropdowns, tooltips, etc) don't use native Swing popup windows. This causes a number of issues, such as:
The text was updated successfully, but these errors were encountered: