Todd1561 / TANWindowMgr

Reposition windows at the click of the mouse
87 stars 6 forks source link

Crash when i want save all open apps to default profile. #27

Open lukaspavelka opened 5 months ago

lukaspavelka commented 5 months ago

Crash when i want save all open apps to default profile.

Here is error from app:

`---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.9236.0 built by: NET481REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

`

lukaspavelka commented 5 months ago

+1 if is possible, can you add function: when you have opened 2 times calculator it save position for booth of calc windows?

Todd1561 commented 5 months ago

Hmm I haven't run into that before and I just tried the "save all" feature and it worked OK for me. My guess would be you're running some program that TANWindowMgr doesn't handle properly. Try closing running apps one at a time and try the save all between each to see if you can narrow down which program it doesn't like. That would give me more to go on.

As for the 2 instances of the calculator (or any app for that matter) that's a known limitation of the app for now and the foreseeable future. The way TANWindowMgr identifies programs is by their .exe file name, so multiple instances of a app would all have the same executable name. So the best we can do is to restore the position of the one that had focus most recently.

lukaspavelka commented 5 months ago

Thanks for your answer. Btw gr8 app and i already LOVE IT :D

Thx for your gr8 job.