fenix icon indicating copy to clipboard operation
fenix copied to clipboard

[Bug] Search Fragment URL editText loses focus and selection on app resume

Open codrut-topliceanu opened this issue 6 years ago • 2 comments

Steps to reproduce

  1. open a tab and navigate to a web page
  2. click on URL bar to go to search fragment
  3. send app to the background by pressing home button
  4. 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

codrut-topliceanu avatar Feb 20 '20 09:02 codrut-topliceanu

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 avatar Mar 30 '20 11:03 sv-sdeiac

@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.

codrut-topliceanu avatar Mar 30 '20 12:03 codrut-topliceanu