Saved calculations are lost when the app is closed
Bug #1188292 reported by
Michael Hall
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Fix Released
|
High
|
Mihir Soni | ||
qtubuntu (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If you tear off a calculation, then close the app, when you re-open it the torn off calculation is gone
Update: we've decided for now to save calculations when they are torn-off. A more elegant (but more complex) solution would be to save when the equals are entered, but we should probably wait until the Application Lifecycle spec lands on the platform to implement this properly when the app is notified to be shutdown and given some time to do the cleanup before closing down.
Related branches
lp:~mihirsoni/ubuntu-calculator-app/1188292
- Riccardo Padovani: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Gustavo Pichorim Boiko (community): Needs Fixing
- David Planella: Approve
- Mihir Soni: Pending requested
-
Diff: 58 lines (+19/-22)1 file modifiedSimple/SimplePage.qml (+19/-22)
Changed in ubuntu-calculator-app: | |
assignee: | nobody → mihir (mihirsoni-123) |
assignee: | mihir (mihirsoni-123) → nobody |
Changed in ubuntu-calculator-app: | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in ubuntu-calculator-app: | |
assignee: | nobody → Mihir Soni (mihirsoni-123) |
status: | Triaged → In Progress |
description: | updated |
Changed in ubuntu-calculator-app: | |
status: | Fix Committed → Fix Released |
affects: | qtubuntu → qtubuntu (Ubuntu) |
To post a comment you must log in.
Calculations seem to be saved to disk on exit, but the Ubuntu Touch shell simply kills the process.
You can re-create this on the desktop by running the app from the command line, and killing it from the command line, instead of closing the window.
The solution would be to save to disk whenever = is pressed at a minimum, or even after every chance to the current calculation