← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1224126] Re: qtdeclarative5-u1db1.0 should not use ~/.local/share/Qt Project for db files

 

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 examples that is not used otherwise.
    This lessens the dependency chains of packages. It can be added back
    after Ubuntu 13.10.
  * Fix regression in qmlscene usage (LP: #1229541). (LP: #1229541)

  [ Christian Dywan ]
  * Set QCoreApplication::applicationName based on MainView. (LP:
    #1197056, #1197051, #1224126)
  * Include subfolders of Components in api check.

  [ Zsombor Egri ]
  * Organizer EDS (Evolution Data Server) integration.
  * StateSaver attached component.
  * Fix alarm status reporting, updating documentation on asynchronous
    behavior of save and cancel operations. Alarm status notification
    reports the operation the status refers to. (LP: #1226516)
  * Dialer + DialerHand components required for TimePicker. .

  [ Leo Arias ]
  * Added UbuntuUIToolkitAppTestCase as a base test case for the
    autopilot tests. (LP: #1227355)
  * Added the autopilot emulator for toggles.

  [ Nick Dedekind ]
  * Added clipping to tab bar. (LP: #1226104)

  [ Alberto Mardegan ]
  * Support re-attaching to a different QQuickView Make the plugin
    correctly handle the case when the QQuickView is destroyed and a new
    one is created: this is done by avoiding using static variables, and
    instead binding the data to the QQmlEngine, QQmlContext or QWindow
    as appropriate. . (LP: #1221707)

  [ Dennis O'Flaherty ]
  * Reword the description for easier reading.

  [ tpeeters ]
  * Fix warnings when running gallery-app autopilot tests. (LP:
    #1223329, #1223326)
  * Smarter automatic updating of Panel's opened property. Panel.open()
    and Panel.close() should be used to open/close a Panel, or when
    using a toolbar with ToolbarItems from a Page, set Page.tools.opened
    to open/close the toolbar. No API or behavior changes since the
    panel-open-close branch. Toolbar behavior changes will be done in a
    following MR.

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 765
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Wed, 25 Sep 2013 07:08:56 +0000

** Changed in: ubuntu-ui-toolkit (Ubuntu Saucy)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1224126

Title:
  qtdeclarative5-u1db1.0 should not use ~/.local/share/Qt Project for db
  files

Status in Ubuntu UI Toolkit:
  Fix Committed
Status in “apparmor-easyprof-ubuntu” package in Ubuntu:
  Triaged
Status in “u1db-qt” package in Ubuntu:
  Confirmed
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Fix Released
Status in “apparmor-easyprof-ubuntu” source package in Saucy:
  Triaged
Status in “u1db-qt” source package in Saucy:
  Confirmed
Status in “ubuntu-ui-toolkit” source package in Saucy:
  Fix Released

Bug description:
  Similar to bug #1197051, qtdeclarative5-u1db1.0 stores its data files in locations like this:
  /home/phablet/.local/share/Qt Project/QtQmlViewer/ubuntu-tasks.db

  This results in AppArmor rules like the following:
  owner "@{HOME}/.local/share/Qt Project/QtQmlViewer/"
  owner "@{HOME}/.local/share/Qt Project/QtQmlViewer/*.db*" rwk,

  But these rules are too lenient and these paths need to be made
  application specific so that different apps using u1db-qt can't tamper
  with each other's data. Specifically: $XDG_DATA_HOME/<app pkgname>
  where '<app pkgname>' is the "name" field in the Click manifest (see
  bug #1197037 for details).

  com.ubuntu.developer.mdspencer.ubuntu-tasks is an app in the app store that is affected by this. It uses the following QML:
      U1db.Database {
          id: storage
          path: "ubuntu-tasks.db"
      }

  This needs to be fixed for 13.10 otherwise apps are not properly
  isolation under application confinement.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1224126/+subscriptions