timche/gmail-desktop

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

doubleaykay opened this issue · 1 comments

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.

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