It’s happening…
k
It’s happening…
😛 2
🦜 1
K 16
s
is 1.5 a big deal?
k
Every core Compose drop comes with quite a few good chunks of new functionality
🙌 4
🙌🏾 1
1
And specifically for desktop, i’m quite interested to see what https://github.com/JetBrains/compose-multiplatform-core/pull/601 can enable
i
i’m quite interested to see what https://github.com/JetBrains/compose-multiplatform-core/pull/601 can enable
Note, that this feature is under development. Hardware acceleration works only on macOs at the moment. Windows/Linux hardware acceleration is planned.
a
fixing the resizing behavior is fantastic, will make apps feel much more native
a
Desktop unit testing framework will be in this release 😄
🎉 2
a
does anyone know if
ExposedDropdownMenuBox
made it in?
that and the search bar are two i've been waiting on
my crude versions don't look very nice...
a
I think that’s still waiting on popup/dialog commonization, which is in progress.
a
ah darn
ya that'll be very nice
my multiplatform dialog solution also sux 😂
a
What is also important, there are various fixes for
movableContentOf
.
s
j
trying out
1.5.0-beta01
...just to confirm....looks like you need to set
compose.swing.render.on.graphics
explicitly to enable that change?
a
Indeed
j
also, should it be sufficient to just to likes of following or do I need to set in gradle like the PR
Copy code
fun main() = singleWindowApplication(
    title = "BikeShare",
    state = WindowState(size = DpSize(1000.dp, 600.dp))
) {
    LaunchedEffect(Unit) {
        System.setProperty("compose.swing.render.on.graphics", "true")
    }
just hacked that there but not sure if correct....project uses Swing component and not sure if I'm seeing it taking effect or not (perhaps issue wasn't applying here.....)
a
Better set it at the start of main, or as a JVM property with -Dkey=value
j
I tried following in
build.gradle.kts
but doesn't seem to take effect for some reason
Copy code
application {
    applicationDefaultJvmArgs = listOf("-Dcompose.swing.render.on.graphics=true")
    mainClass.set("MainKt")
}
System.getProperty("compose.swing.render.on.graphics")
is null when I check in start of
main
if I explicitly call
setProperty
and then check it then it's returning
true
so can just use that I guess