kiwix / kiwix-js-pwa

Kiwix JS Offline Browser implemented as a Progressive Web App (PWA), and packaged as Electron, NWJS and UWP apps for Windows and Linux.
https://pwa.kiwix.org
GNU General Public License v3.0
168 stars 26 forks source link

Unable to print the HTML version of Gutenberg books in SW mode #579

Closed Jaifroid closed 4 months ago

Jaifroid commented 4 months ago

When printing, the page is reloaded, resulting in the app reloading the landing page and not the opened book. Workaround is to Ctrl-click the HTML icon form the cover page and print from the opened tab. However, there are overlays on the page which would need to be filtered out.

Additionally, opening a Gutenberg HTML e-book in JQuery mode results in images being set to manual mode (you have to click them to display them).

Jaifroid commented 4 months ago

Additional problem: if user selects "print mobile version (instead of desktop" in a Gutenberg ZIM, the app goes into an infinite loop of reloading the page. This doesn't happen with Wikimedia ZIMs. I think that bug can be dealt with in this issue, though users are warned that the further printing options are only for Wikimedia ZIMs.