-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ComposePanel visibility isn't taken into account #2656
Comments
Compose 1.2.2 Reproducible on macOS, on Windows it behaves correctly |
Do you know what is the root cause? |
No, unfortunately. It need to be investigated. Under suspicion - we wrongly dispose graphic resources in Skiko for macOS, so we see a ghost of the Compose application. |
Same issue, reproducible in 1.3.0 in macOS Monterrey 12.16.1 with M1 Pro. In this specific case, using Compose to build the UI I did a quick check on Windows and it's working as expected as @igordmn mentioned above |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
When hiding a
ComposePanel
or one of its parents, the last frame of the contained Compose UI remains visible.Here's a simple reproducer showing the issue:
Here we have a JFrame containing a JPanel containing a ComposePanel containing a compose Button. Clicking the Button hides the JPanel - but the Button's UI remains visible.
The text was updated successfully, but these errors were encountered: