timche / gmail-desktop

:postbox: Nifty Gmail desktop app for macOS, Linux & Windows
MIT License
832 stars 91 forks source link

Links to "view entire message" open in browser instead of staying within the Gmail Desktop app #385

Open doubleaykay opened 1 year ago

doubleaykay commented 1 year ago

OS Windows 10

Gmail Desktop Version 3.0.0-alpha-.37 (dev)

Describe the bug If Gmail has clipped a long message in the default thread email view, it will include a link at the bottom to "view entire message": image Clicking on this link opens the following prompt: image Clicking on open link directs to the web browser. If the link originated from a different Gmail account than the one signed in on the browser, the link will understandably not work: image

Steps to reproduce the behavior

  1. View a long, clipped email message
  2. Click on "view entire message" at the bottom of the email viewer
  3. Click on "open link" in the prompt about opening an external link
  4. Web browser will open

Expected behavior Since this directs to a Gmail link (mail.google.com) it should open within Gmail Desktop, ideally as a popup that preserves the account context so that the link is accessible.

alecmev commented 1 year ago

~This is happening because of a deprecation coming into effect in Electron 22+: https://github.com/nativefier/nativefier/issues/1541~ Edit: Poor reading skills on my part, I'm talking about the opposite problem.