-
Notifications
You must be signed in to change notification settings - Fork 973
printToPDF isn't working #6450
Comments
are you replacing the use of printToPDF in #4769 or are you fixing printToPDF itself? I'm asking because normally the webview.printToPDF method invokes the callback with two args (error, data).. |
@bbondy It may be due to this:
edit: this would only affect Windows- nevermind |
I'm going to try to get webcontents.printToPDF to work |
Fix brave/browser-laptop#6450 Auditors: @bridiver
woah, 63 chromium level files changed in a single patch file for this! (https://github.com/brave/muon/blob/9ea426b623d79450272736789d4e651669ad5230/patches/master_patch.patch) is fixing this Electron-level API regression so complicated because Brave's Electron fork (Muon) is using a more recent version of Chromium (54) than upstream Electron? |
It isn't as impressive as it sounds because this is just a change of an existing patch file. A diff of a patch looks pretty deceiving. There were a bunch of changes but definitely no 63 files worth :P |
Fix brave/browser-laptop#6450 Auditors: @bridiver
confirmed my patch works on macOS and linux but not Windows, will get back to this soonish. |
sorry to pester with a question, but when does this come into trying to figure out if I should revert the PDF statement before next release or not |
It will be in Preview7 or anything after muon v2.0.8 |
hey I can confirm this works on Linux in Preview7, but @srirambv shared a screencap of it still being broken on Windows (#6385 (comment)) |
@bsclifton so this is only broken on Windows now. Do you think we need to add those two files back in? |
sweet! one last question -- do you know what tag/release for |
Preview8 and 0.13 release will have it. |
It passes if this passes: So I'll mark this as no qa needed. |
Happy to help test this on Linux and Windows -- Do you know when Preview8 is coming? |
Its callback is never called, I think the renderer needs to handle the message.
The text was updated successfully, but these errors were encountered: