Closed Bug 1112012 Opened 11 years ago Closed 6 years ago

Firefox does not print web-pages without <title> and with huge URLs, in Ubuntu. (i.e. no pages come out of the printer)

Categories

(Core :: Printing: Output, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: alexthreed, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [layout:print-triage:p1])

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/39.0.2171.65 Chrome/39.0.2171.65 Safari/537.36 Steps to reproduce: 1) Open page without title tag 2) Ctrl-P 3) Select printer (not "print to pdf") and click "print" button in "print" dialog. Firefox 34.0 / Ubuntu 14.04.1 LTS This problem appears only on linux and only on real printer. - "Print to pdf" works as expected - Firefox 34 on windows print pages without titles as expected
Thanks for filing a bug. Question: What printer are you using? (This sounds like it may be a buggy interaction somewhere between Firefox and that specific printer / printer-driver since Ubuntu's PDF printer (which you say works) is mostly the same as a "real printer" from Firefox's perspective.) Also, could you attach a testcase that you've confirmed is affected? I can't reproduce the bug with this simple testcase: data:text/html,hello_do_i_print And have you tried a fresh Firefox profile? (That might reveal that one of the print settings you've configured in your main profile is required to trigger the bug.) https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles can help with that.
Testcase: <html> <head><!--title>Uncomment to print</title--></head> <body>Hello!</body> </html> It seems that local pages (file:// and data:) printed without problems, so you should load testcase using http protocol. I've reproduced this issue on a different host and printer: Ubuntu 14.10 / Firefox 34.0 / Samsung ML-2510
Here's the reporter's testcase from comment 2. (For future reference, it's better if you can attach testcases as files [or data URIs] so they can be viewed directly, rather than pasting HTML inline into a comment.)
Can you reproduce the bug, when viewing the attachment that I just posted? (I can't.)
Flags: needinfo?(alexthreed)
Your attachment printed without issues. Try this link: https://bug1112012.bugzilla.mozilla.org/attachment.cgi?id=8537344&1111111111111111111111111111111111111111111111111111111111111+&1111111111111111111111111111111111111111111111111111111111111+&1111111111111111111111111111111111111111111111111111111111111+11 One more "if" for this issue: page is not printed only if url is longer than 256 chars (and has no title, and we are using linux)
Flags: needinfo?(alexthreed)
OK, I think I reproduced the bug. To confirm: the buggy result you're seeing is that *nothing at all is printed*, right? It's as if no print job was sent to the printer? (That's what I'm seeing.)
yes, nothing at all is printed
Attachment #8537344 - Attachment description: reporter's testcase 1 → reporter's testcase 1 (needs a bunch of extra characters appended to URL to trigger the bug -- just use the "URL" field on this bug page)
OK, thanks. I can reproduce this in current Nightly, as well as in an old Firefox 16 nightly that I have lying around from mid-2012 -- so, not a regression (or not a recent one at least).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: 34 Branch → Trunk
(FWIW, I just filed bug 1112298 on another bug I ran into while poking around at this.)
Summary: Firefox does not print pages without title in Ubuntu → Firefox does not print web-pages without <title> and with huge URLs, in Ubuntu
Summary: Firefox does not print web-pages without <title> and with huge URLs, in Ubuntu → Firefox does not print web-pages without <title> and with huge URLs, in Ubuntu. (i.e. no pages come out of the printer)
Thanks -- though, I can't access that URL. I get a "Firefox can't find the server at mafalda" error page -- did you mean "mafalda.com" or something? Or perhaps "mafalda" is the hostname for a machine inside of your corporate internal network, which isn't exposed to the rest of the world? (Actually, now Firefox is auto-fixing the URL to be mafalda.com when I try to load that URL, but it still gives me a 404 error, so mafalda.com is likely not the server you intended to point us at. Also, incidentally, print to PDF worked on my 404 error page (whose URL matched the one in comment 10, aside from "www" and ".com") -- so I can't reproduce the pdf-not-printing issue.) Regardless, sounds likely to be a variant of the original issue, so not a huge deal if you can't find a working verison of that URL on the public internet.
We have the same problem: in our internal network are quite a few documents with long urls that won't print. Glad I found this bugreport.
Whiteboard: [layout:print-triage:p1]
Blocks: 1601429

This works for me in Nightly on Linux. Can anyone else still reproduce this bug?

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: qe-verify?
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: