Zoff
07/09/2025, 4:30 PMאליהו הדס
07/10/2025, 2:27 PMJacob Ras
07/11/2025, 11:38 AMVlad Vamos
07/11/2025, 4:34 PMS.
07/15/2025, 9:49 AMFile(System.getProperty("compose.application.resources.dir"))
supposed to work in non packaged applications, i.e. running a main function like in the example? because getProperty throws an NPE when I try that
https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-native-distribution.html#adding-files-to-packaged-applicationdarkmoon_uk
07/16/2025, 10:31 PMcommonMain
Preview working? I cannot, for the life of me, make this work in IntelliJ IDEA 2025.1.3. I'm using Compose 1.9.0-beta3
, tried with & without Android Multiplatform plugin installed, of course including in `commonMain`:
implementation(compose.components.uiToolingPreview)
...the gutter or preview options never light up on my @Preview
's. What's the trick!? I hope 1.9.0
comes with some instructions because whatever it is, it must be a very fickle set of configurations and sure as hell is not obvious! kodee grumpy The years of my life wasted trying to get common previews (since CfD released) are going to stop being measured in fractions soon.Marc Reichelt
07/17/2025, 9:55 AM./gradlew packageDistributionForCurrentOS
on my Mac, of course the JAR will be having the mac native packages, so running the JAR on Linux will throw an exception (see screenshot).
Or at least: how can I build a Linux-ARM64 uber JAR on my Mac? That would help me already!appmattus
07/18/2025, 7:53 PMאליהו הדס
07/20/2025, 12:27 PMlibappindicator
, which doesn’t allow capturing primary clicks – and personally, that really bothers me.
I’d like to implement a "legacy" alternative using DBus. I’ve got a prototype: I can display the icon and successfully capture primary clicks. However, I can’t seem to get the context menu to show up, and I can’t figure out why.
Does anyone have any idea or could give me a hand?
Thanks a lot!mohamed rejeb
07/23/2025, 11:35 AMdarkmoon_uk
07/28/2025, 3:40 AMcommonMain
`@Preview`s WORK in IntelliJ ✨K K kodee happy
I can't believe it, I feel high... drunk... elated... all at the same time, it's too much.
Whoever made this happen, you are champions of the universe, you are our messiahs.
Here; here is the forbidden knowledge that must now be committed in stone, so that future tech-archaeologists can piece-together what this moment meant, for those blessed enough to live it:
kotlin = "2.1.21"
compose = "1.9.0-beta01"
viewmodel-compose = "2.9.1" (must be latest to compile vs Compose)
Android, Desktop targets (and an iOS in my case)
compose.dependencies.uiToolingPreview in commonMain
compose.dependencies.uiTooling in both androidMain and jvmMain
IntelliJ IDEA 2025.1.4.1 (Ultimate Edition)
tylerwilson
07/28/2025, 3:24 PMAnton Popov
07/31/2025, 4:27 PMSystem.getenv()
are much smaller when running a packaged Compose for Desktop app on macOS.
However, when running the same app from the IDE using various Gradle tasks, PATH env var has full content.
I've filed a bug on YouTrack, but also wanted to ask here — has anyone encountered this?David Breneisen
08/01/2025, 1:44 AMאליהו הדס
08/04/2025, 12:52 PMSelectionContainer
? I need to customize the context menuDidier Villevalois
08/05/2025, 5:53 PMYassine Abou
08/06/2025, 1:16 AM./gradlew packageReleaseDistributionForCurrentOS
, I encountered this issue: Unexpected error.
java.io.IOException: Please correct the above warnings first.
What went wrong:
Execution failed for task :composeApp:proguardReleaseJars
. Even after adding these below rules to ProGuard:
See the image for the full error message and the ProGuard file in the description:
Copy
# --- Ignore all missing-dependency warnings that come from Ktor/Netty ---
-dontwarn io.ktor.**
-dontwarn io.netty.**
-dontwarn org.slf4j.**
-dontwarn kotlinx.io.**
-dontwarn kotlinx.datetime.**
-dontwarn org.bouncycastle.**
-dontwarn org.conscrypt.**
-dontwarn org.openjsse.**
# (optional) Make ProGuard continue even when new warnings appear
-ignorewarnings
my Compose plugin version is 1.9.0-beta01
. To see the whole ProGuard rules, check out this link: https://github.com/yassineAbou/LLMS/blob/master/composeApp/compose-desktop.proMichael Job
08/11/2025, 11:15 AMimplementation("org.bytedeco:javacv-platform:1.5.12")
implementation("org.bytedeco:opencv:4.9.0-1.5.10:macosx-arm64")
but it crashes with Error "long org.opencv.videoio.VideoCapture.VideoCapture_5(int)" - I tried several things... now I'm stuck.mikehearn
08/12/2025, 12:48 PMdesktopMain
to jvmMain
as a source set. It feels like this has switched back and forth over time and I don't quite understand why.Tepes Lucian Victor
08/18/2025, 3:58 PMאליהו הדס
08/18/2025, 4:41 PMאליהו הדס
08/20/2025, 10:38 AMS.
08/20/2025, 3:10 PMNicolas Patin
08/21/2025, 2:09 PMFocusInteraction.Unfocus
is never called.
I found this old issue that seems close to mine, but I'm not sure.
Any idea if it's a bug or an accessibility feature ? Works fine on Android & iOS (no HoverInteraction
/ FocusInteraction
calls, which seems logic)
(code & video in 🧵)
Thanks 🙂tylerwilson
08/21/2025, 4:56 PMphteven
08/22/2025, 1:03 AMrnett
08/23/2025, 1:38 AM1.9.0-beta3
release there's something odd with the material3 version. To quote the release notes:
Gradle Plugin, versionorg.jetbrains.compose
. Based on Jetpack Compose libraries:1.9.0-beta03
• Runtime 1.9.0-rc01
• UI 1.9.0-rc01
• Foundation 1.9.0-rc01
• Material 1.9.0-rc01
• Material3 1.3.2
Compose Material3 librariesThe version mentioned for the Gradle plugin conflicts with the version mentioned for the material3 library. And indeed, the. Based on Jetpack Compose Material3 1.4.0-beta01org.jetbrains.compose.material3:material3*:1.9.0-beta03
1.9.0-beta3
Gradle plugin dependency helper adds version org.jetbrains.compose.material3:material3-adaptive-navigation-suite:1.8.2
of material3. Why is it adding a 1,8 version instead of say 1.9.0-beta03
? This is very counterintuitiveDidier Villevalois
08/26/2025, 11:23 AMLocalWindowInfo.current.containerSize
is initially (0, 0). So I am forced to do
Window(...) { if (LocalWindowInfo.current.containerSize != IntSize(0, 0)) { App() } }
so that currentWindowAdaptiveInfo()
doesn't return a COMPACT
window class at first composition. Am I doing something wrong or is this expected?bj0
08/27/2025, 6:30 PM@Preview
@Composable
private fun Preview() {
styled {
Surface(
modifier = Modifier.fillMaxSize(),
color = MaterialTheme.colorScheme.surfaceContainerHigh
) {
Text("Weird Background Swap")
}
}
}
@Preview
@Composable
private fun Preview1() {
surface {
Text("Weird Background Swap")
}
}
@Composable
fun surface(color: Color = MaterialTheme.colorScheme.surfaceContainerHigh, content: @Composable () -> Unit) {
styled {
Surface(
color = color,
modifier = Modifier.fillMaxSize()
) {
content()
}
}
}
@Composable
fun styled(content: @Composable () -> Unit) {
MaterialTheme(
colorScheme = darkScheme
) {
content()
}
}
Tlaster
08/28/2025, 4:57 PM