Pablichjenkov
12/30/2022, 4:51 AM::class.simpleName
By the way, I am impressed, after just moving some Android code to the kmp project and making minor arrangements. Now the same App runs on Android, iOS, JVM, MacOS and the Browser. 🎉
Great job!!!
and have a good end of the year, be safeShubhasai Mohapatra
12/30/2022, 5:23 AMval file = File("resources/dogImage.jpg")
val imageBitmap: ImageBitmap = remember(file) {
loadImageBitmap(file.inputStream())
}
Image(
painter = BitmapPainter(image = imageBitmap),
contentDescription = null)
It is showing error that file not found is there any way for itShubhasai Mohapatra
12/30/2022, 11:34 AMArkadii Ivanov
12/30/2022, 9:52 PMRadoslaw Juszczyk
12/31/2022, 11:05 AMlibskiko-macos-/libskiko-macos-x64.dylib: replacing existing signature
Warning: unable to build chain to self-signed root for signer "3rd Party Mac Developer Application: ****
libskiko-macos-x64.dylib: errSecInternalComponent
Dragos Rachieru
01/01/2023, 12:29 PMmaterial.DropDownView
is available on desktop, but material3.DropDownView
is not, is there a plan to support it in the near future?Shubhasai Mohapatra
01/02/2023, 10:31 AMdarkmoon_uk
01/03/2023, 1:12 AMEric
01/03/2023, 4:41 AMlibjvm.so
generated for other projects, it seems like there should be some version that’s <50Mb, but my Google-fu has failed in determining how to dissect just the runtime parts from the JDKs.
2. Include the JVM with the Compose Desktop application using libjvm.so. Is this an option somehow?
3. Compile the Compose Desktop application as fully-native. This seems ideal, but also appears to be a ways off.
Any thoughts? TIAShafayat Bin Mamun
01/04/2023, 9:58 AMjw
01/05/2023, 1:50 AMSean Proctor
01/05/2023, 1:33 PMorangy
Pablichjenkov
01/05/2023, 10:01 PMPablichjenkov
01/05/2023, 10:02 PMPablichjenkov
01/05/2023, 10:04 PMKirill Grouchnikov
01/07/2023, 8:07 PMJColorChooser
and process the selected AWT color on the Compose sidePatuljak
01/08/2023, 2:03 PMSebastian Kürten
01/09/2023, 3:04 PMdpkg-deb
but commons-compress instead)
• Windows executables get rebranded with icon and text metadata
• the Windows AUMID is now configurable
• It's now supported to package tar.gz
packages for Linux and zip
packages for WindowsShubhasai Mohapatra
01/10/2023, 1:12 AMLuc Girardin
01/10/2023, 7:04 AM// <https://androidx.dev/storage/compose-compiler/repository>
// <https://github.com/JetBrains/compose-jb/issues/2108>
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute(module("org.jetbrains.compose.compiler:compiler")).apply {
using(module("androidx.compose.compiler:compiler:1.4.0-dev-k1.8.0-33c0ad36f83"))
}
}
}
but it fails with:
e: java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.cli.common.messages.MessageCollector.report$default(org.jetbrains.kotlin.cli.common.messages.MessageCollector, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity, java.lang.String, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocation, int, java.lang.Object)'
姜尚
01/11/2023, 4:16 AMAdam Brown
01/11/2023, 5:20 AMStefan Oltmann
01/11/2023, 9:33 AMSystem.setProperty("sun.java2d.uiScale.enabled", "true")
System.setProperty("sun.java2d.uiScale", "2.0")
But this does not change anything.
Especially text is not that sharp.
What can I try to improve this?Stefan Oltmann
01/11/2023, 10:04 AMtiago.casemiro
01/11/2023, 12:03 PMDidier Villevalois
01/11/2023, 3:15 PMStefan Oltmann
01/11/2023, 3:12 PMsun.java2d.uiScale
property.
On Windows uiScale
of 2
makes the whole app double the size.
On macOS setting it does not change the size of the controls, but makes the graphics and texts more sharp or blurry.
Setting uiScale
to 1
on a MacBook M1 (Retina Screen) results in a blurry window that still maintains the same size.
Can someone explain this difference to me?
I want the controls on Windows to stay the same size, but have double DPI.Kirill Grouchnikov
01/12/2023, 1:29 PM姜尚
01/12/2023, 4:16 PMimplementation("org.xerial:sqlite-jdbc:3.40.0.0")
implementation("org.jetbrains.exposed:exposed-core:0.40.1")
implementation("org.jetbrains.exposed:exposed-dao:0.40.1")
implementation("org.jetbrains.exposed:exposed-jdbc:0.40.1")
implementation("org.jetbrains.exposed:exposed-java-time:0.40.1")
Critical code 👈
in lib exposed
// when [exposed] connect db, driver = "org.sqlite.JDBC"
Class.forName(driver).getDeclaredConstructor().newInstance()
Error:
java.lang.NoClassDefFoundError: java/sql/Driver
....
Caused by: java.lang.ClassNotFoundException: java.sql.Driver