Closed
Bug 134002
Opened 23 years ago
Closed 12 years ago
Content of plugins (flash, java applets) doesn't get rendered for printing or print preview
Categories
(Core Graveyard :: Plug-ins, defect, P3)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: peterlubczynski-bugs, Unassigned)
References
()
Details
(Keywords: relnote, topembed-, Whiteboard: [PL2:P3])
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
Bug 122048 fixed print preview such that plugins won't cause a crash or hang by
deactivating them altogether. This bug is about reactivating plugins in PP.
The plan is to create an offscreen that the plugin renders into once and then
just display that for PP. That solves widget reparenting issues, freezes
animations and events, plus simulates IE's behavior.
Comment 1•23 years ago
|
||
isn't bug 133994 covering the same issue?
Comment 2•23 years ago
|
||
*** Bug 133994 has been marked as a duplicate of this bug. ***
Comment 3•23 years ago
|
||
May want to put this in until we get it all working, otherwise we may get a ton
of dups.
Reporter | ||
Comment 4•23 years ago
|
||
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.
Keywords: relnote
Comment 5•23 years ago
|
||
putting this into the 1.0.1 bucket
Priority: -- → P3
Target Milestone: --- → mozilla1.0.1
Reporter | ||
Comment 6•23 years ago
|
||
*** Bug 129617 has been marked as a duplicate of this bug. ***
updating summary
Summary: Plugins don't render in print preview → Plugins/applets don't render in print preview
Reporter | ||
Comment 8•22 years ago
|
||
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.
Whiteboard: [PL2:P3]
Target Milestone: mozilla1.0.1 → mozilla1.2alpha
Updated•22 years ago
|
Target Milestone: mozilla1.2alpha → mozilla1.2beta
Comment 9•22 years ago
|
||
batch: adding topembed per Gecko2 document
http://rocknroll.mcom.com/users/marek/publish/Gecko/Gecko2Tasks.html
Keywords: topembed
Reporter | ||
Updated•22 years ago
|
Target Milestone: mozilla1.2beta → mozilla1.3alpha
Comment 10•22 years ago
|
||
is this strictly a print preview problem, or are we not printing plugins/applets
at all?
Updated•22 years ago
|
Reporter | ||
Comment 11•22 years ago
|
||
this is print preview only
Updated•22 years ago
|
Target Milestone: mozilla1.3alpha → Future
Comment 12•21 years ago
|
||
*** Bug 223889 has been marked as a duplicate of this bug. ***
Comment 13•21 years ago
|
||
*** Bug 227347 has been marked as a duplicate of this bug. ***
Comment 14•19 years ago
|
||
*** Bug 261449 has been marked as a duplicate of this bug. ***
Comment 15•19 years ago
|
||
*** Bug 264239 has been marked as a duplicate of this bug. ***
Comment 16•19 years ago
|
||
*** Bug 324001 has been marked as a duplicate of this bug. ***
Comment 17•19 years ago
|
||
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.
Comment 18•19 years ago
|
||
*** Bug 319630 has been marked as a duplicate of this bug. ***
Comment 19•19 years ago
|
||
*** Bug 329731 has been marked as a duplicate of this bug. ***
Comment 21•18 years ago
|
||
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.
Comment 22•18 years ago
|
||
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.
Comment 23•18 years ago
|
||
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.
Comment 24•18 years ago
|
||
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.
Comment 25•18 years ago
|
||
(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.
Comment 26•18 years ago
|
||
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.
Updated•18 years ago
|
Flags: blocking1.9?
Flags: blocking1.9? → blocking1.9-
Whiteboard: [PL2:P3] → [PL2:P3][wanted-1.9]
Updated•17 years ago
|
Flags: wanted1.9+
Whiteboard: [PL2:P3][wanted-1.9] → [PL2:P3]
Updated•16 years ago
|
Assignee: peterl-bugs → nobody
QA Contact: shrir → plugins
Updated•16 years ago
|
Updated•16 years ago
|
Flags: wanted1.9.1?
Summary: Plugins/applets don't render in print preview → Content of plugins (flash, java applets) doesn't get rendered for printing or print preview
Comment 31•16 years ago
|
||
Mostly too late for 1.9.1 but bringing on the radar for 1.9.2.
Flags: blocking1.9.2?
Comment 33•15 years ago
|
||
With the work on bug 191046 this will hopefully be fixed on OS X.
Depends on: 191046
Updated•15 years ago
|
Flags: wanted1.9.1?
Comment 35•15 years ago
|
||
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)
Comment 36•15 years ago
|
||
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.
See Also: → https://launchpad.net/bugs/117036
Comment 38•14 years ago
|
||
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
Comment 42•12 years ago
|
||
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.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Comment 43•12 years ago
|
||
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.
Comment 44•12 years ago
|
||
(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)!
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•