Application state isn't always saved

Bug #1253979 reported by Ursula Junque
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-mir
New
Undecided
Unassigned
unity-mir (Ubuntu)
New
Undecided
Unassigned

Bug Description

I've been using r27 mako for three days now, and very often when I switch applications they are restarted.
Examples: I was using gmail webapp and browser, gmail to get an information and browser to do some research, when I switched from webapp to browser and back to the webapp, it made me login into gmail again, as if I just had opened it. I logged in again, went to browser, and returned, same happened, I was asked to login again. At this time I had only these two applications open plus Facebook webapp.

Yesterday while playing Solitaire the screen locked, and when unlocked it the application went to initial screen, like if I had just opened it (it reset my freecell game, bummer!). I could reproduce that several times, by locking and unlocking the screen or switching to other screens (going to Home and returning to game, for example). I had three apps opened the first time it occurred with Solitaire, I then closed them and let only the game open, and the problem still persisted.

From IRC:

<ogra_> Ursinha, yeah, thats by design
<ogra_> and not a new issue
<Ursinha> ogra_, resetting my game is a really bad design decision :)
<ogra_> it definitely is
<ogra_> usually apps in the bg store their state since they are only SIGSTOPed ... but if you have enough of them open they are actually killed in the bg and restarted when you switch to them
<Ursinha> ogra_, the solitaire was the only one opened
<Ursinha> I closed everything else thinking it could be lack of resources like you said
<ogra_> i see it with about 5-6 webapps open usually

Tags: avengers
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

This sounds like an issue with how the app interacts with the unity-mir shell, not with mir. Switching to unity-mir (but it is likely the app not managing its own state correctly.)

affects: mir → unity-mir
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.