Unhandled expection after installing NightVisionAddin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pinta |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I have installed latest Pinta 2.2-dev from master repository https:/
1. On top rigth. Click on "humburger" menu.
2. Add-ins | Add-ins Manager
3. On left panel select "Night Vision Effect" and install it.
4. Close down Pinta and reopen. Error message appears with detailed message:
System.
at NightVisionAddi
at Pinta.MainWindo
at Mono.Addins.
at Mono.Addins.
at Mono.Addins.
at Mono.Addins.
at Pinta.MainWindo
at Pinta.MainClass
at GObject.
at GObject.
5. Clicking on OK button and on new image icon and the error appears with unhandled expection. It looks like Pinta gets into "corrupted" unusable state.
6. To get Pinta of of unusable state I have uninstalled NigthVision plug-in and restarted Pinta.
Conclusions:
a) It looks like Night Vision Effect is not adjusted to Pinta 2.2 version.
b) Pinta 2.2 should somehow recognize this add-in is not compatible with current version and not allow to install it in the first place. Do we have some version compatibility info at each of add-ins to check?
Yeah, it looks like it would be good to add some better error handling to avoid having the unhandled exception put Pinta into a bad state
In this particular case, the issue is that the Night Vision effect (and other add-ins) were updated earlier in the Pinta 2.2 development cycle when I was restoring support for add-ins, but there have been changes since that cause incompatibility. I'll upload new builds of the addins once the translations are updated
Add-ins can specify a dependency on a specific version of Pinta (in this case, the Night Vision Effect's latest version requires Pinta 2.2), but development builds can have problems. The release checklist requires updating all the addins for the latest release so this shouldn't be an issue for normal users though