Mitchell Syer
08/14/2021, 9:59 PMZach Klippenstein (he/him) [MOD]
08/15/2021, 6:27 AMJohn Dumais
08/15/2021, 9:57 AMChristian Babsek
08/15/2021, 1:42 PMkevindmoore
08/16/2021, 3:25 PMRajashekar
08/17/2021, 5:23 PMkevindmoore
08/17/2021, 7:16 PMrnett
08/17/2021, 8:59 PMonPreviewKeyEvent
, Lukas K-G
08/20/2021, 9:50 AMDialog
from the onClick
of a MenuItem
? Problem is that the onClick
is not a composable function. 🤔Andre Classen
08/20/2021, 1:32 PMException in thread "AWT-EventQueue-0" java.lang.IllegalStateException: pending composition has not been applied
exception ?Rajashekar
08/20/2021, 6:32 PMTristan B.
08/20/2021, 7:11 PMSiva Nimmala
08/20/2021, 9:03 PMdarkmoon_uk
08/20/2021, 11:34 PMexpect
/ actual
do not play nice with the Compose compiler - meaning you can't use default parameters values at all! This is a major bug/limitation, since @Composable
functions often rely on many default parameters to have a usable API. Please consider voting here.theapache64
08/21/2021, 6:20 AMCallbackMediaPlayerComponent
? The CMPS works good on macOS 🧵theapache64
08/21/2021, 7:17 AMSiva Nimmala
08/21/2021, 8:06 AMSiva Nimmala
08/21/2021, 4:36 PMspierce7
08/21/2021, 5:41 PMHalil Ozercan
08/21/2021, 8:23 PMHalil Ozercan
08/22/2021, 12:25 PMMitchell Syer
08/22/2021, 7:27 PMPavle Joksovic
08/22/2021, 8:59 PMrcd27
08/23/2021, 8:22 AMWix
for Windows
(gradle task ":createDistributable"). exe
file just not launching. This is new issue, couple weeks ago all was fine. Anyone here has the same? I've tried to build with 15 and 16 JDK for Gradle, no differences.kevin
08/23/2021, 2:16 PMAppWindowAmbient.current!!.window.cursor = Cursor(Cursor.E_RESIZE_CURSOR)
This is for an early release of Desktop, I was using the 0.3.0 release and changed the code to be this:
LocalAppWindow.current.window.cursor = Cursor(Cursor.E_RESIZE_CURSOR)
But now LocalAppWindow has been deprecated and I’m wondering if there’s any way to set the cursor in the current (alpha) versions of Desktop?
Thankskevin
08/24/2021, 7:54 AMMenuBar {
Menu("File") {
Item(
"Open",
onClick = { openFileAction.value = true },
shortcut = KeyShortcut(Key.O, meta = true)
)
}
}
The menu works but I can’t get the shortcut to work (this is on a Mac) on the alpha build.Alexander Suraphel
08/24/2021, 3:09 PMHamza GATTAL
08/24/2021, 8:53 PMspierce7
08/25/2021, 12:52 AMMichael Paus
08/25/2021, 2:51 PMoverride fun imageBitmapFromBytes(encodedImageData: ByteArray): ImageBitmap {
val bitmap = BitmapFactory.decodeByteArray(encodedImageData, 0, encodedImageData.size)
return bitmap.asImageBitmap()
}
and on Desktop I use
override fun imageBitmapFromBytes(encodedImageData: ByteArray): ImageBitmap {
return Image.makeFromEncoded(encodedImageData).asImageBitmap()
}
but I think something like this actually belongs into Compose itself.
One also might add a similar method to construct an ImageBitmap from a raw bitmap represented as a byte array plus some image info needed to reconstruct the image.
What do you think?