window.print not work

3,606 views
Skip to first unread message

ande...@gmail.com

unread,
Mar 20, 2013, 4:28:51 AM3/20/13
to google-chrome-...@googlegroups.com
javascript function widnow.print is not working
When I connect to the page client script libraries SignlR
Details on SignlR here http://nuget.org/packages/signalr
When a page is connected javascript SignlR .. function widnow.print () does not open a window for printing .. but when I try to switch to another browser page shows me the page for printing.

l...@c3a.dk

unread,
Jun 7, 2013, 6:03:12 AM6/7/13
to google-chrome-...@googlegroups.com, ande...@gmail.com
I'm seeing the same thing. In our setup we have an EventSource object hooked up to an SSE stream.

Calling window.print does nothing until we break the SSE connection. Only then will the print window appear. When we let the page fall back to old school frequent polling (ie no SSE connection) window.print works as expected.

Chrome version 27.0.1453.110

Any hints on this would be greatly appreciated as our temporary fix will not be elegant (disconnect SSE stream, do the printing, refresh entire page).

/Lars Ole Simonsen

fabian...@gmail.com

unread,
Sep 2, 2013, 5:05:35 PM9/2/13
to google-chrome-...@googlegroups.com, ande...@gmail.com, l...@c3a.dk
Hi,

i have the same problem at the moment....did you find another solution to this problem?

l...@c3a.dk

unread,
Sep 3, 2013, 2:33:25 AM9/3/13
to google-chrome-...@googlegroups.com, ande...@gmail.com, l...@c3a.dk, fabian...@gmail.com
We didn't fint a better workaround than the one I mentioned. It is a pretty nasty bug in my opinion.

/LOS

Vsevolod Vlasov

unread,
Sep 5, 2013, 5:11:24 AM9/5/13
to l...@c3a.dk, Google Chrome Developer Tools, ande...@gmail.com, fabian...@gmail.com
This group is about Chrome Developer Tools.
I don't see how your problem is related to Chrome DevTools.
You should file a bug report on http://crbug.com/new



--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

l...@c3a.dk

unread,
Sep 5, 2013, 5:26:57 AM9/5/13
to google-chrome-...@googlegroups.com, l...@c3a.dk, ande...@gmail.com, fabian...@gmail.com
Good point. Done: https://code.google.com/p/chromium/issues/detail?id=285690

Feel free to chime in

/LOS
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages