Lucas
09/24/2022, 5:44 PMPlugin [id: 'org.jetbrains.compose', version: 'v1.2.0-beta01', apply: false] was not found in any of the following sources:
Google
Gradle Central Plugin Repository
MavenRepo
maven(<https://maven.pkg.jetbrains.space/public/p/compose/dev>)
maven2(<https://plugins.gradle.org/m2/>)
What am i doing wrong?Michael Paus
09/25/2022, 7:30 PMMitchell Syer
09/26/2022, 6:35 PMenighma
09/27/2022, 7:02 PMjava.awt.IllegalComponentStateException: The window is showing on screen
I'm guessing that compose tries to create a new window and AWT says it's already there, but all I want is the data to be passed.Francesco Pedron
09/28/2022, 10:12 AMmikehearn
09/28/2022, 4:48 PMLandry Norris
09/28/2022, 8:33 PMmikehearn
09/29/2022, 8:15 AMCasey Brooks
09/29/2022, 3:53 PMenighma
09/29/2022, 8:00 PMsudo java -jar <jar>
The weird issue now is that it opens the window but does not render anything into it. Again, if I start it from IJ it works fine.
Old
If compile/run the project from IJ it works fine, but if I packageUberJarForCurrentOs
and run it with java -jar <jar>
I get the following error:
libskiko-linux-x64.so: libGL.so.1: cannot open shared object file: No such file or directory
What I don't understand is why running it from IJ would yield a different result.
Anyone have had this issue?corneil
09/29/2022, 9:37 PMczuckie
09/29/2022, 10:03 PMzt
09/30/2022, 1:18 AMError: Invalid or unsupported type: [deb]
. Same with rpm. I'm developing on linux so shouldn't it be working?Michael Paus
09/30/2022, 9:57 AMcommonMain/resources/drawable/icon.png
.zt
09/30/2022, 1:06 PMJavier
09/30/2022, 3:17 PMorangy
09/30/2022, 3:49 PMBasicTextField
and focus. As if there are two nested components, but I don’t create any, it’s just BasicTextField
with some styling and interaction tracking. When I hit tab (or request focus) the interactionSource
receives FocusInteraction.Focus
, but the caret is not visible. When I hit tab second time, the caret appears. Any ideas?eygraber
09/30/2022, 6:28 PMzt
10/01/2022, 1:34 AMzt
10/01/2022, 2:51 AMcompose.desktop.currentOs
implementation pulls in a material 2 dependency. This can get kind of annoying when using the material 3 dependency as well, with two different variants of the same component. I tried excluding the dependency which does make development easier but trying to build then fails. I think that it would probably be a lot better if the desktop dependency didn't depend on material 2, so problems like this wouldn't occurPHondogo
10/02/2022, 6:57 PMadte
10/03/2022, 9:27 PMMichael Paus
10/04/2022, 9:23 AM.pointerInput(Unit) {
detectTransformGestures { centroid, pan, zoom, rotation ->
...
}
}
instead of fiddling directly with the AWT events?
And in addition to that
.pointerInput(Unit) {
awaitPointerEventScope {
while (true) {
val event = awaitPointerEvent()
...
}
}
}
Arjan van Wieringen
10/04/2022, 4:34 PMfun main() = singleWindowApplication(
title = "Foo",
state = WindowState(size = DpSize(1280.dp, 800.dp))
) {
Button(onClick = {}) {
Text("Foo")
}
}
I get a top margin. When I bottom align I get a bottom margin. It doesn't matter if I change contentPadding
or padding on any modifier.
When I use a Card I don't get a padding.hfhbd
10/05/2022, 6:31 AMhfhbd
10/05/2022, 6:50 AMe: androidx.compose.compiler.plugins.kotlin.IncompatibleComposeRuntimeVersionException: The Compose Compiler requires the Compose Runtime to be on the class path, but none could be found. The compose compiler plugin you are using (version 1.3.2) expects a minimum runtime version of 1.0.0.
But I have it on the classpath:
dependencies {
implementation(compose.runtime)
Guilherme Delgado
10/05/2022, 11:50 AM> Task :desktopApp:run
Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Module with the Main dispatcher is missing. Add dependency providing the Main dispatcher, e.g. 'kotlinx-coroutines-android' and ensure it has the same version as 'kotlinx-coroutines-core'
...
Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@71435f82, Dispatchers.Main[missing]]
Exception in thread "main" org.koin.core.error.InstanceCreationException: Could not create instance for [Factory:'com.expressus.domain.viewModels.ExpressusViewModel']
at org.koin.core.instance.InstanceFactory.create(InstanceFactory.kt:61)
at org.koin.core.instance.FactoryInstanceFactory.get(FactoryInstanceFactory.kt:38)
at org.koin.core.registry.InstanceRegistry.resolveInstance$koin_core(InstanceRegistry.kt:111)
at org.koin.core.scope.Scope.resolveValue(Scope.kt:237)
at org.koin.core.scope.Scope.resolveInstance(Scope.kt:224)
at org.koin.core.scope.Scope.get(Scope.kt:205)
But it only throws in desktop. More in 🧵Kirill Grouchnikov
10/05/2022, 2:57 PMJakob K
10/05/2022, 3:47 PMjava.lang.UnsatisfiedLinkError: /.skiko/somelonghash/libskiko-linux-x64.so: libGL.so.1: cannot open shared object file: No such file or directory
Also why does it search at some path on the system itself now instead of first looking if this library exists on the Java classpath?
What could be causing this issue, what has changed here and how can I fix it?czuckie
10/05/2022, 3:52 PMczuckie
10/05/2022, 3:52 PMenighma
10/06/2022, 1:13 AMText
supports multilineTextField
if you want to be able to edit the text.czuckie
10/06/2022, 7:56 AM