can not set applicationName property from variable

Bug #1435778 reported by Oliver Grawert on 2015-03-24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)

Bug Description

trying to use an external config for some global settings in an app framework it turns out that you can not set the "applicationName" property of a MainView from an external variable ... it seems like the qml/js imports are only processed after the empty APP_ID was handed to the lifecycle management.

using either an imported .js file or a singleton imported from a qml file like in and always results in the following errors in the application log:

[0323/] Unable to move cache folder /home/phablet/.cache/QtProject/foo-bar.ogra/Cache to /home/phablet/.cache/QtProject/foo-bar.ogra/old_Cache_000
[0323/] Unable to create cache
[0323/] Unable to move cache folder /home/phablet/.local/share/QtProject/foo-bar.ogra/GPUCache to /home/phablet/.local/share/QtProject/foo-bar.ogra/old_GPUCache_000
[0323/] Unable to create cache
[0323/] Shader Cache Creation failed: -2

additionally apparmor denials can be seen for the same path (as expected, an app should not try to create something out of its namespace) in /var/log/syslog

Oliver Grawert (ogra) on 2015-03-24
description: updated
Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers