Fixed
Status Update
Comments
co...@google.com <co...@google.com> #2
This bug will help both exposed dropdown menu and bottom sheet get rid of their forked popup code.
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit 2d66dd672232d3c8d8d576ff3e54777654021dda
Author: Max Alfonso-Ying <maxying@google.com>
Date: Mon Feb 05 21:47:02 2024
Add PopupProperties ctor allowing custom flags
Bug: b/312485503
Test: PopupTest, PopupSecureFlagTest
Relnote: "New constructor for PopupProperties which allows
for full control over WindowManager.LayoutParams flags."
Change-Id: Ibb33e49304ab4d69c15d61b3d018536a55c342aa
M compose/ui/ui/api/current.txt
M compose/ui/ui/api/restricted_current.txt
M compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/window/PopupSecureFlagTest.kt
M compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/window/PopupTest.kt
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/window/AndroidPopup.android.kt
https://android-review.googlesource.com/2932572
Branch: androidx-main
commit 2d66dd672232d3c8d8d576ff3e54777654021dda
Author: Max Alfonso-Ying <maxying@google.com>
Date: Mon Feb 05 21:47:02 2024
Add PopupProperties ctor allowing custom flags
Bug:
Test: PopupTest, PopupSecureFlagTest
Relnote: "New constructor for PopupProperties which allows
for full control over WindowManager.LayoutParams flags."
Change-Id: Ibb33e49304ab4d69c15d61b3d018536a55c342aa
M compose/ui/ui/api/current.txt
M compose/ui/ui/api/restricted_current.txt
M compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/window/PopupSecureFlagTest.kt
M compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/window/PopupTest.kt
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/window/AndroidPopup.android.kt
ma...@google.com <ma...@google.com>
pr...@google.com <pr...@google.com> #4
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.ui:ui:1.7.0-alpha03
androidx.compose.ui:ui-android:1.7.0-alpha03
androidx.compose.ui:ui-desktop:1.7.0-alpha03
Description
Please expose an option to set defaults to false with no option to change this.
FLAG_ALT_FOCUSABLE_IM
manually inPopupProperties
. It currentlyThis is needed for many popups that can be shown with the keyboard, such as described in b/270713270