WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@mrjo118
Copy link
Contributor

@mrjo118 mrjo118 commented Dec 1, 2025

Using the install from file option on the plugins screen of both the native app and web app, install a plugin which is not compatible with mobile, eg. https://joplinapp.org/plugins/plugin/joplin-plugin-conflict-resolution/

It is then not possible to uninstall the plugin, because clicking the plugin tile or the 'incompatible' label on the tile does not do anything, due to being in a disabled state.

This is due to a regression introduced by #13234, which incorrectly disables the state of the CardButton when the plugin is incompatible. This PR fixes the issue by ensuring the CardButton is always enabled.

This fixes #13825

Testing

See video:

firefox_qn6VawwUWj.mp4

Clicking the 'incompatible' label now also works correctly

@mrjo118 mrjo118 changed the title Mobile: Fix incompatible plugins cannot be uninstalled Mobile: Fixes #13825: Fix incompatible plugins cannot be uninstalled Dec 1, 2025
@personalizedrefrigerator
Copy link
Collaborator

Thank you for fixing this!

onPress={props.onShowPluginInfo ? onPress : null}
testID='plugin-card'
disabled={!props.isCompatible}
disabled={false}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disabled is an optional property so I think we can just remove it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

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

Successfully merging this pull request may close these issues.

Mobile: When installing a plugin from file which is incompatible on mobile, it cannot be uninstalled

3 participants