ImageGlass icon indicating copy to clipboard operation
ImageGlass copied to clipboard

Can not open and display any images in ImageGlass 9.3.1.518 (64-bit)

Open cdysthe opened this issue 1 year ago • 29 comments

System information

  • Windows OS version: Windows 11
  • ImageGlass version: 9.3.1.518 (64-bit)
  • ImageGlass release: Store / Classic? Store

To Reproduce

Steps to reproduce the behavior:

  1. Set file associations
  2. Click on an image in Windows Explorer

Actual behavior

  • Application opens with a blank screen. No image loaded. The same happens if I open an image from the ImageGlass application with File > Open... The application is currently useless.

Expected behavior

  • The image clicked on or opened should display in ImageGlass

cdysthe avatar May 16 '25 18:05 cdysthe

same with Win10 and ImageGlass_9.3.1.518_x64.msi on my system. the release before works.

wiltet avatar May 16 '25 18:05 wiltet

Just updated to the latest 518 and it drops a crash dump when opening

ImageGlass.exe.14552.dmp

rugabunda avatar May 16 '25 21:05 rugabunda

Same here.

Version 9.3.1.518 don't start. Nothing happens.

Uninstall and a new install doesn't help me. Can't see program in task manager after double-click. Used .msi-Package. Now with the .zip-Version it starts but with the IShellView-Bug. No problems with ImageGlass_9.2.0.1208_x64.msi

Version: ImageGlass v9.3.1.518
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.26100.0 64-bit

Error:
The method or operation is not implemented.

System.NotImplementedException: The method or operation is not implemented.
at Windows.Win32.UI.Shell.IShellBrowser.QueryActiveShellView(IShellView& ppshv)
at D2Phap.ExplorerView.GetTabViewPath(Boolean forSearchQuery)
at D2Phap.ExplorerView.GetTabViewPath()
at ImageGlass.Base.FileSystem.FileFinder.<>c__DisplayClass11_0.b__0(ExplorerView ev) in D:_GITHUB@d2phap\ImageGlass\Source\Components\ImageGlass.Base\FileSystem\FileFinder.cs:line 262
at D2Phap.EggShell.WithOpeningWindows(Predicate1 fn, Boolean includeDesktop) at ImageGlass.Base.FileSystem.FileFinder.GetShellFolderView(String rootDir, ExplorerView foregroundShell) in D:\_GITHUB\@d2phap\ImageGlass\Source\Components\ImageGlass.Base\FileSystem\FileFinder.cs:line 260 at ImageGlass.Base.FileSystem.FileFinder.StartFindingFiles(IEnumerable1 dirs, Boolean searchSubDirectories, Boolean includeHidden, Predicate1 filterFn, Func2 nonShellSortFn) in D:_GITHUB@d2phap\ImageGlass\Source\Components\ImageGlass.Base\FileSystem\FileFinder.cs:line 98
at ImageGlass.Base.FileSystem.FileFinder.StartFindingFiles(ExplorerView foregroundShell, IEnumerable1 dirs, Boolean searchSubDirectories, Boolean includeHidden, Predicate1 filterFn, Func2 nonShellSortFn) in D:\_GITHUB\@d2phap\ImageGlass\Source\Components\ImageGlass.Base\FileSystem\FileFinder.cs:line 64 at ImageGlass.FrmMain.LoadImageList(IEnumerable1 inputPaths, String currentFilePath) in D:_GITHUB@d2phap\ImageGlass\Source\ImageGlass\FrmMain.cs:line 534
at ImageGlass.FrmMain.PrepareLoading(String inputPath, Boolean disposeForegroundShell) in D:_GITHUB@d2phap\ImageGlass\Source\ImageGlass\FrmMain.cs:line 407
at ImageGlass.FrmMain.LoadImagesFromCmdArgs(String[] args) in D:_GITHUB@d2phap\ImageGlass\Source\ImageGlass\FrmMain.cs:line 375
at ImageGlass.FrmMain.FrmMain_Load(Object sender, EventArgs e) in D:_GITHUB@d2phap\ImageGlass\Source\ImageGlass\FrmMain\FrmMain.Configs.cs:line 306
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean ignoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at ImageGlass.UI.ModernForm.WndProc(Message& m) in D:_GITHUB@d2phap\ImageGlass\Source\Components\ImageGlass.UI\Forms\ModernForm.cs:line 229
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)

polilla avatar May 16 '25 21:05 polilla

Seeing similar behavior in that IG opens to a blank screen when I double-click on an associated image format. However, File-Open and dragging an image into the open/blank window works.

jradwan avatar May 17 '25 00:05 jradwan

Just updated to the latest 518 and it drops a crash dump when opening

ImageGlass.exe.14552.dmp

@rugabunda I debugged your dmp file, the error is about "D2Phap.EggShell.dll" library is not found. Can you verify the IG installed folder contain this file? and the file version (1.0.516?).

You can try uninstalling and reinstalling IG if it helps

Image

d2phap avatar May 17 '25 04:05 d2phap

