Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

Restore scroll position feature doesn't work on KitKat #106

Open
nubenum opened this issue Jul 6, 2014 · 3 comments
Open

Restore scroll position feature doesn't work on KitKat #106

nubenum opened this issue Jul 6, 2014 · 3 comments

Comments

@nubenum
Copy link

nubenum commented Jul 6, 2014

On Android 4.4 KitKat, probably related to the Chromium WebView, the scroll position of the previous article is not restored when you go back.
For a very short time (fraction of second) the article is at the right position, but is then restored to the top. The recent 1.6.11 update has changed nothing about that.
I think this problem only occurs on KitKat, but I was not able to verify that.

@itkach
Copy link
Member

itkach commented Jul 6, 2014

On Android 4.4 KitKat, probably related to the Chromium WebView, the scroll position of the previous article is not restored when you go back.

Yes, it does look like it broke in KitKat.

The recent 1.6.11 update has changed nothing about that.

1.6.11 did not intend to fix this.

I don't think this can be fixed in current implementation. The fundamental issue is that WebView API doesn't provide a way to reliably determine when page is really done loading. I will address this in aard2, next gen UI, which is what I'm working on now (alpha-version to be published soon) In aard2, each article will load in a separate WebView instance, so all the state will naturally be preserved.

@nubenum
Copy link
Author

nubenum commented Jul 6, 2014

Okay, so I'm looking forward to V2.0. Apart from that, one of the most useful apps on my phone! Great work!

@itkach
Copy link
Member

itkach commented Sep 9, 2014

Early preview of aard2 is available, you may want to check it: out https://github.com/itkach/aard2-android/releases

Few dictionaries: https://github.com/itkach/slob/wiki/Dictionaries
Discussion: http://aarddict.org/forum/?place=topic%2Faarddict%2FKKjFlcxsl9E%2Fdiscussion

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants