Index out of array error when logging in to a mac
TheNetStriker opened this issue · comments
TheNetStriker commented
I'am using VncSharp to connect to my mac. Since a few years Apple has implemented a login screen to select which user to log on. This screen loads, but after I enter my passwort I get a disconnect event. I traced the error in the code and found the following error:
Index was outside the bounds of the array
VncSharp.Framebuffer.set_Item(Int32 index, Int32 value) in d:\Sourcesafe\RDPConsoleWpf\VncSharp\Framebuffer.cs:Zeile 71.
VncSharp.Encodings.EncodedRectangle.FillRectangle(Rectangle rect) in d:\Sourcesafe\RDPConsoleWpf\VncSharp\Encodings\EncodedRectangle.cs:Zeile 186.
VncSharp.Encodings.ZrleRectangle.Decode() in d:\Sourcesafe\RDPConsoleWpf\VncSharp\Encodings\ZrleRectangle.cs:Zeile 72.
VncSharp.VncClient.GetRfbUpdates() in d:\Sourcesafe\RDPConsoleWpf\VncSharp\VncClient.cs:Zeile 394.
Maybe this error occurse because after the login screen the screen size is adusted to the desktop size. Could you please fix this error?
TheNetStriker commented
It seams that after the latest mac updates the vnc screen does not resize any more after the login screen. Maybe this was a mac related bug?