Fixed
Status Update
Comments
je...@google.com <je...@google.com> #2
Hey OP, have you tried Embedded Layout Inspector? you can try it in Iguana Canary. Please give it a try and let us know if you still have this issue.
mn...@google.com <mn...@google.com>
mo...@google.com <mo...@google.com> #3
I'm guessing that this is only a problem on the root.
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit c83475a488ec99e55d68067a73c64fd8ecc78b27
Author: George Mount <mount@google.com>
Date: Tue Jun 25 12:44:49 2024
Set ViewConfiguration on root LayoutNode
Fixes: 347740888
Sets the ViewConfiguration and LayoutDirection on the root LayoutNode
Test: new test
Change-Id: I8e799cdc2414e25942d56f73fff18c371c91bcc4
M compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/layout/ComposeViewLayoutTest.kt
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt
https://android-review.googlesource.com/3147197
Branch: androidx-main
commit c83475a488ec99e55d68067a73c64fd8ecc78b27
Author: George Mount <mount@google.com>
Date: Tue Jun 25 12:44:49 2024
Set ViewConfiguration on root LayoutNode
Fixes: 347740888
Sets the ViewConfiguration and LayoutDirection on the root LayoutNode
Test: new test
Change-Id: I8e799cdc2414e25942d56f73fff18c371c91bcc4
M compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/layout/ComposeViewLayoutTest.kt
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt
Description
The following androidInstrumentedTest fails, informing me that it finds a
LayoutNode$Companion$DummyViewConfiguration
Tests should get the same
ViewConfiguration
as Compose runtime.Edit: added a better test in #comment2