Mac OS X 10.11.5: Always-running apps relaunch while App Store is trying to update them

Originator:igeek1
Number:rdar://26529581 Date Originated:27-May-2016 09:56 PM
Status:Duplicate of 23453865 Resolved:08-Jul-2016 02:26 AM
Product:OS X Product Version:Mac OS X 10.11.5 (15F34)
Classification:UI/Usability Reproducible:Always
 
Summary:
Some apps are, by design, running all the time. When using the App Store to update such apps, they are relaunched prematurely while the App Store is trying to update them, which causes the App Store to have to ask them to quit again.

Steps to Reproduce:
1. Install an app from the Mac App Store such as Fantastical 2: https://itunes.apple.com/us/app/fantastical-2-calendar-reminders/id975937182?mt=12 or CloudApp: https://itunes.apple.com/us/app/cloudapp/id417602904?mt=12, both of which I’ve used to reproduce this issue.
2. Run the app, and use its preferences to set it up to run at login (i.e. “always running”).
3. Wait for an update to be available for the app in the Mac App Store.
4. Click Update.
5. The Mac App Store will ask to close the app, promising to reopen it when the update is done.
6. Click Continue.

Expected Results:
The app quits, and it stays quit until the update is done, at which point it reopens.

Actual Results:
As soon as the update starts downloading, the app reopens all on its own. The App Store will then prompt to quit it again, and after quitting it a second time, the update succeeds.

Regression:
I’m pretty sure this was working at some point between 10.11.0, although I can’t test that, and it’s definitely broken in 10.11.4 and 10.11.5. I would have logged this sooner, but I had to wait for an update to Fantastical or CloudApp, and then remember to actually capture a screen recording.

Notes:
Attached a screen recording, also uploaded to http://cl.ly/gIz7

Comments

Update: I was also able to reproduce this with an app that is not set to always be running. In this case, it was the Slack Mac app.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!