Last used files crash on openFileChooserDialog in TideSDK

491 Views Asked by At

I work with openFileChooserDialog() in TideSDK:

Ti.UI.openFileChooserDialog(callbackFunc, options);
callbackFunc = function(filenames){  
    fileSelected = filenames[0];
    console.log('---');
    console.log(fileSelected);
    console.log('---');
};
var options = {  
   multiple: false,  
   title: "Select files to open...",  
   types: ['txt'],  
   typesDescription: "Documents",  
   path: Ti.Filesystem.getUserDirectory()  
};

Everything is ok when i Choose file on my disk, but... I use Linux Mint 13 x64 Mate and I have "recent opened files" helper on my files dialogs. When I choose file from these fields my app on TideSDK, confirm by OK button, app crash :( Is dependent from my System or TideSDK? Is any solution for this on Linux?

recent files on file chooser dialog screen

2

There are 2 best solutions below

0
On

I've fixed this bug in my fork and made pull request: https://github.com/TideSDK/TideSDK/pull/233

0
On

This appears to be an open issue with TideSDK: https://github.com/TideSDK/TideSDK/issues/196