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

Blank window is not closed (target=_blank window opening on link) #5734

Closed
PriteshGajjar008 opened this issue Feb 28, 2017 · 7 comments
Closed

Comments

@PriteshGajjar008
Copy link

Read the following before submitting your issue, thank you.
OS : Mac OS X (EL capitan)
NW js version: nwjs-v0.20.3-osx-x64

Issue :

  • I have an anchor tag with href pointing some .doc/pdf file on server.
  • target=_blank is set because for PDF preview will be shown.
  • Now when we click on link which points to .doc file, a blank window opens with save-as dialog. Now when i cancel dialog, blank window does NOT closes. If you check same HTML code with chrome browser, it opens new tab for such scenario and that tab gets closed on dismissing save-as dialog.
    Expected: Same behaviour should be there with nw.js?

Attached sample example to reproduce this issue.

Sample.zip

@PriteshGajjar008
Copy link
Author

So is this a bug? OR We need to handle this programmatically?

@rogerwang
Copy link
Member

It should be a bug. Will look to fix it.

@PriteshGajjar008
Copy link
Author

Thanks!

@Christywl
Copy link
Contributor

Also reproduced on Linux and Windows with nwjs-sdk-0.20.3.

@fujunwei
Copy link
Contributor

i will take this issue, thanks.

@fujunwei
Copy link
Contributor

Do we conflict it? i have a patch on this issue nwjs/chromium.src@9fb325b

@rogerwang
Copy link
Member

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

@fujunwei fujunwei self-assigned this Mar 29, 2017
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