Problem Description
This contains 2 bugs with the NWjs Open folder dialog together with ChosenPath and ListAt.
1. Problem:
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.
2. Problem
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
https://dl.dropboxusercontent.com/u/109921357/More%20nwjs%20bugs/Nwjs_bugs.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
Observed Result
Open dialog folder is unable to return the path to the folder.
Expected Result
Returns every single file and subfolder in the selected folder.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 7
Construct 2 Version ID
r200