Spikey Sanju
06/13/2021, 8:02 PMsave composable view
as Image
?B bis
06/14/2021, 12:07 PMKonyaco
06/14/2021, 12:36 PMxxfast
06/15/2021, 2:37 AM.app
artefact for macos. But when i open it - it does not open the main window. The window does open through Android Studio runtime configurations, but not when packaged for some reason. I’ve attached the compose desktop build script in the thread, am i missing anything here?gaetan
06/15/2021, 1:46 PMIvan Pavlov
06/15/2021, 8:15 PMamr s
06/16/2021, 1:41 AMsaket
06/16/2021, 2:55 AMsaket
06/16/2021, 2:55 AMMichał Kalinowski
06/16/2021, 11:01 AMBackendRenderTarget
but OpenGL cannot be easily initialised with Skia(at least not so easily). And I'm wondering if there is any objection to add an manual initialization of the graphics api context in desktop-compose to make both things compatible? Or maybe is it already planned? Or am I wrong and it isn't that simple?darkmoon_uk
06/16/2021, 12:40 PMsvgResource
and finding that it plainly does not resize as expected. Currently only trying on Retina MacBook Pro so wondering if screen DPI is playing a part? Anyone tried this?
I set a background colour via Modifier to see the layout of the Image element and that is correct; but the SVG itself never scales within, regardless of ContentScale
passed in 🤷B bis
06/16/2021, 2:31 PMSkIcuLoader: datafile missing: C:\Users\kishan.thakar\.jdks\corretto-11.0.11\bin\icudtl.dat.Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: *no chrome_elf in java.library.path:*
Is there any other option that I can try ?saket
06/17/2021, 1:48 PMInfo.plist
and adding these entries:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>PACKAGE NAME OF YOUR APP</string>
<key>CFBundleURLSchemes</key>
<array>
<string>SCHEME OF YOUR DEEPLINK</string>
</array>
</dict>
</array>
This deeplink can be handled by using Desktop.getDesktop().setOpenURIHandler()
.
Of course modifying the file manually after each build is terrible so we’d need a way for compose to provide a hook for modifying info.plist
. This looks related to: https://github.com/JetBrains/compose-jb/issues/773Daniele B
06/17/2021, 11:08 PMKrzysztof
06/18/2021, 9:47 PMArac Rado
06/18/2021, 11:45 PMClament John
06/19/2021, 6:46 AMArac Rado
06/19/2021, 4:11 PMgbaldeck
06/19/2021, 5:04 PMAdam Brown
06/19/2021, 7:32 PMSpikey Sanju
06/20/2021, 9:07 AMpackage task
. My Deb
& Msi
builds are getting SKIPPED
.
Is there any workaround solution for this?Slackbot
06/20/2021, 11:56 AMDominaezzz
06/20/2021, 12:04 PMrememberSerializable
(that works using kotlinx.serialization
) ever been considered? I find the bundle requirements for rememberSaveable
a bit awkward/type unsafe outside Android.David Dupraz
06/21/2021, 7:26 AMLavanya Kasina
06/22/2021, 4:07 AMIgor Demin
06/22/2021, 9:08 AMWindow(onCloseRequest=)
is required parameter now
2. WindowState.isMaximized
, WindowState.isFullscreen
are merged to WindowState.placement { Floating, Maximized, Fullscreen }
3. WindowPosition
is sealed class { PlatformDefault, Aligned, Absolute }
, initialAlignment
removed from Window/DialogGlen
06/22/2021, 10:37 AMMichał Kalinowski
06/22/2021, 11:07 AMMichał Kalinowski
06/22/2021, 11:07 AMDominaezzz
06/22/2021, 7:18 PMrun
task?