Arjan van Wieringen
09/10/2022, 7:00 AMJunaid
09/11/2022, 9:04 PMAmresh Kumar
09/12/2022, 7:20 AMAmresh Kumar
09/12/2022, 7:40 AMFrancesco Pedron
09/12/2022, 10:56 AMpainterResource
, but instead to get a class with all the resources paths generated at build time and get a build error if some resource is missing.Krystian Kaniowski
09/13/2022, 8:51 AMaltavir
09/13/2022, 3:15 PMAli Albaali
09/13/2022, 10:52 PMimplementation("io.github.luca992.com.alialbaali.kamel:kamel-image:0.5-darwinandjs0")
Long Tran
09/14/2022, 7:18 AMDidier Villevalois
09/14/2022, 10:02 AM<installationPath>/lib/<packageName>/<packageName>-<packageName>.desktop
. I would like it to be contributed instead to <installationPath>/share/applications
as per the XDG specification. How can I do that?
2. Also is it possible to have another name for the executable file than the packageName
?spierce7
09/14/2022, 5:03 PM.so
files aren’t being signed.
• opencv-4.5.5-1.5.7-macosx-x86_64-a0d7ee8b1156d370a1c4e8b92fc4f799.jar/org/bytedeco/opencv/macosx-x86_64/opencv_interactive-calibration
• opencv-4.5.5-1.5.7-macosx-x86_64-a0d7ee8b1156d370a1c4e8b92fc4f799.jar/org/bytedeco/opencv/macosx-x86_64/python/cv2.cpython-310-darwin.so
On a side note, if anyone knows of a better way to access the camera of a laptop in java than opencv, let me know 😄
What can I do to get these files signed, ideally by compose, the same way my other files are signed?Ananiya
09/14/2022, 8:31 PMmutableState
containing List<List<Any>>
before passing it LazyColumn
items()
but every time I tried so am introduced with Compose Disposed, the List is empty
which normally isn't empty if you passed the whole list of list through LazyColumn
items()
PHondogo
09/15/2022, 6:16 AMStefan Oltmann
09/15/2022, 7:07 AMPHondogo
09/15/2022, 7:37 AMChristian Lutnik
09/15/2022, 2:47 PMjvm
Compose Project, I immediately get an exception
'void org.jetbrains.skia.paragraph.ParagraphStyleKt._nSetTextIndent(long, float, float)'
java.lang.UnsatisfiedLinkError: 'void org.jetbrains.skia.paragraph.ParagraphStyleKt._nSetTextIndent(long, float, float)'
at org.jetbrains.skia.paragraph.ParagraphStyleKt._nSetTextIndent(Native Method)
at org.jetbrains.skia.paragraph.ParagraphStyleKt.access$_nSetTextIndent(ParagraphStyle.kt:1)
at org.jetbrains.skia.paragraph.ParagraphStyle.setTextIndent(ParagraphStyle.kt:182)
at androidx.compose.ui.text.platform.ParagraphBuilder.textStyleToParagraphStyle(SkiaParagraph.skiko.kt:776)
at androidx.compose.ui.text.platform.ParagraphBuilder.build(SkiaParagraph.skiko.kt:566)
at androidx.compose.ui.text.platform.ParagraphLayouter.<init>(ParagraphLayouter.skiko.kt:71)
as soon as the Composable under test contains a Text(String)
, so this fails:
class ComposeTest {
@get:Rule
val composeTestRule = createComposeRule()
@Test
fun firstTest() {
composeTestRule.setContent {
Text("Hello")
}
}
}
whereas this does not:
class ComposeTest {
@get:Rule
val composeTestRule = createComposeRule()
@Test
fun firstTest() {
composeTestRule.setContent {
Button({}){}
}
}
}
Does anyone have an idea what the problem could be?毛小川
09/16/2022, 8:04 AMTabRow
but vertical arrangementAlex Styl
09/17/2022, 9:51 AMAnaniya
09/17/2022, 2:54 PMJavaFXPanel
composable [https://github.com/JetBrains/compose-jb/issues/519#issuecomment-804030550] and was trying to display a stream of data from Channels
inside it however when Recomposing JavaFXPanel it suddenly stop to listen for the channel and clears the view so to figure out what's going on created a simple composable containing either of those
// v1
JavaFXPanel(jfxpanel: JFXPanel, container: Container){
Platform.runLater {
print("hello")
}
}
// v2
JavaFXPanel(jfxpanel: JFXPanel, container: Container){
CoroutineScope(JavaFx).launch {
print("hello")
}
}
overall started with v1 prints hello and never made it when it recompose, v2 was identical too
also tried to create custom panel by adding SideEffect
which barely do to a thing
fun JavaFXPanel(
root: Container,
panel: JFXPanel,
onCreate: () -> Unit
) {
val container = remember { JPanel() }
val density = LocalDensity.current.density
Layout(
content =
{}
,
modifier = Modifier.onGloballyPositioned { childCoordinates ->
val coordinates = childCoordinates.parentCoordinates!!
val location = coordinates.localToWindow(Offset.Zero).round()
val size = coordinates.size
container.setBounds(
(location.x / density).toInt(),
(location.y / density).toInt(),
(size.width / density).toInt(),
(size.height / density).toInt()
)
container.validate()
container.repaint()
},
measurePolicy = { _, _ ->
layout(0, 0) {}
}
)
DisposableEffect(Unit) {
onCreate()
container.layout = BorderLayout(0, 0)
container.add(panel)
root.add(container)
onDispose {
root.remove(container)
}
}
SideEffect {
onCreate()
}
}
Ali Albaali
09/17/2022, 5:51 PMGuilherme Delgado
09/17/2022, 6:44 PMException in thread "main" java.lang.NoClassDefFoundError: java/net/http/HttpClient$Version
?
More here https://kotlinlang.slack.com/archives/C3PQML5NU/p1663372636232599Aleksey Chugaev
09/17/2022, 10:39 PMDaniyar Mukhanov
09/19/2022, 5:01 AMmikehearn
09/19/2022, 3:13 PMColton Idle
09/20/2022, 7:39 PMXad Kile
09/21/2022, 3:16 PMjava.lang.IllegalStateException: Method should be called from AWT event dispatch thread
at org.jetbrains.skiko.SkiaLayer.needRedraw(SkiaLayer.awt.kt:427)
E Fefer
09/23/2022, 9:53 AMMichael Paus
09/23/2022, 5:15 PMCannot add task 'packageRelease' as a task with that name already exists.
Full stacktrace in thread ->czuckie
09/23/2022, 5:34 PMczuckie
09/23/2022, 11:47 PM