Kiwix-android: Back Press from Find In Page goes to library

Created on 10 Dec 2020  ·  6Comments  ·  Source: kiwix/kiwix-android

Describe the bug
Original report:

when we have opened several articles using the same tab, and we touch “search on the page”, after the search if we touch “back arrow” (bottom button of android), kiwix does not take us to the previous articles but to the tab “Library”; It is very uncomfortable.

Expected behavior
A back press should take you to the screen you were previously on.

Environment

  • Version of Kiwix Android : 3.4.1
bug

All 6 comments

I am not entirely sure on the nature of this bug but have taken an educated guess? This could be about navigation after clicking a link during "find in page" or the user expects a back press to navigate to the previous entry of find in page? May have to investigate how chrome handles find in page if we are to make that behaviour change.

Ah, I've got it. Tab restoration (which is what happens when we navigate to Reader from Search) does not preserve the history of the webview

Can I take this issue?

@gouri Yes, would be great.

@gouri-panda Have you been able to reproduce the issue? Is that the same rootcuase as #2582?

@kelson42 Yes I'm able to reproduce this issue. If we search a word then open a link it goes to another page but if we go back then it returns to the library fragment, the navigation state doesn't restored.

Is that the same rootcuase as #2582?

I'll dig deep that issue also to find out what's happening.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gouri-panda picture gouri-panda  ·  5Comments

chstdu picture chstdu  ·  6Comments

RaiLokesh picture RaiLokesh  ·  4Comments

brijeshshah13 picture brijeshshah13  ·  4Comments

brijeshshah13 picture brijeshshah13  ·  4Comments