Closed Bug 429934 Opened 17 years ago Closed 17 years ago

Print selection prints a blank page

Categories

(Core :: Printing: Output, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 430150

People

(Reporter: asdfgh19808, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 When trying to use print selection, a blank page is printed out instead of the selected text. Reproducible: Always Steps to Reproduce: 1. Select some text 2. Open print dialog box 3. Choose "Selection" as the print range 4. Print Actual Results: A blank page is printed out. Expected Results: The text that was selected should have been printed out. Print selection on the same pages works normally in Firefox 2.0.0.*
Do you have a specific URL that you're trying to print? This could be a duplicate of bug 428975 or bug 428109 (or perhaps bug 429312 if it isn't Linux-only).
Component: General → Printing
Product: Firefox → Core
QA Contact: general → printing
It works for any URL or file, including local text files. Additionally, I found that the "print preview" function built into the printer driver (Canon IP8500) reports that it will be printing a blank page. I don't believe it is a dupe of bug 428109, as even a text file with no DIV's refuses to print a selection.
asdfgh: Can you try this on the latest nightly build? I'm guessing this was a dupe of bug 402264, which has been since fixed. http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ Please test using this uber-simple testcase (as well as your own testcases): attachment 314434 [details]
Using the nightly build fixes some problems, but not all. Selecting and printing the text from attachment 314432 [details] works fine, as do local text files. Beyond that, results are mixed. Most pages not print, but cut off the top of what should be printed. For example, in the FactCheck article below when I select everything from the start of the "Summary" heading to just above Analysis, it cuts off "Summary" and prints the rest. http://www.factcheck.org/elections-2008/misleading_pennsylvania_voters.html When I try to print out a selection of this bug report page, however, it still print a blank sheet.
(In reply to comment #4) > in the FactCheck article below when I select everything from the start > of the "Summary" heading to just above Analysis, it cuts off "Summary" and > prints the rest. > > http://www.factcheck.org/elections-2008/misleading_pennsylvania_voters.html I don't see anything cut off, but the content does look like it may be shifted up into the margin area. This sounds like bug 428417. > When I try to print out a selection of this bug report page, however, it still > print a blank sheet. I can confirm that I get blank pages from print-selection when I highlight these bits on this bug: - the first line of Comment 0. - The "Blocks:" line - The "Assigned to:" line - The bold "Attachments" header However, I do get output (sometimes shifted upwards into the header) when I select these things: - The "Status" line - The "Reported by" line - The bug's title These blank pages may be related to bug 428975, or it may be a separate bug -- I'll investigate and see.
Flags: in-litmus?
(In reply to comment #5) > These blank pages may be related to bug 428975, or it may be a separate bug -- > I'll investigate and see. I'm pretty sure all the blank pages and content-shifted-upwards described in comment 4 and comment 5 are due to bug 430150, which I've just filed with some minimized testcases.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
The fix for Bug 430150 (dupe of this bug) just landed, so this bug should now be fixed.
https://litmus.mozilla.org/show_test.cgi?id=5277 was added to Litmus to cover this.
Flags: in-litmus? → in-litmus+
You need to log in before you can comment on or make changes to this bug.