fenix
fenix copied to clipboard
[Bug] Search Fragment URL editText loses focus and selection on app resume
Steps to reproduce
- open a tab and navigate to a web page
- click on URL bar to go to search fragment
- send app to the background by pressing home button
- bring app back to foreground by opening it
Expected behavior
Search fragment should be in the same state as it was before pressing home. URL selected, keyboard open.
Actual behavior
URL is not selected, keyboard is not being shown.
Device information
- Android device: Pixel 4 & Pixel 3 (both Android 10), LG K4 (Android 6)
- Fenix version: Latest Nightly from 2/19th
Notes: -bug similar to #3175, however that fix no longer exists -fix for this issue should not undo the fix for #2870
┆Issue is synchronized with this Jira Task
Verified as fixed using the latest version of Firefox Preview Nightly 3/29 #20891805.
Devices:
Google Pixel 3 (Android 10); Samsung Galaxy Tab S6 (Android 9).
@sv-sdeiac I'm afraid it also adds another bug. https://github.com/mozilla-mobile/fenix/issues/9500 I will revert the fix for this and create a duplicate issue.