Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Artifact used (androidx.fragment:fragment-ktx:1.5.5):
Devices/Android versions reproduced on: Pixel 7 Pro / Android 13
After updating our fragment-ktx dependency we noticed that
onCreateOptionsMenu
is getting called again when we dismiss a DialogFragment asMenuHostHelper.removeMenuProvider
is invalidating the menu.Is this an intended behavior change?
In the example below the log
onCreateOptionsMenu Called
will be shown again once dismissing the dialog.