Hm, indeed. I can easily make it 100% when the book is marked as read, but the underlying issue is that the progress bar is always relative to the total number of pages, including the non-linear fragments, so it's always a bit inaccurate.
I wonder if that's worth fixing, as koreader itself doesn't take non-linear fragments into account when showing progress in File Browser and in Book Status. The Reading statistics plugin does handle it somehow (
https://github.com/koreader/koreader...ua#L1620-L1635) so I suppose we can do it the same way.
The only question is what to do when viewing the hidden pages themselves? Skip updating the progress until we return back to the main flow?