Bug 14747

Summary: Unable to print page using window.print()
Product: WebKit Reporter: Marek Sykora <masykora>
Component: PrintingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: PC   
OS: Windows XP   
Bug Depends on:    
Bug Blocks: 9915    
Attachments:
Description Flags
Testcase none

Description Marek Sykora 2007-07-24 05:23:47 PDT
Steps to reproduce:

1. load following www: <input type="button" value="Print this page" onClick="window.print()">
2. hit button to print currect page

Actual result: nothing happens
Expected result: dialog for choosing printer rises, you can printing

Used software: Safari 3.0.2 (522.11.3) on WinXP, Safari 3.0.2 on Tiger is not affected
Comment 1 Marek Sykora 2007-07-24 05:24:29 PDT
Created attachment 15661 [details]
Testcase
Comment 2 David Kilzer (:ddkilzer) 2007-07-24 07:48:52 PDT
I think this was fixed in r24330, which would have been made after the Safari 3.0.2 beta.

http://trac.webkit.org/projects/webkit/changeset/24330

Please try a WebKit nightly build on/after r24330 to verify the fix:  http://nightly.webkit.org/

Comment 3 Adam Roben (:aroben) 2007-07-24 10:22:58 PDT
(In reply to comment #2)
> I think this was fixed in r24330, which would have been made after the Safari
> 3.0.2 beta.
> 
> http://trac.webkit.org/projects/webkit/changeset/24330

Dave is right that this was fixed after the beta was released, though the original change that fixed it was r24252 <http://trac.webkit.org/projects/webkit/changeset/24252> (r24330 made it work correctly for subframes).
Comment 4 webkit 2007-09-29 08:42:25 PDT
I confirm this is fixed with Safari 3.0.3, but on Mac only. On Windows it still doesn't work. I've tested it with both Safari 3.0.3 and the latest WebKit nightly (r25801).
Comment 5 David Kilzer (:ddkilzer) 2007-09-29 09:55:04 PDT
(In reply to comment #4)
> I confirm this is fixed with Safari 3.0.3, but on Mac only. On Windows it still
> doesn't work. I've tested it with both Safari 3.0.3 and the latest WebKit
> nightly (r25801).

If you have created an Apple Developer Connection (ADC) account, you may log in to <http://developer.apple.com/> and download newer seeds of Safari for Windows to test.  (This works even if you only have a free "online" membership.)

Please report any bugs you find in Safari to <https://bugreport.apple.com/>.