fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Rotating the display clears search input

Open Verdi opened this issue 7 years ago • 11 comments

Steps to reproduce

  1. Enter a search term in the search bar.
  2. Rotate the device to landscape.

Expected behavior

The search term I entered should still be in the search bar.

Actual behavior

The search bar has been cleared of input.

Device information

  • Android device: Nokia 3.1
  • Fenix version: 1.0.1913

Priority

I think this is a blocker.

┆Issue is synchronized with this Jira Task

Verdi avatar Mar 26 '19 18:03 Verdi

Hey, I have added a PR (#1198).

Let me know if any changes are required.

jatinkumarg avatar Apr 11 '19 01:04 jatinkumarg

See https://github.com/mozilla-mobile/fenix/issues/1205#issuecomment-484186027 for why this is blocked.

sblatz avatar Apr 17 '19 17:04 sblatz

Sounds like @colintheshots is investigating bugs like this (namely how we can persist state with our architecture).

sblatz avatar Apr 23 '19 17:04 sblatz

Blocked on #1994.

colintheshots avatar Apr 30 '19 18:04 colintheshots

@vesta0 can this be a p1? this should be considered as data loss and be prevented if at all possible. also it looks like 1994 is a p1.

lime124 avatar May 02 '19 20:05 lime124

@lime124 I agree. Changing it to P1.

vesta0 avatar May 06 '19 06:05 vesta0

I'm marking this QA Needed, but we may not have a build to test with until Monday as the Nightly is having build issues.

colintheshots avatar May 10 '19 19:05 colintheshots

Rotating from portrait to landscape or vice versa no longer clears the text. Tho it does to a select all action clearing the text if the user wants to input anything else. The user should remain in typing mode.. @jatinkumarg or @colintheshots could you have a look at this?

If tapping and continuing to type when hitting search it seems to crash the app. Rotating from portrait to landscape and back to portrait also crashes the app. I have logged that issue here: #2448

Removing the QA needed flag for now.

bsurd avatar May 13 '19 11:05 bsurd

The search input should remain in typing mode.

vesta0 avatar May 14 '19 05:05 vesta0

I can no longer produce @bsurd's issue. Are you able to verify they're still happening on the latest nightly?

sblatz avatar May 15 '19 15:05 sblatz

Can confirm that the issue is no longer reproducible with the latest build (5/16). The search term remains in the input field and is no longer selected upon rotating the device.

bsurd avatar May 16 '19 09:05 bsurd