← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Application upgrades: what happens to running apps?

 

On 07/31/2013 07:56 AM, Christian Dywan wrote:
> Am 31.07.2013 11:41, schrieb Roberto Alsina:
>> On Wed, Jul 31, 2013 at 10:15 AM, Colin Watson <cjwatson@xxxxxxxxxx
>> <mailto:cjwatson@xxxxxxxxxx>> wrote:
>>
>>     On Wed, Jul 31, 2013 at 08:02:35AM +0100, Roberto Alsina wrote:
>>     > 1a) Would it kill it even if it had focus and was running?
>>
>>     click doesn't do anything with running apps, and I'm inclined to say
>>     that it shouldn't because it shouldn't have to know about this kind of
>>     environment-specific detail; this should be the job of a hook of some
>>     kind if it's needed.
>>
>>
>>
>>
>>     > 3) Is the old version available to be started while the new one
>>     is being
>>     > installed?
>>
>>     Yes; the symlinks aren't re-pointed until the end.
>>
>>     > 4) If the old version is not killed and the new one is started,
>>     would we
>>     > end up with two instances of the same app on different versions,
>>     which is
>>     > not good?
>>
>>     I expect this should be fixed; it just isn't the job of click itself.
>>     It seems appropriate for a user-level hook to sort this out.
>>
>>
>> Anyone knows who's the right person to handle this? Ted?
> 
> While I have no part in the code, I just have to mention:
> Android kills updated apps while you are using them and literally pulls
> the carpet under your feet while you're walking on it. It is *insane*
> because it will abort your movie and it will stop your web browsing or
> whatever you happen to be doing then.
> Never kill an app while I have it in focus and under active use.
> 

Perhaps the answer is simply that an upgrade should prompt the user to close the
running app before upgrading. If the user says 'no', the app doesn't get upgraded.


-- 
Jamie Strandboge                 http://www.ubuntu.com/

Attachment: signature.asc
Description: OpenPGP digital signature


References