tablacus / TablacusExplorer

A tabbed file manager with Add-on support
https://tablacus.github.io/explorer_en.html
MIT License
953 stars 101 forks source link

[Bug] The application called an interface that was marshalled for a different thread #474

Open iamsivil opened 2 years ago

iamsivil commented 2 years ago

image

This seems to occur randomly when right clicking an executable and doing "Run As Administrator". The executable being attempted to run does not actually start. In addition the entire Tablacus Explorer application starts having severe issues (hanging, tabs never loading, script errors, suddenly exiting, etc...).

Sometimes when attempting to exit the application after it gets in this state the following dialog is received:

image

This happens on a clean install. It occurs with 'Multi process', 'Multi thread', and with both disabled as well. I am unable to consistently reproduce this but it does happen on a very regular basis. Please note that this occurs with ANY executable I attempt to "Run As Administrator". Below is the About Information/Add-ons from a clean install where I was running into this.

TE64 21.9.5 Microsoft Windows 10 Enterprise 64-bit 20H2 (10.0.19042) Dark IE/11 JS/11.0.16384 en_us 96 AMD Ryzen 9 5950X 16-Core Processor             Windows Defender
mouse 1.31,key 1.25,addressbar 1.68,filterbar 1.37,back 1.18,forward 1.18,up 1.20,treeview 1.40,toolbar 1.41,mainmenu 1.16,titlebar 1.09,tabplus 1.89,multithread 1.26,remember 1.40,undoclosetab 1.15,aboutblank 1.02,segoeicons 1.00
tablacus commented 2 years ago

That message is from AutoHotKey, so I have no information about it. What interface or script did you try to use?

Regards,

iamsivil commented 2 years ago

As I mentioned it is irrelevant to autohotkey. It happens with any program that I "Run As Administrator". The screenshot just happens to be an autohotkey script. Again, this NEVER happens when I launch any of this software from Microsoft's Windows Explorer. Only from Tablacus Explorer. Case and point:

image

The program above is a standard executable compiled from C++.

image

Here it is happening with 7-zip.

image

Here it is with sublime text.

I seem to be able to reproduce it by doing the following:

  1. Open Tablacus Explorer and navigate to the folder of an executable
  2. In Tablacus Explorer right click and launch that executable as administrator
  3. Close said program
  4. In Tablacus Explorer refresh the tab
  5. In Tablacus Explorer navigate up one directory
  6. In Tablacus Explorer navigate back to the folder with the executable
  7. Right click and launch that executable as administrator
tablacus commented 2 years ago

I tried following the steps, but it still didn't happen.

(7zFM.Exe)

Regards,