1

Closed

.net exception when changing number of extended screens

description

When using Finestra with my Laptop, with an multiple displays (configured as an extended display), Finestra runs fine. But when I remove one screen and try to switch the virtual desktop, finestra produces a .net exception (see the 2 attached images)
 
This is sad, I like Finestra very much, but I need to change my display config often and this crash moves all windows to the first virtual display
 

Details from the .net exception:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VirtualDesktop.VirtualDesktopManager.get_PreviewWinSize(Int32 monitor)
at VirtualDesktop.VirtualDesktopManager.DesktopOrigin(Int32 d, Int32 monitor)
at VirtualDesktop.SwitchForm.CalcPrevRect(Int32 desktop, Rectangle prevRect)
at VirtualDesktop.SwitchForm.RenderDesktops(Int32 prevDesk)
at VirtualDesktop.SwitchForm.SwitchDesktop(Int32 prevDesk)
at VirtualDesktop.SwitchFormPlugin._Closure$__2._Lambda$__8()
 
 
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

VirtualDesktops
Assembly Version: 2.1.4277.41337
Win32 Version: 2.1.4277.41337

CodeBase: file:///C:/Program%20Files%20(x86)/Finestra/VirtualDesktops.exe

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

Z-Pixel
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Finestra/Z-Pixel.DLL

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

qi_rtaoe
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

MouseHook
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Finestra/MouseHook.DLL

Microsoft.WindowsAPICodePack.Shell
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Finestra/Microsoft.WindowsAPICodePack.Shell.DLL

WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5011 built by: Win7SP1

CodeBase: file:///C:/windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll

System.Security
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll

Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Data.SqlXml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll

System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.5420 built by: Win7SP1

CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll

Microsoft.WindowsAPICodePack
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Finestra/Microsoft.WindowsAPICodePack.DLL

PresentationCore
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5011 built by: Win7SP1

CodeBase: file:///C:/windows/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll

PresentationFramework
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.5011 built by: Win7SP1

CodeBase: file:///C:/windows/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.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:
 
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
 
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.

file attachments

Closed Apr 16, 2012 at 10:23 AM by zhuman
The problem appears to be fixed.

comments

AntiHiggsBoson wrote Apr 16, 2012 at 7:52 AM

Hi,

With the newer versions I cannot reproduce this problem, so it should be closed. I have no idea, what actually solved the problem, but it does nto occur anylonger
Thank you