timche / gmail-desktop

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

Browser Version #411

Open X-and-Bacon opened 1 month ago

X-and-Bacon commented 1 month ago

OS macOS

Gmail Desktop Version 2.25.3

Describe the bug Message at top of window: This browser version is no longer supported. Please upgrade to a supported browser.

Steps to reproduce the behavior none

Expected behavior should not have an error message

Media

Additional context

seannymurrs commented 1 month ago

Also seeing this issue.

meglivorn commented 1 month ago

For me too, today, on Windows.

traughber commented 1 month ago

Me as well.

eriktdesign commented 1 month ago

Also seeing this on MacOS with Gmail Desktop v 3.0.0-alpha.37 (dev)

eriktdesign commented 1 month ago

FYI, if you set your User Agent using Settings > User Agent > Set Custom User Agent, it does make the banner go away. I just grabbed my current Chrome User Agent and pasted that in the config and that did the trick.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

timche commented 1 month ago

I'm really sorry I'm neglecting this project. This seems like a critical message, as the current Electron version in Gmail Desktop is quite outdated and not supported by Gmail anymore. Jumping back on this project and upgrading to the latest Electron version comes with a lot of breaking changes, which wasn't a straightforward task last time I tried (around last year). There's also few things I would like to do differently since the initial work on v3. This leaves me with the wish wanting to rewrite the project again, but I just can't find the motivation. On the other side I'm glad that this project keeps gaining new users, so thank you, but sorry I'm letting you guys down. If there's anything, there's maybe a time I'll jump back on this project and make it the Gmail Desktop app I've always envisioned.

X-and-Bacon commented 1 month ago

eriktdesign - 1) How do you "grab my current Chrome User Agent"? 2) Does this just fool gmail, is it a true fix? Sorry, I'm not that techie.

eriknyk commented 1 month ago

I'm really sorry I'm neglecting this project. This seems like a critical message, as the current Electron version in Gmail Desktop is quite outdated and not supported by Gmail anymore. Jumping back on this project and upgrading to the latest Electron version comes with a lot of breaking changes, which wasn't a straightforward task last time I tried (around last year). There's also few things I would like to do differently since the initial work on v3. This leaves me with the wish wanting to rewrite the project again, but I just can't find the motivation. On the other side I'm glad that this project keeps gaining new users, so thank you, but sorry I'm letting you guys down. If there's anything, there's maybe a time I'll jump back on this project and make it the Gmail Desktop app I've always envisioned.

I can see that the project uses electron: ^12.0.0, and the current version is: v33.0.0 that's too much ahead.

mattc0406 commented 1 month ago

Thank you Tim for doing this project - been using it for years and it's the best one I've found! I would buy you a coffee!!

I got the latest User Agent List from https://www.whatismybrowser.com/guides/the-latest-user-agent/edge#google_vignette and pasted it in the Custom User Agent section in the config.json file and the error went away

"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/129.0.2792.79"

Update Error seems to be coming and going now

gvmelle commented 1 month ago

I entered "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36" as custom agent for macOS. It didn't help. Messages still appears. My Chrome version is Version 130.0.6723.59 (Official Build) (x86_64). After updating today to that version the message appeared. Screenshot 2024-10-16 at 21 42 33

meglivorn commented 1 month ago

Thank you Tim for doing this project - been using it for years and it's the best one I've found! I would buy you a coffee!!

Just want to agree... Maybe not using if for years, but spent that much looking for an app that does exactly this. So. THANK YOU.

JohnLGalt commented 1 month ago

I'm really sorry I'm neglecting this project. This seems like a critical message, as the current Electron version in Gmail Desktop is quite outdated and not supported by Gmail anymore. Jumping back on this project and upgrading to the latest Electron version comes with a lot of breaking changes, which wasn't a straightforward task last time I tried (around last year). There's also few things I would like to do differently since the initial work on v3. This leaves me with the wish wanting to rewrite the project again, but I just can't find the motivation. On the other side I'm glad that this project keeps gaining new users, so thank you, but sorry I'm letting you guys down. If there's anything, there's maybe a time I'll jump back on this project and make it the Gmail Desktop app I've always envisioned.

As a long time user, I really do hope you find a way to bring the electron backend up to date.

As a person, I feel you on the inability to move it forward because of so many variables (some quite literally lol).

Thanks for all you've done, and here's to hoping you do get a chance to work on this to be the app you've always wanted it to be.

lanwin commented 3 weeks ago

@timche thank you! I totally know how you feel.

@all does anyone have a good alternative?

WebShapedBiz commented 3 weeks ago

Thank you @timche for your time and effort.

ninjaeon commented 5 days ago

I understand the challenges in updating Electron and appreciate the work timche put into this project. I've been using it for years and wanted to see if I could help.

I've created a fork of Gmail Desktop where I've attempted to update Electron to version 27.1.0 and update the User Agent strings. I used an AI coding tool called Windsurf to assist with all of the code modifications via Claude 3.5 Sonnet.

Important: This fork is experimental and has not been thoroughly tested. It may contain bugs or security vulnerabilities due to the AI-generated code. Use it at your own risk. I'm not a programmer, so I can't guarantee its stability or security.

You can find the fork here: https://github.com/ninjaeon/gmail-desktop-fork

I welcome any feedback or testing from those who are comfortable with the risks. However, I may have limited capacity to address issues or provide support due to my lack of programming expertise.

I hope this might be a temporary solution for some users while we wait for a potential official update. If this proves useful, I might try to improve it further with the help of the community.

I personally have only tested this on Windows, but the Linux and Mac builds are there in case anyone wants to try it.

EDIT: New build updated to Electron v33.2.0 (based on Chromium 130.0.6723.118) is up. I've removed the "Dark Reader" code since Dark Mode was broken with it and updating to the latest version of "darkreader" wasn't enough to fix it. Electron's native dark mode works for the titlebar/account tab area, and you can use the Gmail themes for a mostly dark theme (except for the compose window). I'm working on fixing "Launch Minimized" next.

JohnLGalt commented 3 days ago

I welcome any feedback or testing from those who are comfortable with the risks. However, I may have limited capacity to address issues or provide support due to my lack of programming expertise.

I'll give it a shot and see how it works on my end. Thank you for this.