You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
funmain() =SwingUtilities.invokeLater {
val parentJPanel =JPanel(BorderLayout())
parentJPanel.add(
BorderLayout.CENTER,
ComposePanel().apply {
setContent {
Button(
onClick = {
parentJPanel.isVisible =false// <- this hides this JPanel, but the button stays visible on screen
}
) {
Text("Hello World")
}
}
}
)
JFrame().apply {
setSize(800, 600)
contentPane.add(parentJPanel)
isVisible =true
}
}
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:
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.
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: