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

iOS: Fixes #11544: Fix blank screen on bringing app from background #11555

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

personalizedrefrigerator
Copy link
Collaborator

@personalizedrefrigerator personalizedrefrigerator commented Dec 23, 2024

Summary

This pull request may fix #11544 by applying a version of a workaround for the upstream WebView issue.

The workaround reloads the WebView when its renderer/content process terminates.

Note

I've only observed the issue on iOS, but the workaround linked to the upstream issue applies to both iOS and Android.

Testing

iOS 18.2:

  1. Start Joplin.
  2. Open the note editor.
  3. Verify that the note editor loads.
  4. Switch to another app (Safari).
  5. Wait 5-10 seconds.
  6. Switch back to Joplin.
  7. Verify that the note is still visible.

Android:

  1. Start Joplin.
  2. Open the note editor.
  3. Verify that the note editor loads.
  4. Switch to a different app.
  5. Switch back to Joplin.
  6. Verify that the note editor is still visible.

Note

I experience #11544 regularly on a particular iOS device. However, I'm testing on a different device on which I have not been able to reproduce the issue.

@personalizedrefrigerator personalizedrefrigerator marked this pull request as ready for review December 23, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestFlight: Leaving the iOS app in the background unloads all plugins, results in empty editor
1 participant