Closed
Bug 1247609
Opened 8 years ago
Closed 5 years ago
window.print() doesn't respond in Firefox for Android
Categories
(Firefox for Android Graveyard :: General, enhancement)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1414935
People
(Reporter: vinoth.r, Unassigned)
References
Details
(Whiteboard: [webcompat])
User Agent: Mozilla/5.0 (iPad; CPU OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) FxiOS/1.2 Mobile/13C75 Safari/601.1.46 Firefox for Android Steps to reproduce: 1. Open this url http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_print on your Firefox in iPad or android tablet. 2. Click print this page button Actual results: It doesn't open print dialogue but it does in desktop browsers, Safari for iPad and chrome for Android Expected results: it should promot print dialogue to print page
Severity: blocker → normal
Component: Untriaged → DOM: Core & HTML
Priority: P1 → --
Product: Firefox → Core
Summary: Window.print doesn't respond in iPad Firefox and android tablet → window.print() doesn't respond in Firefox for iOS and Android
Comment 1•8 years ago
|
||
reporter, Firefox for iOS is different code base, so could you file a new bug for Firefox for iOS? Also, Firefox for Android doesn't have printing dialog service, so dialog isn't shown. layout/printing/nsPrintEngine.cpp nsresult:q nsPrintEngine::DoCommonPrint(bool aIsPrintPreview, nsIPrintSettings* aPrintSettings, nsIWebProgressListener* aWebProgressListener, nsIDOMDocument* aDoc) ... } else if (rv == NS_ERROR_NOT_IMPLEMENTED) { // This means the Dialog service was there, // but they choose not to implement this dialog and // are looking for default behavior from the toolkit rv = NS_OK;
Component: DOM: Core & HTML → Printing: Output
Comment 2•8 years ago
|
||
The bug is that that FxAndroid doesn't support printing. Moving to their world for triage. Do file a separate bug for FxiOS.
Component: Printing: Output → General
Product: Core → Firefox for Android
Updated•8 years ago
|
Severity: normal → enhancement
Summary: window.print() doesn't respond in Firefox for iOS and Android → window.print() doesn't respond in Firefox for Android
Comment 3•8 years ago
|
||
Needs to hook into the new printing code https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/java/org/mozilla/gecko/PrintHelper.java
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•5 years ago
|
Whiteboard: [webcompat]
Updated•5 years ago
|
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Comment 5•4 years ago
|
||
This bug is still present in 80.1.3
Updated•4 years ago
|
Assignee | ||
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
see
https://github.com/webcompat/web-bugs/issues/77486
one can't download report
Comment 7•3 years ago
|
||
Downloading and window.print() are two complete different issues.
Any updates on this? IIRC there was actually a 'print page' button in the menue in firefox android - don't know why this was removed. I would like to use Firefox for this feature and not fallback to other apps or browsers like Chrome, which supports calling androids print dialogue. It's required not just for printing on a printer but also to pdf to store a file or page.
Comment 9•1 year ago
|
||
I presume this is now fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1809922
You need to log in
before you can comment on or make changes to this bug.
Description
•