Fergus Hewson
04/14/2025, 9:24 PMLazyIonEs
04/15/2025, 11:55 AMfun main() = application {
Window(
onCloseRequest = ::exitApplication, title = "Test", icon = painterResource(Res.drawable.icon)
) {
App()
}
}
Slackbot
04/18/2025, 9:03 AMDmitriy Tarasevich
04/18/2025, 6:26 PMsyncdesktopMainApplicationClasses
which takes roughly 1 minute to compile and spits out logs like the following
file '/Users/dmitriytarasevich/.gradle/caches/8.11/transforms/798854b096b6a05b98708be9554307cf/transformed/feature-streaming-pip-jvm-0.7.0/META-INF/MANIFEST.MF' will be copied to '/Users/dmitriytarasevich/dev/fbg-kmp-sdk-alternate/desktop/app/build/run/desktopMain/classes/META-INF/MANIFEST.MF', overwriting file '/Users/dmitriytarasevich/.gradle/caches/8.11/transforms/6431cd6a7bfda5fd687ab9108f3850f8/transformed/foobar-sdk-jvm-0.7.0/META-INF/MANIFEST.MF', which has already been copied there.
for each module we have in the project, seeing as we have around 100 modules this steps takes quite a bit of time.
Due to this issue, the inclusion of compose hot reload actually makes incremental builds substantially slower.
Please let me know if there is any additional information you need.Michael Paus
04/20/2025, 7:58 AMWilliam
04/21/2025, 5:58 PMcompose-web
locally..
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
martmists
04/21/2025, 10:58 PMSudarshan
04/24/2025, 6:20 PMgbaldeck
04/25/2025, 5:01 AMBookListScreenRootTest[desktop] > bookListScreenRoot_displaysSearchBar[desktop] FAILED
java.lang.NoSuchMethodError at ComposeUiTest.skikoMain.kt:221
gbaldeck
04/25/2025, 5:02 AMChethan N
04/28/2025, 12:19 PMYassine Abou
04/28/2025, 11:42 PMā ļø
Serializer for class 'ChatCompletionRequest' is not found. Please
ensure the class is marked as '@Serializable' and the serialization
compiler plugin is applied.
Iāve already marked the ChatCompletionRequest
class as @Serializable
. I also followed advice from two StackOverflow links about similar issues (linked below), including updating Proguard rules to keep serializers. Unfortunately, nothing has fixed the problem so far.
Here are the StackOverflow threads I referenced:
1. Serializer for class not found
2. Proguard/R8 serialization issue
The full code is in my GitHub repository: https://github.com/yassineAbou/LLMSAlex Styl
04/29/2025, 12:43 PMpackageName
and it does change the dmg file, but it also changes the app name inside of the dmgJacob Ras
04/29/2025, 1:19 PMdockName
that can be set, but what about Windows and Linux?Stefan Oltmann
04/29/2025, 2:21 PMAlex Styl
04/29/2025, 7:49 PMJosh Brown
05/01/2025, 12:09 PMProcessBuilder
to start them. When I use :run
this works fine, but if I use :runDistributable
the java.home
directory doesn't have a /bin/java
to execute. Based on https://stackoverflow.com/questions/71924648/jpackage-for-only-one-application, it seems like I need to tweak how jpackage
is configuring jlink
, but I'm not sure where to do that in the build.gradle.kts
.Alex Styl
05/01/2025, 5:48 PMmartmists
05/02/2025, 7:59 AMSystem.setProperty("compose.swing.render.on.graphics", "true")
System.setProperty("compose.interop.blending", "true")
but for some reason I still can't draw over top of a SwingPanel, am I missing something?
For context, I'm using cameraK which displays as SwingPanel+ImagePanel (https://github.com/Kashif-E/CameraK/blob/main/cameraK/src/desktopMain/kotlin/com/kashif/cameraK/ui/CameraPreview.desktop.kt#L62) and I have my code more or less like this:
Box {
CameraPreview(...)
Text("Test")
Canvas { /* Draw overlays here, also tried Modifier.drawWithContent already */ }
}
××××× ×××”
05/05/2025, 1:43 PMgradlew run
) or via packaged JAR (gradlew runDistributable
).
Does the Compose plugin expose any flag or API that I can check from within the library?
Thanks!louiscad
05/05/2025, 9:55 PMImageComposeScene
renders one frame late, or just renders wrong?
I am using this composable where I call render
repeatedly on the same ImageComposeScene
, but with ever increasing nanoTime
values, and I only get the correct render if I call render
a second time, which is quite of a dirty workaround.
@Composable
fun JustFrameNumberComposable() {
val frameNumber by produceState(0L) {
while (true) withFrameMillis { frameTimeMillis ->
value = frameTimeMillis * 60L / 1000L
}
}
Text("Frame number: $frameNumber")
}
Niklas WintrƩn
05/06/2025, 12:37 PMJeff Lockhart
05/08/2025, 3:37 AMLD_LIBRARY_PATH
environment variable on Linux.ferdialif02
05/08/2025, 4:44 AMdleuck
05/08/2025, 12:11 PMSean Proctor
05/08/2025, 12:21 PMAnnotatedString
? When a link is clicked, I want to open the associated context menu. Currently, I'm using a DropdownMenu
that opens in an arbitrary location, which isn't great.martmists
05/08/2025, 3:32 PMsaba
05/08/2025, 11:13 PMBrush.verticalGradient
and driving myself crazy trying to figure this out. Anyone have any ideas?louiscad
05/10/2025, 12:34 AMArrayIndexOutOfBoundsException
when ImageComposeScene.use { ⦠}
exits.
Could it be caused by Compose Hot Reload, or is it something different?
This is with Compose Hot Reload 1.0.0-alpha09 and Compose 1.8.0-rc01 on macOS.
Index -331 out of bounds for length 640
java.lang.ArrayIndexOutOfBoundsException: Index -331 out of bounds for length 640
at androidx.compose.runtime.SlotWriter.moveSlotGapTo(SlotTable.kt:4174)
at androidx.compose.runtime.SlotWriter.removeSlots(SlotTable.kt:2904)
at androidx.compose.runtime.SlotWriter.removeGroup(SlotTable.kt:2021)
at androidx.compose.runtime.ComposerKt.removeCurrentGroup(Composer.kt:4337)
at androidx.compose.runtime.CompositionImpl.dispose(Composition.kt:840)
at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.disposeCurrentNodes(SubcomposeLayout.kt:638)
at androidx.compose.ui.layout.LayoutNodeSubcompositionsState.onRelease(SubcomposeLayout.kt:450)
at androidx.compose.ui.node.LayoutNode.onRelease(LayoutNode.kt:1428)
at androidx.compose.runtime.internal.RememberEventDispatcher.dispatchRememberObservers(RememberEventDispatcher.kt:163)
at androidx.compose.runtime.CompositionImpl.dispose(Composition.kt:843)
at androidx.compose.ui.scene.BaseComposeScene.close(BaseComposeScene.skiko.kt:128)
at androidx.compose.ui.scene.CanvasLayersComposeSceneImpl.close(CanvasLayersComposeScene.skiko.kt:194)
at androidx.compose.ui.ImageComposeScene.close(ImageComposeScene.skiko.kt:178)
Ruckus
05/12/2025, 5:02 PM