Skip to content

The mobile app freezes on startup #12301

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

Open
laurent22 opened this issue May 15, 2025 · 2 comments
Open

The mobile app freezes on startup #12301

laurent22 opened this issue May 15, 2025 · 2 comments
Labels
android bug It's a bug high High priority issues v3.4

Comments

@laurent22
Copy link
Owner

When the mobile app (Android) starts, it freezes for 2-3 seconds. It seems to be during the starting process in the background because sometimes it freezes, then display the list of note, or display the list of notes then freezes.

It would be good to benchmark the boot process and see what may be taking time. As a first step it could be done using the "perfTimer" from @joplin/utils - various sections of the code would be wrapped in timerPush/timerPop and that should tell us, by looking at the log on device, what parts are slow.

@laurent22 laurent22 added bug It's a bug android high High priority issues v3.4 labels May 15, 2025
@personalizedrefrigerator
Copy link
Collaborator

personalizedrefrigerator commented May 15, 2025

It seems to be during the starting process in the background because sometimes it freezes, then display the list of note, or display the list of notes then freezes.

If this is being observed with a particular installation of the Android app,

  • Certain large plugins can cause the app to freeze on startup, when the plugin tar file is extracted.
  • If this is the case, the timestamps on the logs near PluginService: Loading plugin from... may provide information about the issue.

If only observed during dev mode, this could be related to the startup tests.

@laurent22
Copy link
Owner Author

laurent22 commented May 15, 2025

It's observed on the live app on my phone. I'm going to check for the plugin startup but I assume that's not it as it's been doing this for a long time.

Edit: Just to be sure I tried disabling all my plugins and that didn't make a difference. The startup time of the plugins doesn't seem excessive although it's not printed exactly how long it takes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android bug It's a bug high High priority issues v3.4
Projects
None yet
Development

No branches or pull requests

2 participants