Not sure if this is intended behavior or not, but one of the challenges I have with DTTG is that it doesn’t seem to save my reading position for markdown documents or web archives.
I’ve been using it as a read-it-later option since Omnivore got shut down, and for the most part it works well; but when iOS background kills the app and I return to pick up where I left off I’m dropped back at the top of the document. I’d expect to resume at the position I was when I left DTTG.
Note that the same thing happens if you navigate away from a document and then reopen it. PDFs do seem to save state, even across app restarts. It would be great to get the same functionality for the other document types.
PDFs have pages so there is an explicit reading position. Other formats, e.g., Markdown and webarchives, do not have a page. The scroll position of the content in the window is the only available marker but that would also be relative to the window size as resizing the window reflows the text.
Development would have to assess the feasibility of this request.
Great, thanks for looking at this. Makes sense that it’s easier for PDFs. There’s prior art for saving the scroll position for reflowing text; Safari, for example, does it and persists across app restarts and page refreshes.
I’ll point out one thing that may make it easier: you only need to save state when the app is being stopped, and you can’t resize the viewport at that point.