Jesse Hendrickson
09/15/2023, 4:04 PMBottomNavigation
`Icon`s will randomly flicker (see video). When stepping through the video frame by frame, you can see that it seems that they’re only partially drawn in certain frames. Does anyone have any ideas as to what’s going on here? Steps I’ve tried in the thread: 🧵vector
XML
• If I replace the BottomNavigationBar
with a simple Row of Boxes and Icons, it still happens.
• If I replace the Icon `painterResource`s with other icons used in the app, it still happens.
• Only this bottom bar is affected (95% sure). No other Icon
composables in the app have this problem.
• If I move the same Icon resources to other parts of the app (like the AppBar), they do not flicker.
• This happens on both debug and production builds. Though it feels more common on debug builds on the emulator than a real device.eygraber
09/15/2023, 4:14 PMJesse Hendrickson
09/15/2023, 4:48 PMandroidx.compose.foundation:foundation:1.6.0-alpha01
JustinBis
09/15/2023, 6:56 PMIcon
was drawing one of the vector strokes with more weight than other strokes in the same vector. Possibly in the same family of issues.Jesse Hendrickson
09/15/2023, 7:02 PMJustinBis
09/15/2023, 7:03 PMJesse Hendrickson
09/15/2023, 7:18 PMColton Idle
09/16/2023, 1:41 AMascii
09/16/2023, 4:01 AMJesse Hendrickson
09/16/2023, 9:31 PMColton Idle
09/17/2023, 6:51 PMJesse Hendrickson
09/18/2023, 2:30 PM