0xC0000054/gmic-8bf

Fix error handling for hosts that ignore the plug-in error codes

0xC0000054 opened this issue · 0 comments

A number of popular host applications silently ignore the generic error codes that Photoshop-compatible plugins can return to the host instead of showing the user an appropriate error message.
Examples include: Affinity Photo version 1.9, IrfanView and XnView.

The fix would be to change the plugin so that it will show an error message without relying on the host to properly handle the generic error codes.
Another benefit of this is that it can provide the user with a much better description of the problem.

Related to https://github.com/dtschump/gmic/issues/285#issuecomment-775811245