Greg Steckman
08/01/2022, 3:22 AMLucas
08/02/2022, 1:25 PMJavier
08/03/2022, 12:32 PMJerry Yion
08/03/2022, 12:52 PMid("org.jetbrains.kotlin.jvm") version "1.6.10"
id("org.jetbrains.compose") version "1.0.0"
Above is one part of my build.gradle content. It say
This version (1.1.0-beta01) of the Compose Compiler requires Kotlin version 1.5.31 but you appear to be using Kotlin version 1.6.10 which is not known to be compatible
when I ran build. The strange thing is I didn’t specify Compose 1.1.0-beta01 ( as you see, it’s 1.0.0smallshen
08/03/2022, 2:17 PMxxfast
08/04/2022, 12:57 AMCaused by: org.jetbrains.skiko.LibraryLoadException: Cannot find libskiko-macos-arm64.dylib.sha256, proper native dependency missing.
this can be fixed by changing build script to
implementation(compose.desktop.macos_arm64)
but that kinda defeats the multiplatform approach
I'm using compose-jb version 1.2.0-alpha01-dev753spierce7
08/04/2022, 4:13 AMSean Proctor
08/04/2022, 4:23 PMeygraber
08/04/2022, 11:58 PMkotlinCompilerExtensionVersion
for CfD? Meaning not for Android, but for other targets.Jerry Yion
08/05/2022, 9:34 AMjava.lang.ClassCastException: androidx.compose.runtime.internal.ComposableLambdaImpl cannot be cast to kotlin.jvm.functions.Function2
at androidx.compose.runtime.ActualJvm_jvmKt.invokeComposable(ActualJvm.jvm.kt:71)
Jerry Yion
08/08/2022, 7:56 AMLong Tran
08/08/2022, 8:11 AMLazyListState.isScrollInProgress
, it always returns false even if the list is clearly scrolling. I saw this ticket on GitHub but it seems no hope. (https://github.com/JetBrains/compose-jb/issues/1423)
Is there any workaround to fix this? please give me help. Thank you!!orangy
08/08/2022, 11:39 AMAnnotatedString
with some url annotations, and I’m struggling to make it working properly with hover interactions. I want (like in a browser) to highlight links when they are hovered, and change pointer icon to hand. It causes infinite recomposition because when I handle enter/move pointer event, the AnnotatedString
is changed (to highlight hovered part of the text with url), which causes recomposition of BasicText
, and then onTextLayout
yields different TextLayoutResult
(because input changed, particularly span styles), which causes remembered mutable state to be modified, which triggers more changes and causes recomposition again, ad infinum. Also, it seems recomposition causes synthentic PointerEventType.Exit
to be sent, which causes un-hover path to be triggered. I just can’t find how to get it all together. Any ideas, maybe?Big Chungus
08/09/2022, 9:34 AMjava.lang.NoClassDefFoundError: Could not initialize class androidx.test.espresso.Espresso
when trying to run androidTest
tests.Lucas
08/09/2022, 3:45 PMspierce7
08/09/2022, 7:43 PMrequestedExecutionLevel
1. Is it possible to modify / set the executable’s manifest through an option? (I don’t think it is)
2. Is it possible to modify the contents before it’s packaged into an MSI?Kirill Grouchnikov
08/09/2022, 10:01 PMComposePanel
is used.Bino
08/10/2022, 7:43 AMval resources = File(System.getProperty("compose.application.resources.dir")).parent
System.load(File(resources, "libutil.dylib").absolutePath)
But I don’t know how I can access it.orangy
08/10/2022, 10:23 AMClickableText
doesn’t work inside SelectionContainer
. Is there something I’m missing, or is it a bug? Any workaround?Oleksandr Karpovich [JB]
08/12/2022, 11:10 AMLucas
08/12/2022, 3:32 PMjava.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Could not initialize class androidx.compose.ui.awt.ComposeLayer$ComponentImpl
enighma
08/12/2022, 7:23 PMimplementation(compose.desktop.currentOs)
to
implementation(compose.desktop.macos_x64)
and run the gradle task: packageDmg
?
Because when I had someone try the dmg file, the app had a cross over it.CLOVIS
08/13/2022, 3:33 PMException in thread "main" java.lang.ClassCastException: class androidx.compose.runtime.internal.ComposableLambdaImpl cannot be cast to class kotlin.jvm.functions.Function0 (androidx.compose.runtime.internal.ComposableLambdaImpl and kotlin.jvm.functions.Function0 are in unnamed module of loader 'app')
before?spierce7
08/13/2022, 11:25 PMJerry Yion
08/15/2022, 7:48 AMTask :desktop:compileKotlinJvm FAILED
e: org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).
redenergy
08/19/2022, 9:25 PMorangy
08/20/2022, 10:07 AMandylamax
08/21/2022, 5:59 AMAn exception occurred applying plugin request [id: 'org.jetbrains.compose']
> Failed to apply plugin 'org.jetbrains.compose'.
> Cannot add extension with name 'compose', as there is an extension already registered with that name.
I have a project level build.gradle.kts file with just
plugins {
id("org.jetbrains.compose") version "1.2.0-alpha01-dev755" apply false
// other plugins here
}
and, I have a sub project gradle plugin
plugins {
id("org.jetbrains.compose")
// other plugins here
}
I can't seem to find any other plugin that defines the "compose" extension. What am I doing wrong?xxfast
08/22/2022, 7:22 AMredenergy
08/22/2022, 9:57 PMredenergy
08/22/2022, 9:57 PMenighma
08/22/2022, 10:10 PMredenergy
08/22/2022, 10:31 PMromainguy
08/22/2022, 11:58 PMenighma
08/23/2022, 12:02 AMromainguy
08/23/2022, 12:02 AMredenergy
08/23/2022, 12:18 AMromainguy
08/23/2022, 12:42 AMredenergy
08/23/2022, 11:53 PM