Skip to content

extensionSystem: Check if mode is supported when loading

Don't try to initialize and then enable an extension if it is not supported in the current mode. Otherwise the extension will not be initialized, and the initial ERROR state is not cleared. Once it is in ERROR state we can't enable it anymore when we switch mode. Instead, leave the extension in INITIALIZED state, so that it will be initialized when appropriate. This happens for extensions that support the unlock-dialog mode but not the user mode.

Edited by Alessandro Bono

Merge request reports