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

Safari crashes when print dialog is cancelled and then print is attempted again. #78

Closed
macsupport opened this issue Sep 15, 2017 · 7 comments
Labels

Comments

@macsupport
Copy link

If I click a print button using the plugin (this happens on your example page as well), and then cancel the print job, When I click Print a second time, I get a dialog
This webpage is trying to print. Do you want to print this webpage? Print or Cancel.
Safari then crashes if I click Print rather than Cancel.

@CitizenOfRome
Copy link

CitizenOfRome commented Sep 16, 2017 via email

@macsupport
Copy link
Author

window.print(); works as expected. Safari version 10.1.2

@CitizenOfRome
Copy link

Sounds like an bug with the browser itself - have you tried asking in any product forums?
What version of Mac are you on?

@Lefystore
Copy link

Lefystore commented Oct 24, 2017

This bug is still happening all the time on Safari, it's almost imposible to print more than once without refreshing the page. Using macOs Sierra V10.12.6 and Safari 11.0

@CitizenOfRome
Copy link

CitizenOfRome commented Oct 24, 2017

@Lefystore Kindly let me know the following

  • What version of Safari & OS are you on?
  • Could you describe in a step-by-step manner what exactly is happening and at what point the browser crashes?
  • Are you able to replicate the same on the demo page - https://doersguild.github.io/jQuery.print/demo/

Thanks!

@CitizenOfRome
Copy link

@Lefystore Also does the iframe: true option affect this in any way?

@Lefystore
Copy link

@Sathvikp Sure

  • Using macOs Sierra V10.12.6 and Safari 11.0.
  • Just try to print any element like $('#elem').print();, the first time you try it works fine, then you cancel the printing dialog and press the printing button again and Safari alerts that the page is trying to print, if you accept the browser crashes and close.
  • It does happen on the demo too
  • Also happens using the iframe option

It doesn't matter how you call the $(el).print() function, it works once, then crashes

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

No branches or pull requests

3 participants