Im getting a new error that crashes my compose win...
# compose-desktop
m
Im getting a new error that crashes my compose window and makes it stop rendering on build 344. It worked fine on previous builds. I added a file with the stacktrace in the thread
k
File a bug with the code that reproduces it
j
Running in to same issue here
Was there bug filed for this?
m
j
I'm seeing this in case where Swing (along with
ComposePanel
) is being used....is that also the case for you? I have other projects that are working fine with this version 1.0.0-alpha4-build348()
https://github.com/joreilly/BikeShare/blob/main/compose-desktop/src/main/kotlin/main.kt was created some time ago so could be parts that need updating...
m
Nope, its pure compose for me, not totally sure what causes it
j
It seems to be related here to use of
LazyColumn
....or at least I don't see this error if I comment out usage of that....
It doesn't seem to happen every time for some reason
And why it's not consistently happening here is probably related to timing of retrieval of data in terms of whether that LazyColumn is empty at particular time....
if I hack things so I never have empty
LazyColumn
then I'm not seeing the issue
d
I had seen this intermittently before and brushed it off; but after adding an
AnimatedContent
block to my layout 🤷 it crashes every time (as soon as the mouse cursor enters the Desktop Application area). Feels like a bug that can have multiple triggers of the same root cause.
@Igor Demin thread here FYI, in case need more info as assignee☝️
🙏 1
j
I have this replicated in a couple of samples if needed....working around for not using hack to not show
LazyColumn
if empty list
m
It was fixed by https://github.com/JetBrains/androidx/pull/51 and is included in the new beta release