Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google chrome freezes when printing a page using window print method

I have latest google chrome version -32.0.1700.107 m installed on windows 8 machine.

I am doing this:

popup = window.open();
popup.print();

This opens a new popup and a print window appears. Now, when I go back to the page from where I triggered this, it freezes and I cannot do anything there.

Here is the small fiddle for your reference. FIDDLE

Click the button and come back to the fiddle page (do not close the print page) and try typing anything in the fiddle, it will be hanged and as soon as you will close the print page, the fiddle window will get normal.

This is in Google chrome ONLY, other browsers are working smoothly. Please help.

I tried:

  1. Opening the popup in new window using window.open("","","width=800,height=600").
  2. Putting popup.close().
  3. opening it on some different OS (windows 7, XP)

But got no success

Please some kind soul help me with this issue or some work around.

like image 629
Vikas Arora Avatar asked Feb 12 '14 13:02

Vikas Arora


People also ask

Why does Chrome keep freezing when I try to print?

Google Chrome crashes while you take a print from a web page might be due to an outdated browser build on your PC. While Google Chrome automatically updates to the latest version in the background, you can force the update manually.

How do I fix print settings in Chrome?

To change the printer settings in Chrome, you first open a browser and locate the page you want to print. After locating a page to print, click the three vertical dots in the top right corner of Chrome to generate a drop-down menu with options and settings controls. Click "Print" to open the printer settings.

How do I clear my printer cache in Chrome?

Local DataFrom the “Menu” button in the upper-right corner of the Chrome window, choose “More Tools” > “Clear browsing data…“. Press “CTRL” + “Shift” + “Delete” keys in Windows or Linux, or “Command” + “Shift” + “Delete” keys on MacOS. Select “Menu” > “Settings” > “Advanced” > “Clear browsing data…“.


1 Answers

This is an issue in Google Chrome and will be fixed in Chrome 36 according to this issue.

like image 199
R. Oosterholt Avatar answered Sep 18 '22 02:09

R. Oosterholt