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

The map on desktop is always on top of Compose UI #184

Open
sargunv opened this issue Dec 25, 2024 · 0 comments
Open

The map on desktop is always on top of Compose UI #184

sargunv opened this issue Dec 25, 2024 · 0 comments
Labels
bug Something isn't working desktop Affects Desktop in particular, or relates to Desktop specific code upstream This issue can't be resolved until an upstream issue is resolved

Comments

@sargunv
Copy link
Owner

sargunv commented Dec 25, 2024

This means that dialogs, sheets, material3 controls, composable annotations, etc can't be rendered over the map.

There's an upstream issue to support SwingPanel interop blending by default: https://youtrack.jetbrains.com/issue/CMP-4941/Make-SwingPanel-interop-blending-by-default

I tried enabling it manually with:

System.setProperty("compose.interop.blending", "true")

but the app crashes on launch with that enabled. Unsure if it's an issue with the property in general or specific to the webview implementation we're using. But even with that resolved, there's caveats described in the upstream issue.

@sargunv sargunv added bug Something isn't working upstream This issue can't be resolved until an upstream issue is resolved desktop Affects Desktop in particular, or relates to Desktop specific code labels Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working desktop Affects Desktop in particular, or relates to Desktop specific code upstream This issue can't be resolved until an upstream issue is resolved
Projects
None yet
Development

No branches or pull requests

1 participant