Bug 14747 - Unable to print page using window.print()
Summary: Unable to print page using window.print()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Printing (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 9915
  Show dependency treegraph
 
Reported: 2007-07-24 05:23 PDT by Marek Sykora
Modified: 2007-09-29 09:55 PDT (History)
1 user (show)

See Also:


Attachments
Testcase (72 bytes, text/html)
2007-07-24 05:24 PDT, Marek Sykora
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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/>.