WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
50630
REGRESSION (
r73340
-73429?): A label is printed blank at fedex.com
https://bugs.webkit.org/show_bug.cgi?id=50630
Summary
REGRESSION (r73340-73429?): A label is printed blank at fedex.com
Sveto
Reported
2010-12-07 07:45:59 PST
Created
attachment 75815
[details]
Fedex label in PDF I print extensively Fedex labels created from the web interfaces of Fedex.com. As of build 73429, once the label (a mixture of text and images) has been generated and the standard Safari printing dialog pops up, there is a blank page in the preview and it generates a blank page being on a paper, or saved as a PDF. Returning to the previous build solves the problem. I imagine printing will be broken for more things, however I can not test it further since that bug breaks completely my working flow. To elaborate further on the subject, Fedex uses standard javaScript to assemble the labels which as said contain images combined with text. No plugins are required to create a label and it works on all browsers (Safari, Opera,Firefox, IE). Also NO flash is being used for generating/displaying the labels. I'm attaching a label saved in pdf, generated with the previous working build.
Attachments
Fedex label in PDF
(28.58 KB, application/pdf)
2010-12-07 07:45 PST
,
Sveto
no flags
Details
Source of Fedex page with the created label
(53.26 KB, text/html)
2010-12-09 10:10 PST
,
Sveto
no flags
Details
Picture of the generated label before printing
(75.90 KB, image/jpeg)
2010-12-09 10:16 PST
,
Sveto
no flags
Details
Picture of the label at the moment of printing
(82.87 KB, image/jpeg)
2010-12-09 10:17 PST
,
Sveto
no flags
Details
Pic of Element Inspector over the "Print" button
(148.75 KB, image/jpeg)
2010-12-09 10:28 PST
,
Sveto
no flags
Details
Picture at printing stage (the correct way with r73340)
(128.29 KB, image/jpeg)
2010-12-15 12:40 PST
,
Sveto
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2010-12-08 13:05:04 PST
Could you please provide step by step instructions to reproduce this bug? From the regression range, one can't help but wonder if the fix for
bug 50502
broke this.
Sveto
Comment 2
2010-12-09 08:52:59 PST
Reproducing the bug is very easy. Once the label is ready, or probably any other text/image combination you invoke the printing dialog. In the small preview one usually can see what is being printed, instead in the case with the broken build the preview shows a white (blank) window, and if one further proceeds to create a PDF file (instead of printing on a piece of paper for example), than the resulting file will be also blank compared to the attachment here.
Pavel Feldman
Comment 3
2010-12-09 09:03:57 PST
(In reply to
comment #2
)
> Reproducing the bug is very easy. Once the label is ready, or probably any other text/image combination you invoke the printing dialog. In the small preview one usually can see what is being printed, instead in the case with the broken build the preview shows a white (blank) window, and if one further proceeds to create a PDF file (instead of printing on a piece of paper for example), than the resulting file will be also blank compared to the attachment here.
Could you confirm that it still fails on nightly? I don't have Fedex labels to print...
Sveto
Comment 4
2010-12-09 10:10:55 PST
Created
attachment 76081
[details]
Source of Fedex page with the created label
Sveto
Comment 5
2010-12-09 10:16:25 PST
Created
attachment 76084
[details]
Picture of the generated label before printing
Sveto
Comment 6
2010-12-09 10:17:16 PST
Created
attachment 76086
[details]
Picture of the label at the moment of printing
Sveto
Comment 7
2010-12-09 10:19:09 PST
I just tested with
r73490
and yes the problem persists. I tested also with another page where I generate labels for Fedex and UPS. The page is ftd.com and although the coding there is very IE oriented and plays very ugly with Safari, I was able to reproduce the same error. It seems that it only happens when the page offers a "Print" button, which uses instructions that do not pass the data further to the printing system, however having the label displayed and trying with the proper printing system of Webkit also goes blank. If I try to print normal pages all seems to work ok, so that makes nailing down the bug more difficult. One thing is for sure, it works in all browsers and it works in webkit
r73429
and prior. The 2 new builds after that broke the functionality. I'm attaching here the source code of the page where Fedex generates the label and also a printout from Grab before I try to print and after I try so you have a better idea of the problem. In the source code I see a variable var labelImageSrc = "/shipping/labelAction.handle?method=doGetLabelFromCache"; which might have something to do with the problem. Also another strange thing is the iframe wants to load an empty html file. Please study the source code and let me know if I can be of further assistance.
Sveto
Comment 8
2010-12-09 10:28:48 PST
Created
attachment 76087
[details]
Pic of Element Inspector over the "Print" button
Sveto
Comment 9
2010-12-14 09:27:14 PST
Sorry guys, just tested
r73886
and the bug persists without a change. Please fix it since I won't be able to keep testing future builds. I'm stuck at
r73340
I have attached here the source code of the Fedex page and print outs to illustrate the issue. I don't know what else can I provide to facilitate you. The new Webkit builds are the only once that fail, all other browsers are working good, that must tell you something.
Alexey Proskuryakov
Comment 10
2010-12-14 12:18:15 PST
Could you please double check that
r73429
was the very first nightly that had this problem? You can download old nighties from <
http://nightly.webkit.org/
>, and run them directly from a mounted disk image, without installation.
Alexey Proskuryakov
Comment 11
2010-12-14 12:23:13 PST
<
rdar://problem/8768070
>
Pavel Feldman
Comment 12
2010-12-14 12:30:00 PST
(In reply to
comment #11
)
> <
rdar://problem/8768070
>
My suspect is
http://trac.webkit.org/changeset/73385
. See
http://trac.webkit.org/changeset/73385#file202
- numbers for printing changed a lot. And the change is big :)
Alexey Proskuryakov
Comment 13
2010-12-14 12:34:00 PST
See also:
bug 50970
!
Dave Hyatt
Comment 14
2010-12-14 15:16:16 PST
This might be fixed by 50970. We'll just have to see, since I don't have any clear steps to reproduce.
Sveto
Comment 15
2010-12-15 12:35:30 PST
I tested today again the latest builds. Starting with
r73429
all the 3 newest once suffer from the bug. The last working build (which I keep using daily) is
r73340
I tried today to get a testing account with Fedex, so you guys can experience it first hand, but ended with nothing. Fedex is extremely uncooperative. The only thing I can add to the data above is a view at the moment of printing the label with the last working build, so you can compare with what I already attached here. Well you guys have the source code too, surely someone can read though it and get an idea of where the printing system fails after the latest changes.
Sveto
Comment 16
2010-12-15 12:40:34 PST
Created
attachment 76680
[details]
Picture at printing stage (the correct way with
r73340
)
Alexey Proskuryakov
Comment 17
2010-12-15 13:27:00 PST
Thank you for testing the historic nightlies! Per
comment 14
, there is a decent chance that this is fixed in
r74063
- but that revision isn't in the nightlies yet at the moment.
Sveto
Comment 18
2010-12-20 06:50:16 PST
Tested
r74228
it has no fix, with this webkit takes the crown as being the only browser out there that has such a bug with a likely zero hope of getting it fixed in the near future. It is sad since later you will guaranteed introduce it to the next Safari update.
Sveto
Comment 19
2010-12-20 13:43:28 PST
You guys have really messed something fundamental in printing starting
r73429
I just tested version 3.1.2 of Safari on another computer and everything works like a charm with Fedex.
Sveto
Comment 20
2011-01-09 13:51:33 PST
Ok, guys. Thank you for the effort. As of build
r75294
this bug has been fixed. Keep up the excellent work.
Alexey Proskuryakov
Comment 21
2011-01-09 13:56:52 PST
Per the above comment, fixed some time between
r74228
and
r75294
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug