Fixed
Status Update
Comments
jo...@google.com <jo...@google.com>
jr...@google.com <jr...@google.com> #2
Hi. Thanks for reporting this. Fixed in alpha-04
mo...@google.com <mo...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit e782987543a9f8ccd485e970ddc74564b24378db
Author: Vighnesh Raut <vighnesh.raut13@gmail.com>
Date: Mon Jan 02 15:27:40 2023
fix: tab row crashes when only 1 tab is added
Bug: b/264018028
Test: Added unit test
Change-Id: I6381dbac304fc1d69d3708c6655f8b595668e93f
M tv/tv-material/src/androidTest/java/androidx/tv/material/TabRowTest.kt
M tv/tv-material/src/main/java/androidx/tv/material/TabRow.kt
https://android-review.googlesource.com/2373449
Branch: androidx-main
commit e782987543a9f8ccd485e970ddc74564b24378db
Author: Vighnesh Raut <vighnesh.raut13@gmail.com>
Date: Mon Jan 02 15:27:40 2023
fix: tab row crashes when only 1 tab is added
Bug:
Test: Added unit test
Change-Id: I6381dbac304fc1d69d3708c6655f8b595668e93f
M tv/tv-material/src/androidTest/java/androidx/tv/material/TabRowTest.kt
M tv/tv-material/src/main/java/androidx/tv/material/TabRow.kt
ra...@google.com <ra...@google.com>
ap...@google.com <ap...@google.com> #4
deleted
na...@google.com <na...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.tv:tv-material:1.0.0-alpha04
pr...@google.com <pr...@google.com> #6
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.ui:ui:1.7.3
androidx.compose.ui:ui-android:1.7.3
androidx.compose.ui:ui-jvmstubs:1.7.3
androidx.compose.ui:ui-linuxx64stubs:1.7.3
androidx.compose.ui:ui:1.8.0-alpha03
androidx.compose.ui:ui-android:1.8.0-alpha03
androidx.compose.ui:ui-jvmstubs:1.8.0-alpha03
androidx.compose.ui:ui-linuxx64stubs:1.8.0-alpha03
Description
Jetpack Compose component used: AndroidView() TextButton(),
Android Studio Build:
Android Studio Iguana | 2023.2.1 RC 2
Build #AI-232.10227.8.2321.11429013, built on February 8, 2024
Runtime version: 17.0.9+0-17.0.9b1087.7-11185874 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.5
GC: G1 Young Generation, G1 Old Generation
Memory: 5120M
Cores: 10
Metal Rendering is ON
Registry:
debugger.new.tool.window.layout=true
reasonable.application.thread.pool.size=256
ide.index.image.max.size=0
ide.experimental.ui=true
Kotlin version: Latest Kotlin version
Steps to Reproduce or Code Sample to Reproduce:
1. Built sample app provided in the bug
2. Using Dpad to focus on the last element under AndroidView - (BUTTON SIX)
3. Hit key Tab.
4. Now the focus is on some invisible element.
5. Hit key Tab again.
6. Focus is on the first TextButton (1 field).
Stack trace (if applicable):