This contains 2 bugs with the NWjs Open folder dialog together with ChosenPath and ListAt.
The open dialog doesn't return the path to a folder as stated in the manual.
[quote:208blwpo]Show folder dialog
Open a dialog allowing the user to pick a folder on their local system. If the user selects OK, On folder dialog OK triggers and the ChosenPath expression contains the selected folder.
Doing a simple test, I made a folder which I select with the open folder dialog. Instead of giving the path to the folder as stated in the manual. It gives a path to all the files in the folder.
Since Open dialog doesn't return the folder, ListAt(index) doesn't work with chosen path.
Replacing the chosenPath with a fixed path it works correctly.
These problems ruins a huge part of the "Open folder dialog" and listAt, since they are not compatible.
Please fix these problems its really beyond just annoying, that there are so many lacks, bugs and problems with the NWjs functionality in general.
Even if the open dialog is working as intended please make it more solid, so NWjs is able to return what users actually need and not just some random stuff. (Drive, Folder, File and Complete path as separate options, that can then be used and combined as we need them.)
Attach a Capx
Description of Capx
Just open a folder to be used with the ListAt funtionality
Steps to Reproduce Bug
Use open folder dialog, ChosenPath and ListAt
Open dialog folder is unable to return the path to the folder.
Returns every single file and subfolder in the selected folder.
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Construct 2 Version ID