Printing a page with flash content miss the flash content

Bug #117036 reported by Alexandre Racine
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Won't Fix
Medium
firefox (Ubuntu)
Won't Fix
Undecided
Unassigned
firefox-3.0 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: firefox

I am on the google analytics pages and printing pages with flash content does not work. The page itself is print, but the flash content is not. In this case, graphics with pie chart.

ProblemType: Bug
Architecture: i386
Date: Sat May 26 13:30:15 2007
DistroRelease: Ubuntu 7.04
Package: firefox 2.0.0.3+1-0ubuntu2
PackageArchitecture: i386
SourcePackage: firefox
Uname: Linux aracine-maison01 2.6.20-15-386 #2 Sun Apr 15 07:34:00 UTC 2007 i686 GNU/Linux

Revision history for this message
In , Shrir (shrir) wrote :

isn't bug 133994 covering the same issue?

Revision history for this message
In , Shrir (shrir) wrote :

*** Bug 133994 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Rods (rods) wrote :

Created an attachment (id=76591)
temporary patch

May want to put this in until we get it all working, otherwise we may get a ton
of dups.

Revision history for this message
In , Peterlubczynski-bugs (peterlubczynski-bugs) wrote :

I don't like adding temporary info because:

The size of the plugin may vary and the text may get cropped
The background color may make the string unreadable anyway.
The string would need to be localized and I believe localization freeze is tomorrow

This should probably be relnoted.

Revision history for this message
In , Rubydoo123 (rubydoo123) wrote :

putting this into the 1.0.1 bucket

Revision history for this message
In , Peterlubczynski-bugs (peterlubczynski-bugs) wrote :

*** Bug 129617 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Sujay-formerly-netscape (sujay-formerly-netscape) wrote :

updating summary

Revision history for this message
In , Peterlubczynski-bugs (peterlubczynski-bugs) wrote :

There is quite a bit of work to be done for getting plugins to show up
*correctly* in print preview. Because the plugin API does not support it, we've
somehow got to "snap a picture" of the plugin and display that. Some of the work
may have to be done in gfx or the platform widget toolkits. Pushing out to
plugins 2.0 work.

Revision history for this message
In , Bugz-jeziorek (bugz-jeziorek) wrote :
Revision history for this message
In , Jud-me (jud-me) wrote :

is this strictly a print preview problem, or are we not printing plugins/applets
at all?

Revision history for this message
In , Peterlubczynski-bugs (peterlubczynski-bugs) wrote :

this is print preview only

Revision history for this message
In , Bzbarsky (bzbarsky) wrote :

*** Bug 223889 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Bzbarsky (bzbarsky) wrote :

*** Bug 227347 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Vseerror (vseerror) wrote :

*** Bug 261449 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Vseerror (vseerror) wrote :

*** Bug 264239 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Spam-from-bugzilla (spam-from-bugzilla) wrote :

*** Bug 324001 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Spam-from-bugzilla (spam-from-bugzilla) wrote :

In bug 324001, which I've now duped to this one, I noted that print preview of PDF documents currently shows a blank page. I presume that this is covered by this bug, unless a whole-page plugin is treated significantly differently from an embedded plugin.

In the case of a whole-page non-embedded PDF, is it reasonable for Moz to do a print-preview at all? In bug 324001 I suggested that perhaps the Preview menu item should be disabled for PDF pages.

--Phil.

Revision history for this message
In , Lchiarav (lchiarav) wrote :

*** Bug 319630 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Zug-treno (zug-treno) wrote :

*** Bug 329731 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Vseerror (vseerror) wrote :

*** Bug 248936 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Martijn-martijn (martijn-martijn) wrote :

Eli, you happen to know what should be done here?
There is some obvious code in nsObjectFrame.cpp that should be removed, but that doesn't really seem to help.

Revision history for this message
In , Sharparrow1 (sharparrow1) wrote :

