Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload button instead of select on folder picker nwdirectory #6610

Closed
gpetrov opened this issue May 10, 2018 · 12 comments
Closed

Upload button instead of select on folder picker nwdirectory #6610

gpetrov opened this issue May 10, 2018 · 12 comments

Comments

@gpetrov
Copy link

gpetrov commented May 10, 2018

NWJS Version : 0.30.2
Operating System : Only Windows 10 64 bit
On Mac OSX this is working fine

Expected behavior

Open System Select Folder dialog with "Select" button and "Create Folder" buttons

Actual behavior

Select Folder dialog shows wrong button "Upload" instead of "Select" and is also missing the Create Folder" button

How to reproduce

<input id="folder-open-dialog" type="file" nwdirectory nwworkingdir="" nwdirectorydesc="Please select a folder" role="hidden" />

upload_instead_select
Sorry for the localized dutch screenshot - but it should be clear 😄

Maybe related to:
#5265

Test files:
folder_picker_bug.zip

@Christywl
Copy link
Contributor

I can reproduce this issue on Windows with nwjs-sdk-v0.30.3:
image

nwjs-sdk-v0.28.3
image

It works fine on Linux and Mac .

@gpetrov
Copy link
Author

gpetrov commented May 14, 2018

@rogerwang could you please check this? is a simple enum to fix. I will hate to go back to 0.28.3 for just this simple folder picker ... but it is very confusing to our users.

@rogerwang
Copy link
Member

rogerwang commented May 14, 2018 via email

@rogerwang rogerwang added the WIP label May 14, 2018
@rogerwang
Copy link
Member

This is fixed in git and will be available in the next nightly build.

@premalatha-bv
Copy link

Issue still exists with 0.37.0 version too.
If it is fixed in 0.30.0 version. Could you please move the changes to 0.37.0 version too.

Am facing same issue with 0.37.0 version.

@ffanny
Copy link
Member

ffanny commented Mar 28, 2019

I can reproduce this with nwjs-sdk-win-v0.36.0&v0.37.0. It works well with v0.35.5.

@ffanny ffanny reopened this Mar 28, 2019
@rogerwang
Copy link
Member

Thanks.

@ffanny we should find a way to add this to automatic tests.

@ffanny
Copy link
Member

ffanny commented Mar 29, 2019

Thanks.

@ffanny we should find a way to add this to automatic tests.

Will try to add autotest soon.

@premalatha-bv
Copy link

Please let us know, If this changes has been added in 0.37.0 version? or any new version released for same changes? It would be very helpful for us to decide, whether we need to change to older version or continue with latest version.

@rogerwang
Copy link
Member

It will be fixed on 0.37 branch and released with 0.37.2 soon.

@rogerwang
Copy link
Member

This is fixed in git and will be available in the next nightly build.

@rogerwang
Copy link
Member

The fix was built here: https://dl.nwjs.io/live-build/nw37/04-01-2019/8a1cce4ef/v0.37.2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants