gmail-desktop icon indicating copy to clipboard operation
gmail-desktop copied to clipboard

Launch minimized not working

Open WebShapedBiz opened this issue 4 years ago • 14 comments

OS Linux, elementaryOS 6 Odin

Gmail Desktop Version 3.0.0-alpha.27 (dev)

Describe the bug Although I have "Launch Minimized" selected, Gmail Desktop is always autostarting maximized. The .desktop file in .config/autostart folder doesn't have any parameters weather I select "Launch minimized" or not: It's always Exec="/opt/Gmail Desktop/gmail-desktop" %U

Is there any parameter that I could add manually?

Thank you for the time and effort you've put into this gem.

Cheers.

WebShapedBiz avatar Oct 14 '21 19:10 WebShapedBiz

I tried elementaryOS 6.1 in a virtual machine, and it worked for me with the deb package.

Here's what I did:

  • Downloaded the 3.0.0-alpha.27 deb and installed it with sudo dpkg -i gmail-desktop-3.0.0-alpha.27-linux.deb.
  • (Optional) Manually compiled and installed wingpanel-indicator-na-tray to get the tray icon. I had to change wingpanel-2.0 to wingpanel in meson.build to get it to build on Odin.
  • Added Gmail Desktop to startup using elementaryOS Settings → Applications → Startup.
  • Ran Gmail Desktop and enabled the Launch Minimized setting.

https://user-images.githubusercontent.com/510163/149655581-ee03508d-69c6-429d-a6f3-a02337c38b8b.mp4

DinCahill avatar Jan 16 '22 10:01 DinCahill

Thank you very much @DinCahill for your time and effort here, you really made an effort. I've done everything from your list, except compiling myself, but with no luck. I'll try to find out why I have this issue on both my computers while everything works as it should on yours.

Thank you again for the help.

Cheers.

WebShapedBiz avatar Jan 16 '22 19:01 WebShapedBiz

@WebShapedBiz is this still an issue with the latest version v3.0.0-alpha.31? Unfortunately I can't reproduce it on macOS, but Gmail Desktop accepts launch-minimized as command line argument.

timche avatar Feb 12 '22 13:02 timche

Even worse @timche, now it doesn't even start. This is the error from the terminal:

15:42:27.229 › Checking for update
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
[65909:0212/154227.246502:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
15:42:27.248 › Error: Error: ENOENT: no such file or directory, open '/opt/Gmail Desktop/resources/app-update.yml'
(node:65875) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/opt/Gmail Desktop/resources/app-update.yml'
(Use `gmail-desktop --trace-warnings ...` to show where the warning was created)
(node:65875) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

WebShapedBiz avatar Feb 12 '22 14:02 WebShapedBiz

@WebShapedBiz after what steps did this error occur? Can you please try to re-install the app please? Unfortunately I'm not using Linux myself, so it's very difficult for me to see what exactly is wrong or caused it.

timche avatar Feb 12 '22 14:02 timche

I've installed version alpha.29, alpha.30, and alpha.31, and on each version that app starts but with empty Gmail account tabs. After that, I've reinstalled version alpha.27 that I've been using all this time and everything is back to normal. EDIT: All tests on deb files plus Appimage for alpha.31

WebShapedBiz avatar Feb 12 '22 14:02 WebShapedBiz

New development - on my first email account everything is fine but on the second account, I cannot log in due to the "This browser or app may not be secure" error. It's hilarious because on both accounts I'm not allowing unsecured apps.

WebShapedBiz avatar Feb 12 '22 15:02 WebShapedBiz

@WebShapedBiz you can try with disabling "Use User Agent Fix" or try signing in multiple times. This "security blocker" is happening very inconsistently.

timche avatar Feb 12 '22 15:02 timche

Thank you it worked :-)

WebShapedBiz avatar Feb 12 '22 15:02 WebShapedBiz

@WebShapedBiz so do you still have the original issue though?

timche avatar Feb 12 '22 16:02 timche

Yes I do and unfortunately haven't had a chance to test new alpha versions because they won't run.

Best regards,

Siniša Perović**Webshaped Business OÜ

@.*** @.**>

https://www.webshaped.biz https://www.webshaped.biz/ @.*>+385 92 1244627

On Sat, Feb 12, 2022 at 5:28 PM Tim Cheung @.***> wrote:

@WebShapedBiz https://github.com/WebShapedBiz so do you still have the original issue though?

— Reply to this email directly, view it on GitHub https://github.com/timche/gmail-desktop/issues/297#issuecomment-1037286668, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTTUUOHTQ22KEIUCE6DPX3U22DD3ANCNFSM5GAN7UGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

WebShapedBiz avatar Feb 12 '22 16:02 WebShapedBiz

@WebShapedBiz Have you tried running the latest version with a clean config?

mv ~/.config/Gmail\ Desktop ~/.config/Gmail\ Desktop.bak

DinCahill avatar Feb 13 '22 03:02 DinCahill

Well, this will amuse you.

On my main PC, where I tried yesterday new alpha releases and they didn't work, I reinstall back alpha.27 version, which works fine but also, after all this installation and reinstallation gmail-desktop now actually starts minimized. I haven't touch preferences at all. On my laptop, same OS, same apps, alpha.32 with clean config works fine BUT I cannot get it to start minimized. Go figure.

Anyhow, thank you very much @DinCahill for your time and effort.

Cheers.

WebShapedBiz avatar Feb 13 '22 06:02 WebShapedBiz

I have the same Issue

KDE Neon (Ubuntu 20.04) deb package

serhumanos avatar Aug 11 '22 01:08 serhumanos