@cdysthe @wiltet @polilla @jradwan

  1. Can you help to
  • check Event Viewer and send the error details about ImageGlass if any
  • and record a video when the error happens?
  1. Try disabling "Use Explorer sort order if possible" setting: Open %LocalAppData%\ImageGlass\igconfig.json and set ShouldUseExplorerSortOrder to false.
  2. Check if you're using a third-party apps to replace File Explorer, or modify UI/functions of File Explorer

d2phap avatar May 17 '25 04:05 d2phap

Just updated to the latest 518 and it drops a crash dump when opening ImageGlass.exe.14552.dmp

@rugabunda I debugged your dmp file, the error is about "D2Phap.EggShell.dll" library is not found. Can you verify the IG installed folder contain this file? and the file version (1.0.516?).

You can try uninstalling and reinstalling IG if it helps

Image

ImageGlass 9.3.0.514 works

Reinstalling 518 problem returns.

Faulting application name: ImageGlass.exe, version: 9.3.1.518, time stamp: 0x67fe0000 Faulting module name: KERNELBASE.dll, version: 10.0.26100.4061, time stamp: 0xe6128e90 Exception code: 0xe0434352 Fault offset: 0x00000000000c9f0a Faulting process id: 0x1E5C Faulting application start time: 0x1DBC6EE8D3EDD10 Faulting application path: C:\Program Files\ImageGlass\ImageGlass.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: 0afb1e03-f14e-4915-8b77-58bf3eed4836 Faulting package full name: Faulting package-relative application ID:

Image

Application: ImageGlass.exe CoreCLR Version: 9.0.525.21509 .NET Version: 9.0.5 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException: Could not load file or assembly 'D2Phap.EggShell, Version=1.0.516.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. File name: 'D2Phap.EggShell, Version=1.0.516.0, Culture=neutral, PublicKeyToken=null' at ImageGlass.Program.Main()

Image

Modifying ShouldUseExplorerSortOrder did not fix the problem; reverting to the previous version fixed the problem, never had this problem previously.

Never had any compatibility issues with StartAllBack and ImageGlass prior to 518.

rugabunda avatar May 17 '25 05:05 rugabunda

Using 518 D2Phap.EggShell.dll does not exist in imageglass folder.

rugabunda avatar May 17 '25 05:05 rugabunda

For whatever reason doing a repair install works, but a standard install doesn't.

D2Phap.EggShell.dll appears on repair install.

rugabunda avatar May 17 '25 05:05 rugabunda

Had the same issue but after a repair install it works too.

Yoshlix avatar May 17 '25 06:05 Yoshlix

Confirmed same problem and solution on windows 10. Tried opening an image, window never appeared. Checked in task manager, the ImageGlass.exe process would briefly appear for about a second, then vanish. Checked the install folder, D2Phap.EggShell.dll was missing. Did a repair, D2Phap.EggShell.dll is in place and images open as expected.

VariableVixen avatar May 17 '25 06:05 VariableVixen

Updated build files for ImageGlass 9.3.1.518. Basically, I renamed D2Phap.EggShell.dll to D2Phap.EggShell-x64.dll to make sure the MSI installer won't cache it.

You can redownload and install it.

d2phap avatar May 17 '25 11:05 d2phap

The new installer didn't fix it for me. I can see D2Phap.EggShell-x64.dll in the ImageGlass folder. No errors in the event log.

jradwan avatar May 17 '25 13:05 jradwan

got the same issue, 9.3.1.518 win 10 ltsc opening any file directly with image glass results in a blank page but once you drag a file into the window not only is the correct file displayed but other files in the given folder also become viewable, though direct opening remains broken (also cant set IG as default image viewer but idk if that's relevant)

Rolling back to 9.2.0.1208 fixed the issue

l-imei avatar May 17 '25 16:05 l-imei

Tired of this broken app..

Duxtorm avatar May 17 '25 18:05 Duxtorm

@jradwan, @Hoodie0101 I can't help if you don't provide the information I need https://github.com/d2phap/ImageGlass/issues/2142#issuecomment-2888077904

@Duxtorm Your comment does not add any value here, feel free to use other apps and learn how to improve your etiquette!

d2phap avatar May 18 '25 01:05 d2phap

@d2phap

There are no messages in the Event Viewer (after installing the updated ImageGlass 9.3.1.518) and "Use Explorer sort order if possible" is already set to false. I am not using an 3rd party File Explorer apps or mods. In case it matters, I am in the Windows 11 Beta channel, so my current build is 26120.3964.

jradwan avatar May 18 '25 01:05 jradwan

@jradwan then could you please record a video of the bug? I don't use Windows Insider, not sure if any changes in the beta channel break the app. My suspect is the "Use Explorer sort order" is not functioning. Also, have you tried repair the installer like others mentioned?

d2phap avatar May 18 '25 01:05 d2phap

I did try the repair (as mentioned above) and it did not fix anything. I also tried your updated installer, no change.

Here's a video of the issue as requested: https://youtu.be/Qnd0ll8pC-g

jradwan avatar May 18 '25 02:05 jradwan

@jradwan then could you please record a video of the bug? I don't use Windows Insider, not sure if any changes in the beta channel break the app. My suspect is the "Use Explorer sort order" is not functioning. Also, have you tried repair the installer like others mentioned?

Can no longer replicate, I have no fucking clue lmao it just werks

l-imei avatar May 18 '25 02:05 l-imei