joelekstrom / fastmate

A native Fastmail-wrapper for Mac.
MIT License
193 stars 12 forks source link

Email printing does not work #98

Open posguy99 opened 1 year ago

posguy99 commented 1 year ago

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.

joelekstrom commented 1 year ago

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 commented 1 year ago

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

joelekstrom commented 1 year ago

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