Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email printing does not work #98

Open
posguy99 opened this issue Dec 16, 2022 · 3 comments
Open

Email printing does not work #98

posguy99 opened this issue Dec 16, 2022 · 3 comments

Comments

@posguy99
Copy link

Currently using 1.9.1 on macOS 12.6.2, M1Pro MBP.

Open an email, go to the Actions menu, choose Print. No error message is displayed, either from Fastmate or from the OS, but the message does not print.

Printing works as normal when fastmail.com is opened in a browser.

@posguy99 posguy99 changed the title Email printing does not work unless default printer selected Email printing does not work Dec 16, 2022
@joelekstrom
Copy link
Owner

Hi, thanks for reporting (and sorry for the total slowness of my response). I see the same issue and will investigate when I get some inspiration for this again. For now, if others have problems with this it seems like printing from Fastmate works still cmd + P or File -> Print

@jamesgreenblue
Copy link

I noticed this too today, the workarounds do work for now. Thanks @joelekstrom

@joelekstrom
Copy link
Owner

Got stuck on a bit of a catch 22 on this one. The bug happens because WebKit no longer allows calling message handlers with zero arguments, so needs to be fixed in the Fastmate.js print-call by passing null.

So that's fine and fixed. However, when compiling Fastmate with a newer Xcode, it appears that the older, deprecated WebView system I'm using to print no longer works correctly and crashes when attempting to print. 🤦‍♂️ Not a great situation when the new WKWebView does not support printing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants