Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cannot open images after recent update #2140

@Fennecai

Description

@Fennecai

System information

  • Windows OS version: windows 11, unsure of specific version
  • ImageGlass Version: ImageGlass v9.3.0.514
  • ImageGlass release: Store

To Reproduce

Steps to reproduce the behavior:

  1. open an image
  2. see error

Actual behavior

  • no images can open, the program immidiately crashes with an error

Expected behavior

  • I expect the program to work as it always has before. open the image etc...

Screenshots / Video / Sample image file

here's the error message:

Version: ImageGlass v9.3.0.514 (Store)
Release code: 1️⃣5️⃣🎂
Magick.NET: Magick.NET Q16-HDRI-OpenMP x64 net8.0 14.6.0
WebView2 Runtime: 136.0.3240.64
OS: Microsoft Windows NT 10.0.22631.0 64-bit

----------------------------------------------------
Error:

Specified cast is not valid.
----------------------------------------------------

System.InvalidCastException: Specified cast is not valid.
   at Windows.Win32.System.Com.IServiceProvider.QueryService(Guid* guidService, Guid* riid, Object& ppvObject)
   at D2Phap.EggShell.GetForegroundWindowView()
   at ImageGlass.Program.Main() in D:\_GITHUB\@d2phap\ImageGlass\Source\ImageGlass\Program.cs:line 136

and here is a screenshot of the error:

Image

and here is a random image for testing; although this actually happens regaurdless of what the image is or its contents or its format etc.

Image

Additional context

I have the imageglass store version set up as my default image viewer when clicking an image to open it / view it. additionally i have imagemagick and ffmpeg installed system-wide for other tasks; and since the error mentions magick, maybe thats a conflict problem? i dont know for sure. this is a great viewer though, better than all others ive tried, so i hope theres a fix soon or theres a way for me to fix it on my end soon!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions