← Back to team overview

ubuntu-phone team mailing list archive

Re: issues with oxide and QML cache on image 166

 

I can confirm that this did not happen during silo testing, with a clean
device-flash'ed image + ppa on top.

As a side note, we're adding click hooks to clean up the cache environment
of webapp-container based apps, ie webapps. This is to avoid cases where
the application sets cookies and gets confused, essentially locking the
user in a broken situation. With those hooks, by removing the app, the
package also clears cached elements, which helps getting back to a saner
state, once reinstalling the app.

I think the QML cache should be part of the things to clean at app
uninstallation, but would like to know if a generic framework will be put
in place, or whether we should just add this directory to our list for the
time being.

David

On Wed, Nov 19, 2014 at 11:36 PM, Bill Filler <bill.filler@xxxxxxxxxxxxx>
wrote:

> Hey,
> A bunch of folks have noticed that after upgrading to image 166 that web
> pages and webapps are not serving up the the mobile versions anymore, but
> instead desktop versions. A new version of oxide and webbrowser-app landed
> in this image.
>
> The problem seems to be the QML cache found in ~/.cache/QML/Apps/
> Moving webbrowser-app out of the cache directory and restarting the
> browser seems to fix the issue with the browser upon restart of the app as
> the browser cache did not seem to get properly removed on the upgrade.
> However webapps, like Google Maps and others don't function correctly until
> their cache directories are moved as well. Not sure why this is occurring
> but it is.
>
> I think there are a few bugs here and a bigger question. When a library
> like oxide changes and apps rely on it, their cache directories should
> probably get destroyed/regenerated. I don't believe we have anything like
> this in place. For the short term, should we be destroying the entire cache
> directory when an image upgrade occurs? I think we should consider this
> until we have smart regeneration scheme in place.
>
> I've filed a bug to track (didn't know what package to make it against)
> https://bugs.launchpad.net/ubuntu/+source/android/+bug/1394380
>
> Bill
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References