If you start dragging any file/folder inside a File Open dialog (ie. hxd.File.browse), it crashes HL.
Steps to reproduce:
- Create an Open File dialog:
hxd.File.browse( function(browser) {
trace("open: "+browser.fileName);
});
- Run the app with VScode debugger linked
- Drag any file/folder inside this dialog
- Boom
hl.UI.chooseFile (c:\projects\haxetools\haxe\std\hl\UI.hx:209)
hl.UI.loadFile (c:\projects\haxetools\haxe\std\hl\UI.hx:168)
hxd.File.browse (c:\projects\haxetools\haxe\lib\heaps\deepnight\hxd\File.hx:100)
<local function> (c:\projects\labs\fileBrowser\src\Main.hx:12)
<local function> (c:\projects\haxetools\haxe\std\haxe\Timer.hx:143)
<local function> (c:\projects\haxetools\haxe\std\haxe\Timer.hx:76)
haxe.MainLoop.tick (c:\projects\haxetools\haxe\std\haxe\MainLoop.hx:174)
hxd.System.runMainLoop (c:\projects\haxetools\haxe\lib\heaps\deepnight\hxd\System.hl.hx:134)
<local function> (c:\projects\haxetools\haxe\std\haxe\Timer.hx:143)
<local function> (c:\projects\haxetools\haxe\std\haxe\Timer.hx:76)
haxe.MainLoop.tick (c:\projects\haxetools\haxe\std\haxe\MainLoop.hx:174)
haxe.EntryPoint.processEvents (c:\projects\haxetools\haxe\std\haxe\EntryPoint.hx:99)
haxe.EntryPoint.run (c:\projects\haxetools\haxe\std\haxe\EntryPoint.hx:125)
If you start dragging any file/folder inside a File Open dialog (ie. hxd.File.browse), it crashes HL.
Steps to reproduce: