2024-11-05 - new note freezes Joplin Mobile 3.1.7

Operating system

Android

Joplin version

3.1.7

Sync target

Joplin Cloud

What issue do you have?

Forked from 2024-04-29 - Problems synchronising with the Android app and the Joplin Cloud - #72 by Coffee

When trying to create a new note using the new Joplin Mobile 3.1.7 (prod, android) version, Joplin crashes / freezes.

Even restarting Android does not solve the problem.

Error - Log says

11-05T07:37:11: PostMessageService: Cannot receive message because no viewMessageHandler was found {"pluginId":"io.github.personalizedrefrigerator.joplin-plugin-debug-info","viewId":"plugin-view-io.github.personalizedrefrigerator.joplin-plugin-debug-info-note-info-dialog","contentScriptId":null,"from":"plugin","to":"userWebview","id":"plugin_17307886310570.7198916881223794","content":{"type":"noteChange","selectedNoteIds":[]}}
11-05T07:26:49: screens/Note: Timeout while trying to set focus on 
11-05T07:26:31: PostMessageService: Cannot receive message because no viewMessageHandler was found {"pluginId":"io.github.personalizedrefrigerator.joplin-plugin-debug-info","viewId":"plugin-view-io.github.personalizedrefrigerator.joplin-plugin-debug-info-note-info-dialog","contentScriptId":null,"from":"plugin","to":"userWebview","id":"plugin_17307879916570.9049674567174368","content":{"type":"noteChange","selectedNoteIds":[]}}
11-05T07:23:56: PostMessageService: Cannot receive message because no viewMessageHandler was found {"pluginId":"io.github.personalizedrefrigerator.joplin-plugin-debug-info","viewId":"plugin-view-io.github.personalizedrefrigerator.joplin-plugin-debug-info-note-info-dialog","contentScriptId":null,"from":"plugin","to":"userWebview","id":"plugin_17307878363610.050137706432794533","content":{"type":"noteChange","selectedNoteIds":[]}}
11-05T07:22:50: screens/Note: Timeout while trying to set focus on 
11-05T07:22:22: screens/Note: Timeout while trying to set focus on 

I could not replicate on my up to date Pixel. Perhaps your Android OS - list the version and build you have. It may play a factor.

My up to date Samsung S23 Ultra shows this software information

So far, I haven't been able to reproduce this. I've attached screen recordings demonstrating what I've tried so far.

Screen recordings

Main profile, fresh install of Joplin 3.1.7, GBoard keyboard, no plugins:

New secondary profile, fresh install of Joplin 3.1.7, GBoard keyboard, some plugins:

Does this happen in a new, empty notebook? If so, does this happen in a new profile?

I cannot view your screen recordings. Neither on Android Firefox nor on Windows Firefox nor on Windows Chrome. Can you view my recording?

Yes.
This is what happens in a new, empty notebook

1 Like

I cannot view your screen recordings. Neither on Android Firefox nor on Windows Firefox nor on Windows Chrome. Can you view my recording?

I can view that recording! I'm converting the recordings from my previous message to .webm format:

Screen recordings


1 Like

No.
In a new empty profile without sync target the new note can be created as expected

Thank you for checking!

Here are a few things to test in the main profile:

  • Does duplicating, then editing, a note work?

    Demonstration/how to do this
    1. Long-press on an existing note.
    2. Click the "duplicate" button.

  • Does disabling plugin support help? (Why this is being asked: Plugins are disabled by default in secondary profiles):

    How to disable plugin support

What I'm trying: I'm currently trying to run Joplin on an Android 15 emulator. If that works, I plan to create or simulate decryption errors (so that the error banner is visible).
Update 1: I can create new notes in an empty profile with Joplin on Android 15.
Update 2: If I show the "some items cannot be decrypted" banner (manually, without decryption errors actually being present), I can still create new notes.

Thank you very much. I can watch this format.

Yes.
I actually use this as a workaround.

1 Like

My main profile with this problem is the 7th "secondary profile" in my device.
Joplin Debug Tool is installed.
What shall I do?
Uninstall it?

1 Like

I've uninstalled it an switched it off

1 Like

For reference, profiles can be deleted by long-pressing the profile option, then clicking "delete" (though I suggest being careful with this!).

I would suggest unchecking "enable plugin support":

I've unchecked it.
The problem persists.
Even after a reboot.

Thank you for checking!

Things I plan to try next:

  • Emulator: Show software buttons (another user is reporting a different bug related to the Android 14 and 15 "3 button navigation" mode).
    • Update: Done. This doesn't seem to cause the problem (though I can reproduce this other issue).
  • Emulator: Set up sync with actual decryption errors (rather than simulating them, as was done previously).
    • Update: Done ("press to set the decryption password" banner visible). The new note button still works.
1 Like

Another thing to try:

  • Does temporarily disabling sync help?

    Disabling sync

    To re-enable sync, set the sync target back to "Joplin Cloud" (or some other sync target).

I'll try using a smaller secondary profile.
The smaller secondary profile is one that I share folders with.
Before disabling sync, the problem was there too - tested in a new empty folder.

Yes.
Temporarily turning off sync made the problem go away.
After re-enabling sync, the problem returned.

1 Like