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

Blinking when showing dialog with LayerType.OnWindow #4475

Open
igordmn opened this issue Mar 12, 2024 · 2 comments
Open

Blinking when showing dialog with LayerType.OnWindow #4475

igordmn opened this issue Mar 12, 2024 · 2 comments
Assignees
Labels
bug Something isn't working layers: popup/dialog ui glitch Visual glitch in UI, usually not blocking normal usage window management

Comments

@igordmn
Copy link
Collaborator

igordmn commented Mar 12, 2024

Compose 1.6.10-dev1509, Windows

Run MPP demo in core repo with layerType = LayerType.OnWindow.

Components - Material3 - AlertDialog3 (Short). See that the first frames aren't clipped by rounded corners:
image
image
image

@igordmn igordmn added bug Something isn't working ui glitch Visual glitch in UI, usually not blocking normal usage window management labels Mar 12, 2024
@igordmn igordmn changed the title Blinking when showing dialog with LayerType.OnWindow Blinking when showing dialog with LayerType.OnWindow Mar 12, 2024
@igordmn
Copy link
Collaborator Author

igordmn commented Mar 14, 2024

@igordmn
Copy link
Collaborator Author

igordmn commented Mar 19, 2024

If we switch to OpenGL, the issue seems isn't reproducible:

System.setProperty("skiko.renderApi", "OPENGL")

At least the issue described in JetBrains/compose-multiplatform-core#1190 (comment)

But we still have white edges in the first frames:

chrome_FlhHLfXOPm.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working layers: popup/dialog ui glitch Visual glitch in UI, usually not blocking normal usage window management
Projects
None yet
Development

No branches or pull requests

2 participants