[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-10-08 Thread Pat McGowan
** Changed in: qtdeclarative-opensource-src (Ubuntu Saucy) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1197051 Title: SDK applications should not use

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-10-07 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/saucy-proposed/apparmor-easyprof-ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1197051 Title: SDK applications should not use ~/.local/share/Qt Project for sqlite

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-10-07 Thread Launchpad Bug Tracker
This bug was fixed in the package apparmor-easyprof-ubuntu - 1.0.35 --- apparmor-easyprof-ubuntu (1.0.35) saucy; urgency=low * apparmor-easyprof-ubuntu.install: install data/hardware/*, thus allowing porters, OEMs, etc to ship their own policy without having to modify this

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-26 Thread Florian Boucault
** Changed in: ubuntu-ui-toolkit Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1197051 Title: SDK applications should not use ~/.local/share/Qt Project

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-25 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-ui-toolkit - 0.1.46+13.10.20130925.1-0ubuntu1 --- ubuntu-ui-toolkit (0.1.46+13.10.20130925.1-0ubuntu1) saucy; urgency=low [ Timo Jyrinki ] * Temporarily disable the jokes example in order to not have qtmultimedia dependency from

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-23 Thread PS Jenkins bot
Fix committed into lp:ubuntu-ui-toolkit at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown ** Changed in: ubuntu-ui-toolkit Status: New = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-17 Thread Christian Dywan
** Branch linked: lp:~kalikiana/ubuntu-ui-toolkit/appname -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1197051 Title: SDK applications should not use ~/.local/share/Qt Project for sqlite files

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-17 Thread Ken VanDine
Jamie, the problem is QStandardPaths::CacheLocation returns @{HOME}/.cache/Qt Project/QtQmlViewer. It looks like the branch proposed for ubuntu-ui-toolkit will solve this. It would be nice if there was an API for getting APP_PKGNAME and other attributes that are defined in click packages. I've

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-17 Thread Jamie Strandboge
Regarding @{HOME}/.cache/Qt Project/QtQmlViewer, yes that is a bug that like you said, should solve this. As for an API to find APP_PKGNAME, apps themselves can do it by accessing applicationName presumably or some other method that the developer can choose. Correct me if I'm wrong, but I think

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-17 Thread Ken VanDine
The branch proposed for ubuntu-ui-toolkit provides me a pretty good solution for what I need. Accessing applicationName is really what I need. For content-hub, the APP_ID from the client is included in the transfer request, done automatically in the hub client API. Right now it does that by

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-17 Thread Jamie Strandboge
Spoke a bit about this on IRC. The app requesting content can just use applicationName-- it shouldn't have to fiddle around with the environment. This is safe for click apps because if they somehow changed the application name, they are still limited by AppArmor mediation of the underlying DBus

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-16 Thread Jamie Strandboge
** Description changed: Ubuntu SDK applications store their sqlite data in locations like this: ~/.local/share/Qt Project/QtQmlViewer/QML/OfflineStorage/Databases/7dbf3433d69b4304a43526d9eca5b650.ini ~/.local/share/Qt

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-16 Thread Ken VanDine
Are there any details on how this will be resolved? I've hit this with the Store implementation in content-hub. I need to be able to get a path that is allowed by apparmor for transferring content. For example, I'd like to be able to use

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-16 Thread Jamie Strandboge
Ken, this bug doesn't directly affect the content-hub. The apparmor profile currently gives you access to @{HOME}/.cache/@{APP_PKGNAME}/. This bug is about the workaround policy that is also in place for @{HOME}/.local/share/Qt Project/QtQmlViewer/... that we need to get rid of. Since content-bub

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-04 Thread Jamie Strandboge
** Changed in: qtdeclarative-opensource-src (Ubuntu Saucy) Importance: Undecided = Critical ** Changed in: qtdeclarative-opensource-src (Ubuntu Saucy) Importance: Critical = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-09-03 Thread Jamie Strandboge
** Also affects: qtdeclarative-opensource-src (Ubuntu Saucy) Importance: Undecided Assignee: Christian Dywan (kalikiana) Status: New ** Also affects: apparmor-easyprof-ubuntu (Ubuntu Saucy) Importance: Undecided Status: New ** Changed in: apparmor-easyprof-ubuntu (Ubuntu

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-08-15 Thread Jamie Strandboge
** Changed in: ubuntu-ui-toolkit Assignee: Timo Jyrinki (timo-jyrinki) = (unassigned) ** Changed in: qtdeclarative-opensource-src (Ubuntu) Assignee: (unassigned) = Christian Dywan (kalikiana) -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-08-01 Thread Timo Jyrinki
** Also affects: qtdeclarative-opensource-src (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1197051 Title: SDK applications should not use

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-08-01 Thread Zoltan Balogh
Changing the XDG_DATA_HOME variable in the runtime environment would change the target of these data files. I was exporting the XDG_DATA_HOME=/tmp and launched the calculator app. $ ls -l /proc/`ps aux | grep calculator|awk '{print $2}'|head -1`/fd|grep OfflineStorage command shows the path

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-07-31 Thread Juhapekka Piiroinen
** Project changed: ubuntu-qtcreator-plugins = ubuntu-ui-toolkit -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1197051 Title: SDK applications should not use ~/.local/share/Qt Project for sqlite

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-07-31 Thread Jamie Strandboge
** Description changed: Ubuntu SDK applications store their sqlite data in locations like this: ~/.local/share/Qt Project/QtQmlViewer/QML/OfflineStorage/Databases/7dbf3433d69b4304a43526d9eca5b650.ini ~/.local/share/Qt

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-07-09 Thread Juhapekka Piiroinen
** Changed in: ubuntu-qtcreator-plugins Assignee: (unassigned) = Timo Jyrinki (timo-jyrinki) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1197051 Title: SDK applications should not use

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-07-03 Thread Jamie Strandboge
And, like you said, there are legitimate cases for using an sqlite backend so the path issue needs to be solved anyway. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1197051 Title: SDK applications

[Bug 1197051] Re: SDK applications should not use ~/.local/share/Qt Project for sqlite files

2013-07-03 Thread Jamie Strandboge
Gsettings brings a similar set of problems because gsettings is a shared database and it would have to be updated somehow to make sure apps couldn't access each other's data. There is a blueprint for it: https://blueprints.launchpad.net/ubuntu/+spec/security-r-app-gsettings, but the (not