Alonso Ato Neyra
09/22/2021, 2:03 AMFrank
09/22/2021, 1:09 PMspierce7
09/22/2021, 9:43 PMColton Idle
09/24/2021, 5:03 AM+--- androidx.compose.runtime:runtime-livedata:{strictly 1.1.0-alpha04} -> 1.1.0-alpha04 (c)
Does anyone know if there's a jetbrains version of that library that I just can't seem to locate so that I can build with the latest kotlin?jimmyt
09/24/2021, 8:57 PMException in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 'kotlinx.coroutines.JobSupport kotlinx.coroutines.ChildHandleNode.getJob()'
at kotlinx.coroutines.JobImpl.handlesException(JobSupport.kt:1333)
at kotlinx.coroutines.JobImpl.<init>(JobSupport.kt:1326)
at kotlinx.coroutines.JobKt__JobKt.Job(Job.kt:389)
at kotlinx.coroutines.JobKt.Job(Unknown Source)
at androidx.compose.runtime.Recomposer.<init>(Recomposer.kt:130)
at androidx.compose.ui.platform.DesktopOwners.<init>(DesktopOwners.desktop.kt:78)
at androidx.compose.desktop.ComposeLayer.<init>(ComposeLayer.desktop.kt:63)
at androidx.compose.desktop.ComposeWindow.<init>(ComposeWindow.desktop.kt:35)
at androidx.compose.desktop.AppWindow.<init>(AppWindow.desktop.kt:116)
at androidx.compose.desktop.AppWindow.<init>(AppWindow.desktop.kt)
at androidx.compose.desktop.AppWindow_desktopKt$Window$1.run(AppWindow.desktop.kt:85)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Process finished with exit code 0
I've posted the entire project on Github here. Does anyone know what might be causing this issue?Ayfri
09/25/2021, 11:25 PMJavier
09/27/2021, 1:28 PMapi
to implementation
?Kirill Grouchnikov
09/27/2021, 8:00 PM1.0.0-alpha4-build362
is out with support for Kotlin 1.5.31smallshen
09/28/2021, 2:03 AMMahir Chowdhury
09/28/2021, 3:41 AMScott Kruse
09/28/2021, 6:13 AMSebastian Kürten
09/28/2021, 4:35 PMAyfri
09/29/2021, 3:17 PMspierce7
09/29/2021, 8:18 PMStefan Oltmann
09/30/2021, 11:55 AMStefan Oltmann
09/30/2021, 2:32 PMimageResource
and vectorXmlResource
are removed... But this sample code still uses that:
https://github.com/JetBrains/compose-jb/blob/master/examples/widgets-gallery/commo[…]kotlin/org/jetbrains/compose/demo/widgets/platform/Resources.kt
How to replace it?
Edit: Oh, okay... The sample is still on 1.0.0-alpha1 ... But my question is the same ^^mcpiroman
09/30/2021, 8:30 PMSebastian Kürten
10/01/2021, 7:48 AMstrings.xml
is supported already (or planned?)Aaron Yoder
10/01/2021, 9:19 AMDenis Simanchuk
10/01/2021, 12:55 PMgpaligot
10/01/2021, 8:07 PMText
and use buildAnnotatedString
builder to change the color for all keywords of the programming language. The library work pretty well and if I use it to highlight one times any source code, there is no problem.
But now, I would like to use my library to create a presentation. To do that, I have a state to switch in my slides. It works but, sometimes, I don’t know why and randomly, buildAnnotatedString
don’t apply my color on my Text
.
Maybe a bug in compose ? Any help is welcome! (Record of the bug in thread)mcpiroman
10/01/2021, 8:19 PMandroidx.compose.ui.graphics.FilterQuality.None
- "Fastest possible filtering, albeit also the lowest quality Typically this implies nearest-neighbour filtering."
What if I want to always use nearest-neighbour filtering? Is there (yet) an API to specify hard filtering requirement?Akram Bensalem
10/01/2021, 11:54 PMK J
10/02/2021, 9:18 AMkk57
10/03/2021, 9:13 AM<rect x="115" y="231" width="11" height="1" fill="#4D4D4D" onclick=""/>
Mini
10/03/2021, 3:13 PMrule.waitForIdle()
a lot more in compose for desktop tests than in android tests. I vaguely remember reading something about compose tests waiting for idleness by default, but can’t find anything right now. Does the desktop rule not do this?Alexey Glushkov
10/03/2021, 5:02 PMAkram Bensalem
10/03/2021, 5:39 PMJakob K
10/04/2021, 5:43 PMBufferedImage
. As compose-jb can render to a JFrame
, shouldn't this theoretically work?Akram Bensalem
10/04/2021, 8:35 PMAkram Bensalem
10/04/2021, 8:35 PMSebastian Kürten
10/05/2021, 8:09 AMComposeWindow
object which extends JFrame
and then set a minimum size on itWindow(
onCloseRequest = { exitProcess(0) }
) {
window.minimumSize = Dimension(800, 600)
…
content
…
}
Akram Bensalem
10/05/2021, 6:12 PM