SteveDunn / Gleed2D

Generic Level Editor 2D
83 stars 28 forks source link

Bug when selecting a 'special' folder, e.g. Document and Settings in the texture picker control #30

Open SteveDunn opened 12 years ago

SteveDunn commented 12 years ago

FileNotFound exception as it's not a proper folder.

System.dll!System.IO.FileSystemWatcher.StartRaisingEvents() + 0x288 bytes   
System.dll!System.IO.FileSystemWatcher.Restart() + 0x43 bytes   
System.dll!System.IO.FileSystemWatcher.Path.set(string value) + 0x61 bytes  

Gleed2D.Plugins.dll!Gleed2D.Plugins.TexturePickerControl.loadFolder(string path = "c:\Documents and Settings") Line 304 + 0x13 bytes C# Gleed2D.Plugins.dll!Gleed2D.Plugins.TexturePickerControl.uiListView_MouseDoubleClick(object sender = {System.Windows.Forms.ListView}, System.Windows.Forms.MouseEventArgs e = {X = 327 Y = 45 Button = Left}) Line 277 + 0x1e bytes C# System.Windows.Forms.dll!System.Windows.Forms.Control.OnMouseDoubleClick(System.Windows.Forms.MouseEventArgs e) + 0x5d bytes
System.Windows.Forms.dll!System.Windows.Forms.ListView.WndProc(ref System.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x1c1 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x11 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x39 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 514, System.IntPtr wparam, System.IntPtr lparam) + 0x5e bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(System.IntPtr dwComponentID, int reason = -1, int pvLoopData = 0) + 0x24d bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason = -1, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.ApplicationContext}) + 0x155 bytes System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) + 0x4a bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm) + 0x31 bytes
Microsoft.Xna.Framework.Game.dll!Microsoft.Xna.Framework.WindowsGameHost.Run() + 0x9f bytes Microsoft.Xna.Framework.Game.dll!Microsoft.Xna.Framework.Game.RunGame(bool useBlockingRun = true) + 0x150 bytes Microsoft.Xna.Framework.Game.dll!Microsoft.Xna.Framework.Game.Run() + 0x23 bytes
gleed2d.exe!GLEED2D.XnaGame.Gleed2D.Core.IGame.Run() + 0x2b bytes
gleed2d.exe!GLEED2D.Program.runInDebugger() Line 120 + 0x9 bytes C# gleed2d.exe!GLEED2D.Program.Main(string[] args = {string[0]}) Line 77 + 0x5 bytes C#