← Back to team overview

ubuntu-phone team mailing list archive

Re: Prevent app from closing by swaping up/down

 

hi,
Am Montag, den 10.08.2015, 14:52 +1000 schrieb Mitchell Reese:
> > 
> > Exactly. The best possible scenario is that you'd be keeping an app in
> > memory that, in the current scheme, would have stayed in memory
> > anyway. Most of the time, though, you'd be hogging memory that could
> > have been used by apps you were using more often
> 
> Except it doesn't really work like that. Try navigating with the Google 
> Maps app when you need to switch out of it and check something else (like 
> an sms for instance). When you switch back to the Google Maps webapp, the 
> whole screen is white, necessitating the user to swipe across for the app 
> previews, then swipe down to close Google Maps, then relaunch the damn 
> thing again.
> 
this is a known bug in the oxide renderer. the renderer (unlike the the
UI of the app) runs in a sandbox as root. currently the two processes
have no proper relation from a Unity POV so only the renderer gets
killed but the UI (and the representation of the app) stays. people are
working on fixing that, once the two parts are properly linked the app
will behave like an other app and get killed and restarted.

ciao
	oli



References