some applications have their cache deleted when stopped with ubuntu-app-stop

Bug #1520525 reported by Brendan Donegan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Triaged
High
Michał Sawicz
qtmir (Ubuntu)
New
High
Nick Dedekind

Bug Description

It seems that some applications have their QML cache wiped by QtMir when they are stopped with ubuntu-app-stop from the command line. So far this seems to include Camera, Gallery and most (but not all) web-apps. Closing the app via the UI maintains the cache.

Steps to reproduce (all from the devices UI or shell):

1.) Open Camera from the Dash/Launcher
2.) ls ~/.cache/QML/Apps
 - Confirm that the Camera app triplet is listed and copy it to the clipboard
3.) ubuntu-app-stop <app triplet from step 2>
4.) ls ~/.cache/QML/Apps

Expected result:

Directory for camera is listed

Actual result:

Directory for camera is not listed. grep'ing ~/.cache/upstart/unity8.log shows "qtmir.applications: Application appId= "com.ubuntu.camera_camera_<version>" Wiping QML Cache"

Camera can be replaced with Gallery or a web-app such as Amazon or Cinco Dias (although Twitter which is also a web-app isn't affected apparently)

$ system-image-cli -i
current build number: 189
device name: krillin
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2015-11-26 17:09:32
version version: 189
version ubuntu: 20151126
version device: 20151028-869191d
version custom: 20151111--36-46-vivid

Changed in canonical-devices-system-image:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → kevin gunn (kgunn72)
milestone: none → ww02-2016
Changed in canonical-devices-system-image:
milestone: ww02-2016 → ww08-2016
kevin gunn (kgunn72)
Changed in qtmir:
assignee: nobody → Daniel d'Andrada (dandrader)
kevin gunn (kgunn72)
Changed in qtmir:
importance: Undecided → High
Changed in canonical-devices-system-image:
milestone: ww08-2016 → 11
Changed in canonical-devices-system-image:
milestone: 11 → backlog
kevin gunn (kgunn72)
Changed in canonical-devices-system-image:
assignee: kevin gunn (kgunn72) → Michał Sawicz (saviq)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Michał Sawicz (saviq)
affects: qtmir → qtmir (Ubuntu)
Changed in qtmir (Ubuntu):
status: New → Confirmed
Michał Sawicz (saviq)
Changed in qtmir (Ubuntu):
assignee: Daniel d'Andrada (dandrader) → Nick Dedekind (nick-dedekind)
Changed in canonical-devices-system-image:
status: Confirmed → Triaged
milestone: backlog → 12
Michał Sawicz (saviq)
Changed in canonical-devices-system-image:
milestone: 12 → backlog
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.