Zoff
04/07/2024, 9:31 AMSean Proctor
04/09/2024, 5:35 PMComponent
to pass to JFileChooser
?Sean Proctor
04/10/2024, 3:04 AMelect
04/10/2024, 8:05 AMload = { loadImageBitmap(File("sample.png")) },
fails because it cant find the image although I placed it under "commonMain/composeResources/drawable", and build.gradle.kts
does have implementation(compose.components.resources)
where am I wrong?Zoff
04/10/2024, 10:59 AMDefaultFont = FontFamily(
Font(resource = "fonts/Noto-COLRv1-COLRv1_normal_chars_removed.ttf", FontWeight.Normal, FontStyle.Normal),
Font(resource = "fonts/Noto-COLRv1-COLRv1_normal_chars_removed.ttf", FontWeight.SemiBold, FontStyle.Normal),
Font(resource = "fonts/Noto-COLRv1-COLRv1_normal_chars_removed.ttf", FontWeight.Bold, FontStyle.Normal),
Font(resource = "fonts/NotoSans-Regular.ttf", FontWeight.Normal, FontStyle.Normal),
Font(resource = "fonts/NotoSans-SemiBold.ttf", FontWeight.SemiBold, FontStyle.Normal),
Font(resource = "fonts/NotoSans-SemiBold.ttf", FontWeight.Bold, FontStyle.Normal),
)
but it seems only the first font gets used. i would want emojis be taken from the emoji font and when the emoji font does not have the normal characters it should get the from the next one in the list "fonts/NotoSans-Regular.ttf"
but instead it shows emoji correct but uses some other default font for normal text
what can i do? can i change the global default font used in compose desktop app?
PS: just in case you are now asking, why don't you put those 2 in 1 font file. i did not manage to make that work and it seems nobobdy has :-(Kirill Grouchnikov
04/10/2024, 5:51 PMGarret Yoder
04/10/2024, 7:22 PMResource with ID='string:app_name' has more than one file: values/strings.commonMain.cvr, values/strings.cvr
Or this may just be a dir change that isn't documented yet in the dev build.Alex Styl
04/11/2024, 4:02 AMelect
04/11/2024, 8:04 AMTray(icon = androidx.compose.ui.res.painterResource("vpn.svg"),
elect
04/12/2024, 8:45 AMMarcin Wisniowski
04/12/2024, 4:05 PMonPointerEvent
gets triggered even when its Composable is covered by another one. I have a dialog displaying on top of an element, but clicking on the dialog also interacts with the element behind the dialog. What would be the proper way to handle this? I expected events to not get delivered if it's covered by something.Swapnil Musale
04/12/2024, 5:09 PM> Task :sampleApp:composeApp:run
2024-04-12 22:31:59.468 java[24932:1652058] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Anyone have idea how to fix this ?Gary Tierney
04/12/2024, 11:55 PMSlackbot
04/17/2024, 7:50 AMYevhenii Nadtochii
04/17/2024, 10:05 AMsingleWindowApplication(title = "Spell Check Events") {
TextField("value", onValueChange = { })
}
Swing focuses the first element in the hierarchy automatically as the shown window gets focused. Here, I can make it with a focusRequester
.kgs50ies
04/17/2024, 11:56 AMZoff
04/17/2024, 12:14 PMKirill Grouchnikov
04/17/2024, 2:02 PMeygraber
04/17/2024, 2:44 PMCarter
04/17/2024, 6:21 PMandroidx.lifecycle:lifecycle-lifecycle-viewmodel-compose:2.8.0-alpha01
or org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose:2.8.0-alpha01
? The release notes say the former, but latter is what seems to actually work.Kirill Grouchnikov
04/17/2024, 6:28 PM1.6.10-beta01
Exception in thread "main" java.lang.UnsupportedClassVersionError: androidx/lifecycle/LifecycleRegistry has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
mohamed rejeb
04/18/2024, 3:34 PMrnett
04/19/2024, 11:46 PMVideoPlayer
component here published anywhere? I can't seem to find it in the plugin's dependency references or on maven centralShabinder Singh
04/21/2024, 6:04 AMSean Proctor
04/22/2024, 12:06 AMwindowGainedFocus
should trigger ON_RESUME
, not ON_PAUSE
.Brian Estrada
04/22/2024, 9:13 AMMitchell Syer
04/23/2024, 6:46 PMSean Proctor
04/24/2024, 4:12 AMrob42
04/24/2024, 4:56 PMKrystian Kaniowski
04/25/2024, 10:09 AM1.6.10-Beta01
with kotlin 2.0.0-RC1
in my multiplatform app. Desktop and web works fine, however android complaing about not compatible compose compiler version. Is it possible to (and how to) achieve compilation for android in such configuration?
This version (1.5.12) of the Compose Compiler requires Kotlin version 1.9.23 but you appear to be using Kotlin version 2.0.0-RC1 which is not known to be compatible.