Printing from View Source does not work. Throws Uncaught TypeError: can't access property 0, window.arguments is undefined
Categories
(Thunderbird :: General, defect)
Tracking
(thunderbird91 verified, thunderbird92 verified)
People
(Reporter: lasana, Assigned: darktrojan)
References
Details
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details | Review |
|
82.41 KB,
image/png
|
Details |
STR:
- Open a mail message.
- Click More > View Source
- In the View Source window, click File > Print
Expected:
The print dialog comes up for printing.
Actual:
Nothing comes up, error is logged to console.
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Comment 1•4 years ago
•
|
||
Geoff, is it correct for this dialog to use extensionPopup.xhtml to load? I saw BROWSER_CHROME_URL which seems important in mozilla-central was changed to point to it in bug 1644000.
| Reporter | ||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
How do you want to implement the print preview? As I know there is no stand-alone preview window any more. Maybe the View Source window needs to be in a tab like FX does. Then the tab modal print preview could work again.
| Assignee | ||
Comment 3•4 years ago
|
||
The view source window doesn't have any of the printing UI connected, mostly because I forgot about it. It's not related to the other printing bugs we currently have. It's not really related to bug 1644000 either, but you're right that BROWSER_CHROME_URL is how it ends up trying to open extensionPopup.xhtml (we should never get to that point) and actually that makes me suspect printing in view source has been broken since before the UI changes.
| Assignee | ||
Comment 4•4 years ago
|
||
I'll look after this, there's many levels of crazy going on here and hopefully I can remember them all from last time I fixed the address book printing.
| Assignee | ||
Comment 5•4 years ago
|
||
Also removes some unused strings from earlier printing bugs.
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/a0b2b2ad8931
Fix printing in the view source window. r=lasana
This looks broken in TB 91 beta as well.
Comment 8•4 years ago
|
||
Comment on attachment 9232525 [details]
Bug 1721671 - Fix printing in the view source window. r=lasana
[Approval Request Comment]
Verified working on 91 beta test build.
Comment 9•4 years ago
|
||
Comment on attachment 9232525 [details]
Bug 1721671 - Fix printing in the view source window. r=lasana
[Triage Comment]
Approved for beta
Comment 10•4 years ago
•
|
||
The preview for view source is pushed over to the left side when I have "Fit to page width" selected, which is the default. Fills the whole preview when I select Scale: 100%.
Both result in a print out of what the preview shows.
Edit: Apparently it is due to a long line I did not notice and had to use a scrollbar to scroll all the way to the right of the View Source tab to read.
Comment 11•4 years ago
|
||
| bugherder uplift | ||
Thunderbird 91.0b4:
https://hg.mozilla.org/releases/comm-beta/rev/bf60186f3fca
Description
•