Hey Ashley, hope all is well for you.
Problem Description
When using the NWjs plugin, and using the "Show Open Dialog" action, and then selecting something, then checking the "ChosenPath" expression, it always shows the incorrect path as "C:\fakepath\" followed by the file's name that you picked in the Open dialog window. This means you cannot get the path of any files at all.
Attach a Capx
https://dl.dropboxusercontent.com/u/776 ... enBug.capx
Description of Capx
This is a quick capx containing a button and a text box. The button triggers the open dialog window and the textbox shows the ChosenPath.
Steps to Reproduce Bug
- 1. Run this in NodeWebkit.
- 2. Click the button and select any file in any location.
- 3. The Text object will return the path detected.
Observed Result
You will see the Text object always begins with "C:\fakepath\" and does not contain your file's path at all.
Here's a screenshot. I selected a file in the Open dialog window named "a.png", located at "I:\Images\a.png". This is what is returned.
Expected Result
Should return the path of the file.
Affected Browsers
Node Webkit only.
Operating System and Service Pack
Windows 7 64-bit
Construct 2 Version ID
R219