Fixing this is basically unworkable until there is some capability to draw a plugin to an arbitrary surface. Also, there's no point to rendering plugins in print preview until we can print them. I'm sure there's a bug somewhere about printing plugins; I can't remember the number.

Revision history for this message
In , Martijn-martijn (martijn-martijn) wrote :

Well, printing seems to work for me. At least, I tried to print a flash file to a pdf printer driver and that seemed to work. Not sure about other plugins.

Revision history for this message
In , Spam-from-bugzilla (spam-from-bugzilla) wrote :

See my comment #17; in the case of PDF (and presumably other formats) printing is handled by the plugin itself (and works), but preview isn't. So for full-page plugins I feel that print preview should be disabled in the UI.

Revision history for this message
In , Sharparrow1 (sharparrow1) wrote :

(In reply to comment #23)
> Well, printing seems to work for me. At least, I tried to print a flash file to
> a pdf printer driver and that seemed to work. Not sure about other plugins.

Sorry, I wasn't really thinking... it does work for Flash (although not much else.) The obvious fix is making the print preview case do the same thing as the print case, right? I'm pretty sure that should work, at least in simple cases. I might be forgetting something, though. (See also Bug 317447.)

(In reply to comment #24)
> See my comment #17; in the case of PDF (and presumably other formats) printing
> is handled by the plugin itself (and works), but preview isn't. So for
> full-page plugins I feel that print preview should be disabled in the UI.

Full-page plugins are a completely different codepath; please file another bug.

Revision history for this message
In , Martijn-martijn (martijn-martijn) wrote :

Thanks for the explanation, Eli!

(In reply to comment #25)
> Full-page plugins are a completely different codepath; please file another bug.

Well, that bug (bug 324001) was made a duplicate against this bug. So I've reopened that bug.

Revision history for this message
Alexandre Racine (alexandreracine) wrote :

Binary package hint: firefox

I am on the google analytics pages and printing pages with flash content does not work. The page itself is print, but the flash content is not. In this case, graphics with pie chart.

ProblemType: Bug
Architecture: i386
Date: Sat May 26 13:30:15 2007
DistroRelease: Ubuntu 7.04
Package: firefox 2.0.0.3+1-0ubuntu2
PackageArchitecture: i386
SourcePackage: firefox
Uname: Linux aracine-maison01 2.6.20-15-386 #2 Sun Apr 15 07:34:00 UTC 2007 i686 GNU/Linux

Revision history for this message
Alexandre Racine (alexandreracine) wrote :
Changed in firefox:
status: Unknown → Confirmed
Changed in firefox:
assignee: nobody → mozilla-bugs
Revision history for this message
John Vivirito (gnomefreak) wrote :

Marked as needs info due to we are waiting on info from upstream

Changed in firefox:
status: Unconfirmed → Needs Info
Revision history for this message
John Vivirito (gnomefreak) wrote :

Changed to in progress

Changed in firefox:
status: Needs Info → In Progress
Revision history for this message
foxy123 (foxy) wrote :

Got the same problem here.

Revision history for this message
In , Vyv03354 (vyv03354) wrote :

*** Bug 375062 has been marked as a duplicate of this bug. ***

Changed in firefox:
status: Confirmed → Invalid
Revision history for this message
Alexandre Racine (alexandreracine) wrote :

It does the same thing with 8.04 and firefox 3 (latest updates from today).

Should I simply change the description?

Revision history for this message
Alexandre Racine (alexandreracine) wrote :
Revision history for this message
In , Me-at-work (me-at-work) wrote :

*** Bug 292644 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Matti-mversen (matti-mversen) wrote :

*** Bug 457915 has been marked as a duplicate of this bug. ***

Alexander Sack (asac)
Changed in firefox:
status: In Progress → Invalid
Revision history for this message
Alexandre Racine (alexandreracine) wrote :

This is still valid upstream, why did I received notification of a status change to invalid?

I'll test this again with 8.10 in a couple of weeks.

Changed in firefox:
status: Invalid → Confirmed
Revision history for this message
Alexander Sack (asac) wrote :

ok, moved to ffox 3. ffox 2 wont see a fix for this thats for sure.

OK, also saw that the upstream bug was a dupe. will fix the link here.

Changed in firefox:
assignee: mozilla-bugs → nobody
status: Confirmed → Won't Fix
Changed in firefox-3.0:
status: New → Confirmed
Changed in firefox:
status: Invalid → Unknown
Changed in firefox-3.0:
importance: Undecided → Low
status: Confirmed → Triaged
Changed in firefox:
status: Unknown → Confirmed
Revision history for this message
In , Hskupin (hskupin) wrote :

*** Bug 240954 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Hskupin (hskupin) wrote :

Mostly too late for 1.9.1 but bringing on the radar for 1.9.2.

Revision history for this message
In , Polidobj (polidobj) wrote :

*** Bug 491674 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Hskupin (hskupin) wrote :

With the work on bug 191046 this will hopefully be fixed on OS X.

Revision history for this message
In , Jst (jst) wrote :

Not blocking 1.9.2 on this.

Revision history for this message
Hafiz (hafizahaq) wrote :

I am still facing this issue while embedding flash with
<param name="WMode" value="Transparent"/>

I am on
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)

Can some one give an update on this issue?

Thanks and Regards,
Hafiz

Revision history for this message
Mark Jones (linuxguy2009-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

I'm not sure this is a Firefox only bug. I tested this issue in Epiphany as well and the same thing happens.
Also wanted to point out that this is currently effecting 8.04.4, 9.04, and 10.04 beta 1 live CDs.

Revision history for this message
In , Solracblue2000 (solracblue2000) wrote :

My manifestation of the problem is both in the Print Preview and in the Print functions, involving what appears to be Flash content graphics that don't display in Firefox but display and print fine in IE.

There appears to be a patch shown above. How do I apply that patch? Any help appreciated! (I'm not a programmer)

Revision history for this message
In , Windows-bugs (windows-bugs) wrote :

If you are not a programmer then you probably not in a position to compile the browser. Unless you can compile it the patch won't help you.

Revision history for this message
In , Kevin Brosnan (kbrosnan) wrote :

*** Bug 567151 has been marked as a duplicate of this bug. ***

Changed in firefox:
importance: Unknown → Medium
Revision history for this message
In , Andrei-domuta (andrei-domuta) wrote :

Reproduceable on:
 Mozilla/5.0 (Windows NT 6.1; rv:2.0) Gecko/20100101 Firefox/4.0

*Note: Print preview for an inline pdf file displays a blank page.
Adobe Plugin Version: 10.0.1.434

Revision history for this message
In , Fmdevelopertim (fmdevelopertim) wrote :

*** Bug 644076 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Fmdevelopertim (fmdevelopertim) wrote :

*** Bug 574674 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Bugzilla-tf (bugzilla-tf) wrote :

*** Bug 812804 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Benjamin Smedberg (Mozilla) [:bs] (benjamin-smedbergs) wrote :

Bug 838763 now covers disabling both the print and print-preview buttons for fullpage plugins. For in-content plugins I don't think we care about printing at this point.

Revision history for this message
In , Pppx (pppx) wrote :

For those, who want to print pages with plugins content, just switch from Firefox to IE9/10, it allows you to print all you want.

Revision history for this message
In , Bugzilla-kennel17 (bugzilla-kennel17) wrote :

(In reply to Benjamin Smedberg [:bsmedberg] from comment #42)
> Bug 838763 now covers disabling both the print and print-preview buttons for
> fullpage plugins. For in-content plugins I don't think we care about
> printing at this point.

Why ever not? This is pretty basic stuff, and other browsers seem to be able to handle it!

If you don't care about printing 'in-content plugins' then how comes you care about printing images - I'm not sure what the conceptual difference is from a user's point of view.

(I'm well aware of the implementation differences from a developer's point of view.)

Please reopen (and - more importantly - fix)!

Changed in firefox:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.