Skip to content

[BUG] Crash when trying to apply any plugin effect #143

@adriengivry

Description

@adriengivry

Describe the bug
The application crashes when trying to apply an effect coming from qpv-plugins

Info:

  • App version: b4ec896
  • OS: Windows 11 Pro 23H2

To Reproduce
Steps to reproduce the behavior:

  1. Open the app
  2. Load an image
  3. Click on "Effects" in the toolbar
  4. Click on any of the effect in the list
  5. See error

Expected behavior
Shouldn't crash

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
The reference to the qpv-plugins.dll is missing. Adding some kind of reference to qpv-plugins would fix the issue (submodule would be ideal).

Exception

System.IO.FileNotFoundException
  HResult=0x80070003
  Message=Could not load file or assembly 'C:\Users\adrie\GitHub\QuickPictureViewerPlus\quick-picture-viewer\bin\Debug\net8.0-windows\plugins\qpv-plugins\qpv-plugins.dll'. The system cannot find the path specified.
  Source=<Cannot evaluate the exception source>
  StackTrace:
<Cannot evaluate the exception stack trace>

Callstack

>	QuickLibrary.dll!QuickLibrary.PluginMenuItem.ProcessPlugin(object input, string path, bool alwaysOnTop, object secondaryArg, System.Windows.Forms.Form mainForm) Line 89	C#
 	quick-picture-viewer.dll!quick_picture_viewer.MainForm.ReloadPlugins.AnonymousMethod__0(object s, System.EventArgs e) Line 1994	C#
 	[External Code]	
 	quick-picture-viewer.dll!quick_picture_viewer.Program.Main(string[] args) Line 36	C#

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions