Michael Paus
01/13/2023, 1:31 PM姜尚
01/13/2023, 2:04 PMval positionScheduled by remember { mutableStateOf(WindowPosition(Alignment.BottomStart)) }
val memoryWindowStatus = rememberWindowState(position = positionScheduled, width = Dp.Unspecified, height = Dp.Unspecified)
if (list.size > index) {
Window(
{ memoryWindowIsShow = false },
memoryWindowStatus,
memoryWindowIsShow,
Config.appName,
icon,
undecorated = true,
transparent = false,
resizable = true,
focusable = false,
alwaysOnTop = true
) {
WindowDraggableArea(Modifier.background(Color.Red)) {
Text(
list[index].content,
fontSize = 32.sp,
color = Color.White,
modifier = Modifier.defaultMinSize(minWidth = 200.dp)
.background(Color.Gray)
.padding(8.dp),
overflow = TextOverflow.Visible
)
}
}
}
dimsuz
01/13/2023, 3:18 PM姜尚
01/13/2023, 4:16 PMВиталий Перятин
01/13/2023, 5:29 PMKotlin version 1.7.20
(Compose Multiplatform does not allow above), agp version 7.4.0-beta02
. In Gradle, I connected iOS target, locked all platform features on the iOS side. To build the ios module I use the command
./gradlew clean ios:iosDeployIPhone13Debug
As a result, I get an error (shortened version), where almost all project files are listed in Source files:
> Task :common:compileKotlinUikitX64 FAILED
e: Compilation failed: null cannot be cast to non-null type org.jetbrains.kotlin.ir.declarations.IrFunction
* Source files: AppDatabase.kt, AppDatabaseImpl.kt, AccountsEntity.kt, AccountsEntityQueries.kt, CategoriesEntity.kt, CategoriesEntityQueries.kt, CurrencyRatesEntity.kt, CurrencyRatesEntityQueries.kt, G....
I found only this issue in Google, which is very similar to my mistake, but in my project I checked that there are no expect functions with default values in any file. At the same time, the files that are listed in the Source files do not contain within themselves the code associated with Compose or expect / actual.
How to fix this error? In which direction should I look?JPilson Sumbo
01/13/2023, 8:02 PMAdam Brown
01/13/2023, 10:35 PMAbhinav
01/15/2023, 6:02 PMError: Missing .jpackage.xml file in app-image dir (/Users/abhinav/IdeaProjects/T-Rex Desktop/build/compose/binaries/main/app)
Can anyone please help me how do resolve this?Sebastian Kürten
01/16/2023, 1:18 PMArjan van Wieringen
01/16/2023, 2:24 PMRyan Smith
01/18/2023, 12:45 AMpackageReleaseDistributionForCurrentOs
graph before? I'm trying to bundle an adb
executable with my compose application, but cannot seem to locate any of the tasks from the compose plugin using tasks.named
, tasks.findByPath
, or plainly tasks[]
. I keep getting "Task with name <name> not found in root project <project-name>"
Adam Brown
01/18/2023, 7:13 AMAppTheme {
composable around the top level of my UI doesn't affect the colors in MaterialTheme.colors
at allKirill Grouchnikov
01/18/2023, 9:11 PMOldOrNewScrollbar
NewScrollbarAdapterAsOld
OldScrollbarAdapterAsNew
ScrollableScrollbarAdapter
👀
https://github.com/JetBrains/androidx/pull/368PHondogo
01/20/2023, 8:46 AMjava.lang.ClassNotFoundException: Didn't find class "androidx.compose.material3.SkikoMenu_skikoKt"
loloof64
01/20/2023, 4:11 PMВиталий Перятин
01/20/2023, 5:59 PMAdam Brown
01/20/2023, 7:51 PMAdam Brown
01/20/2023, 7:51 PMDaniele B
01/20/2023, 11:51 PMbod
01/21/2023, 11:37 AMComposePanel
(with isVisible = false
) doesn't seem to work - the UI stays visible (but is no longer interactive). This looks like a bug but just wanted to check here first.
Anyone has seen this before?
Reproducer in 🧵Arjan van Wieringen
01/21/2023, 3:50 PMSebastian Kürten
01/21/2023, 5:13 PMfrank
01/21/2023, 7:01 PMKeyboardActions
| KeyboardOptions
Are they useless in desktop? Or works with virtual keyboards?Adam Brown
01/22/2023, 5:54 AMAlertDialog
, is there another option we should be using?abbic
01/23/2023, 5:54 PMspierce7
01/24/2023, 3:22 PMcompose-jb
github project not named compose-multiplatform
? I think it'd be way more intuitive to people.Daniele B
01/24/2023, 6:50 PMnatpryce
01/25/2023, 12:28 AMXhivat Hoxhiq
01/25/2023, 8:24 AMLayout
with `BasicText`'s for the lines and a Box
for each cursor. I was able to get the positioning and height of the cursor from the TextLayoutResult
. Idk if that's a bad or good solution but it works. The real hacky part is how I solved the shared input buffer, what I did is, I placed an invisible BasicTextField
at one of the cursors and gave it focus that also give me just the "changes" when I type/paste into as it's value is always blank.
What would the proper solution to these be? Or even more generically, what if compose on desktop is not enough, do I use a lower lever library that can integrate with it?
I am really impressed with how well a LazyColumn
performs with loading millions of BasicText
lines which I tested just for fun as I will at most have 30-40 in my tool to edit.Mark Alvaro
01/25/2023, 5:12 PMUnable to find method ''void org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions.setUseIR(boolean)''
'void org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions.setUseIR(boolean)'
Does anyone know how to just disable ProGuard? Most stackoverflow posts unfortunately don't cover it with modern build.gradle.kts syntax.