Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recalendar.me website terminates halfway generating full calendar, on Android #122

Open
kcc-git opened this issue Aug 15, 2024 · 2 comments

Comments

@kcc-git
Copy link

kcc-git commented Aug 15, 2024

The browser generates the sample just fine, in about 10 seconds. But when generating the full calendar, it takes about a minute for the progress bar to go about halfway, then the webpage just refreshes. All previous calendar customisations get reset back to default. It's as though the webpage has a hard coded timeout, then it just refreshes.

This happens on various Android browsers, various Android devices. The PDF preview (Flash?) plugin does not work, but the preview PDF file can be manually downloaded.

On a Windows machine, the full calendar gets generated just fine. The PDF preview plugin also works fine.

Is the PDF preview plugin possibly triggering the webpage refresh?

@klimeryk
Copy link
Owner

Hi, @kcc-git! Thanks for the report. Unfortunately, I don't have an Android device to reproduce this. But I can definitely say there's no hard-coded timeout to refresh the page in the page. What I'm guessing is happening is that the browser thinks the page is "hanging" or "frozen" and refreshes it to "help". Though, that's a bit unexpected, because I purposefully use Web Workers that are exactly meant to run CPU-intensive operations in the background, without hanging the browser. But maybe Android devices have additional safe-guards?

For future reference (if others report the same, etc.), could you share what device(s) and browser(s) you've tested with? 🙏

@kcc-git
Copy link
Author

kcc-git commented Aug 18, 2024

Hi @klimeryk! After a bunch of testing, I've found an Android browser (Firefox) that displays the preview PDF properly in the webpage. It also generates the full PDF properly!

All other Android browsers that don't display the preview PDF (Opera, Chrome, Kiwi) offer a download of the preview PDF file instead. And when generating the full PDF, they all terminate before the file is fully generated and refresh the webpage. Some terminate and display an unhelpful message without any error diagnostics: "Aw snap! Something went wrong while displaying the webpage. If you're seeing this frequently, try these suggestions." (𝘢𝘯𝘥 𝘵𝘩𝘦 𝘴𝘶𝘨𝘨𝘦𝘴𝘵𝘪𝘰𝘯𝘴 𝘢𝘳𝘦 𝘯𝘰𝘵 𝘤𝘭𝘪𝘤𝘬𝘢𝘣𝘭𝘦) The only option is to reload the webpage.

These browsers all do not auto-refresh or "be helpful" in any other website. I'm suspecting there's something in the PDF viewer plugin (not sure if that's the correct term) on the recalendar webpage, that is triggering this refresh. Maybe combined with the fact that the plugin doesn't actually display the preview PDF.

Tested on Huawei MatePad 11.5, Sony Xperia Tablet Z, Huawei Mate 30 Pro.

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

No branches or pull requests

2 participants