Plugin system failure on Android

Operating system

Android

Joplin version

3.4.5

Sync target

Joplin Cloud

What issue do you have?

With Android app pre-relealse versions 3.4.4 and 3.4.5, on a Pixel 7 (Android version 16) plugins no longer work as expected.

Only a single plugin tab dialog is displayed (via the jigsaw-piece icon for revealing the plugin dialogs).

For example, the template tab dialog is currently visible, now returning to a note and choosing the Calender or Outline plugin from the Note Menu list will not reveal the associated dialog tabs; on going back to the plugins dialog, only the Templates plugin remains focused with no other tab visible.

Plugins not requiring a separate dialog seem to work as expected; for example, the Code Mirror 6 Snippets, and Bidirectional Links plugins

In the rendered view, some plugins display as intended, for example: Github Alerts plugin

While others no longer display as expected, for example: Collapsible Block plugin

Plugins are enabled, and under the Configuration menu all installed plugins appear, also the settings for each are available as expected.

Things tried: Force stopped Joplin, and cleared cache. Uninstalled and reinstalled plugins. Disabled all plugins and re-enabled one at a time.

(I can't verify the exact version this behaviour began, it may have been a version a little prior to 3.4.4)

Joplin Mobile 3.4.5 (prod, android)

Other Details Device: android Client ID: 7511d24ec46c464896b2bfd962a61b8d Sync Version: 3 Profile Version: 48 Keychain Supported: No Alternative instance ID: -

Revision: c52523134 (dev)

Android API level: 36
WebView version: 139.0.7258.143
WebView package: com.google.android.webview
FTS enabled: 1
Hermes enabled: 1

1 Like

Thank you for reporting this! I've just tested with an Android 15 emulator. For me, it's possible to access the other panels by first putting the device in landscape mode. Otherwise, the buttons seem to be offscreen (possibly related to this other issue).

1 Like

The collapsible block plugin seems to be broken by its use of markdownEditorPaneVisible, which doesn't exist on mobile (though it would be a good idea to add it). This change was added a few months ago, in this commit in the joplin-plugin-collapsible-block GitHub repository.

To fix this, possible changes to the mobile app include:

  • Add markdownEditorPaneVisible to mobile.
  • Handle the case where an unknown state variable is used in a better way.
1 Like

@personalizedrefriger,

I hadn't tried landscape mode, but found it as you describe. I can also see the tabs in landscape mode here. They appear to remain when re-oriented to portrait (only until closed). This is a useful workaround to quickly flip orientation to landscape and back to portrait to keep the plugin tabs in view, thank you.

The collapsible block plugin working well until quite recently, it stopped rendering coinciding with the tabs not visible issue, as far as I can recall. Although not necessarily related with the tabs issue, I don't know if the issue markdownEditorPaneVisible is responsible as collapsible blocks had been working within the period of the last two months?

Hope that's useful information. Thanks, as always for your great work.

I'm linking two pull requests:

I'm currently working on fixing the plugin panel issue. Update: The plugin panel issue should be fixed by this pull request.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.