Mailspring opens on system start when option is turned off

Created on 10 May 2019  路  7Comments  路  Source: Foundry376/Mailspring

What operating system are you using?

MacOS Mojave 10.14.4

What version of Mailspring are you using?

1.6.1

Bug?

Is the issue reproducible with a particular attachment, message, signature, etc?

To reproduce:

Install Mailspring on MacOS Mojave 10.14.4, uncheck preference "Launch on system start" and restart the OS.

bug good first issue macos

Most helpful comment

On Ubuntu 18.04 LTS I get a similar issue, which perhaps is related. If I un-check the box "Launch on system start", then I close the settings (or I go to another tab) and go back to the "General" tab, I see that the check was put back in.

Note: This is on Mailspring 1.7.4

Edit: Actually, however, my case behaves differently. What I get is that mailspring never launches at startup.

All 7 comments

Hey! Thanks for reporting this鈥攚hen you check/uncheck the box, Mailspring creates and removes ~/Library/LaunchAgents/com.mailspring.plist. It looks like right now there's no user feedback if that fails for some reason. It also looks like if you go to System Preferences and configure Mailspring to launch at start from the Users & Groups preference pane under Login Items, that creates a /separate/ preference in another locaiton which could separately launch Mailspring even if you unchecked the box within the app.

This is a bit of a mess鈥擨'll see if we can revisit this and clean up the MacOS implementation to do the same thing as adding the app as a "Login Item" in system preferences. In the meantime, I'll make the app present an error message if removing it's LaunchAgent plist fails. You may be having a permissions issue of some sort and it's just not letting you know it's unable to delete that file.

Thanks!

I've noticed the same problem on Windows - setting Mailspring to not open on boot, and it resets the option and does so anyway.

On Ubuntu 18.04 LTS I get a similar issue, which perhaps is related. If I un-check the box "Launch on system start", then I close the settings (or I go to another tab) and go back to the "General" tab, I see that the check was put back in.

Note: This is on Mailspring 1.7.4

Edit: Actually, however, my case behaves differently. What I get is that mailspring never launches at startup.

On Ubuntu 18.04 LTS I get a similar issue, which perhaps is related. If I un-check the box "Launch on system start", then I close the settings (or I go to another tab) and go back to the "General" tab, I see that the check was put back in.

Note: This is on Mailspring 1.7.4

Exactly what happens on Windows. Good that someone else can confirm it; I wasn't 100% sure, since I was using some configuration mods.

The same problem appears here on Windows 10 and elementaryOS (Ubuntu 18.04 LTS). I uncheck the option, leave the tab, go back to it and it's checked again.

I use on both machines the version 1.7.4

Update: v1.7.6 - Mailspring still always keeps "Use Mailspring as default mail client" and "Launch on system start" checked. Please, could the checkboxes clear and stay cleared when we click on them?

Update: v1.7.8 - Bug still present. I tested, and #2010 notices it too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spartero picture spartero  路  3Comments

LeandroStanger picture LeandroStanger  路  3Comments

tuxmachine picture tuxmachine  路  3Comments

DylanC picture DylanC  路  3Comments

scooby picture scooby  路  3Comments