arxiv-mobile icon indicating copy to clipboard operation
arxiv-mobile copied to clipboard

WebView state lost after device rotation

Open calbee633810 opened this issue 7 years ago • 0 comments

Steps to reproduce:

  1. Open app
  2. Click Computer Science (Any other item is also ok)
  3. Click Artificial Intelligence
  4. Click any paper in the list
  5. Click Get PDF
  6. Click Print PDF until it finishes loading
  7. Do some something in Google login page, e.g., type in user name, view privacy terms, etc. 8 Rotate screen

The bug occurs, WebView should persist it state, however, it refresh and any users' states are lost.

screen shot 2018-04-11 at 4 36 48 pm Type in some login information and rotate screen

screen shot 2018-04-11 at 4 37 00 pm User's state is lost, WebView refreshes and go back to the starting point.

It's annoying because we have to manually restore WebView to its expected state.

Tested on Android 23 on Nexus 4 Android emulator.

calbee633810 avatar Apr 11 '18 08:04 calbee633810