Summary: | window.print does not work | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Niranjan Rao <nhrdls> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED WORKSFORME | ||||||
Severity: | Normal | CC: | bugs-noreply, mayurk.vk, mcatanzaro, webkit | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Attachments: |
|
Experimented with version 2.2.3. Code works correctly with 2.2.3 but does not work with 2.2.4 Tested on : Epiphany : 3.33.1-1375a8e6d Webkit 2.24.1 The test case works. |
Created attachment 223386 [details] Test case showing print problem On Ubuntu 12.04/64bit, using webkit gtk release 2.2.4. Visit any site in mini browser application. Open inspector, execute command window.print();. Nothing happens. Attached file shows different variation of same problem. Load the file in mini browser, click on the print link. Nothing happens. Try clicking second time and you get the print dialog box as expected and then it works. It should be showing print dialog box after first click. Based on some more experiments, it looks like its intialization problem. Something is getting initialized in first run that latter run uses. However first does not return at all.