Activity log for bug #1227085

Date Who What changed Old value New value Message
2013-09-18 12:00:01 Jamie Strandboge bug added bug
2013-09-18 12:00:50 Jamie Strandboge description The title says it all, but the background is that there are currently several bugs against the SDK regarding non-app-specific paths being used by applications (eg, bug #1197051, bug #1197056, bug #1224126). This is going to be solved by the SDK examining applicationName in the MainView and appending that to QStandardPaths, which will work with application confinement since it uses apparmor rules like the following: @{APP_PKGNAME}="ar.com.beuno.hello-world" ... owner @{HOME}/.cache/@{APP_PKGNAME}/ rw, # subdir of XDG_CACHE_HOME owner @{HOME}/.cache/@{APP_PKGNAME}/** mrwkl, owner @{HOME}/.config/@{APP_PKGNAME}/ rw, # subdir of XDG_CONFIG_HOME owner @{HOME}/.config/@{APP_PKGNAME}/** mrwkl, owner @{HOME}/.local/share/@{APP_PKGNAME}/ rw, # subdir of XDG_DATA_HOME owner @{HOME}/.local/share/@{APP_PKGNAME}/** mrwklix, owner /{,var/}run/user/*/confined/@{APP_PKGNAME}/ rw, # subdir of XDG_RUNTIME_DIR owner /{,var/}run/user/*/confined/@{APP_PKGNAME}/** mrwkl, APP_PKGNAME is set by the click-apparmor hook and it corresponds to the "name" field in the click manifest. Right now when creating a new application, it creates this in the qml: // Note! applicationName needs to match the .desktop filename applicationName: "untitled2" and this in the click manifest (click the Packaging button on the left and then click the Manifest tab): "name": "com.ubuntu.developer.jdstrand.untitled2", The SDK should be updated to use this in the QML: // Note! applicationName needs to match the "name" field of the click manifest applicationName: "com.ubuntu.developer.jdstrand.untitled2" This should be done for all Ubuntu templates that currently set 'applicationName'. Ideally, the SDK would warn in the 'Application Output' of qtcreator when applicationName != click manifest name when the app has a click manifest. This will help developers discover problems. The title says it all, but the background is that there are currently several bugs against the SDK regarding non-app-specific paths being used by applications (eg, bug #1197051, bug #1197056, bug #1224126). This is going to be solved by the SDK examining applicationName in the MainView and appending that to QStandardPaths, which will work with application confinement since it uses apparmor rules like the following: @{APP_PKGNAME}="ar.com.beuno.hello-world" ...   owner @{HOME}/.cache/@{APP_PKGNAME}/ rw, # subdir of XDG_CACHE_HOME   owner @{HOME}/.cache/@{APP_PKGNAME}/** mrwkl,   owner @{HOME}/.config/@{APP_PKGNAME}/ rw, # subdir of XDG_CONFIG_HOME   owner @{HOME}/.config/@{APP_PKGNAME}/** mrwkl,   owner @{HOME}/.local/share/@{APP_PKGNAME}/ rw, # subdir of XDG_DATA_HOME   owner @{HOME}/.local/share/@{APP_PKGNAME}/** mrwklix,   owner /{,var/}run/user/*/confined/@{APP_PKGNAME}/ rw, # subdir of XDG_RUNTIME_DIR   owner /{,var/}run/user/*/confined/@{APP_PKGNAME}/** mrwkl, APP_PKGNAME is set by the click-apparmor hook and it corresponds to the "name" field in the click manifest. Right now when creating a new application, it creates this in the qml:     // Note! applicationName needs to match the .desktop filename     applicationName: "untitled2" and this in the click manifest (click the Packaging button on the left and then click the Manifest tab):     "name": "com.ubuntu.developer.jdstrand.untitled2", The SDK should be updated to use this in the QML:     // Note! applicationName needs to match the "name" field of the click manifest     applicationName: "com.ubuntu.developer.jdstrand.untitled2" This should be done for all Ubuntu templates that currently set 'applicationName'. Ideally, the SDK would warn in the 'Application Output' of qtcreator when applicationName != click manifest name when the app has a click manifest. This will help developers discover problems. This change can happen immediately and is not dependent on the aforementioned bugs being fixed.
2013-09-18 12:01:13 Jamie Strandboge bug task added qtcreator-plugin-ubuntu (Ubuntu)
2013-09-18 12:01:22 Jamie Strandboge nominated for series Ubuntu Saucy
2013-09-18 12:01:22 Jamie Strandboge bug task added qtcreator-plugin-ubuntu (Ubuntu Saucy)
2013-09-18 12:01:54 Jamie Strandboge qtcreator-plugin-ubuntu (Ubuntu Saucy): importance Undecided High
2013-09-18 13:05:59 Juhapekka Piiroinen qtcreator-plugin-ubuntu: importance Undecided Critical
2013-09-18 13:06:02 Juhapekka Piiroinen qtcreator-plugin-ubuntu: assignee Juhapekka Piiroinen (juhapekka-piiroinen)
2013-09-18 13:06:06 Juhapekka Piiroinen qtcreator-plugin-ubuntu: status New In Progress
2013-09-18 13:39:27 Launchpad Janitor branch linked lp:~juhapekka-piiroinen/qtcreator-plugin-ubuntu/fix-bug-1227085
2013-09-18 13:39:52 Juhapekka Piiroinen qtcreator-plugin-ubuntu: status In Progress Fix Committed
2013-09-18 13:41:32 Pat McGowan qtcreator-plugin-ubuntu (Ubuntu Saucy): status New In Progress
2013-09-18 13:41:49 Pat McGowan qtcreator-plugin-ubuntu (Ubuntu Saucy): assignee Juhapekka Piiroinen (juhapekka-piiroinen)
2013-09-19 07:17:40 Launchpad Janitor branch linked lp:ubuntu/saucy-proposed/qtcreator-plugin-ubuntu
2013-09-19 08:40:30 Launchpad Janitor qtcreator-plugin-ubuntu (Ubuntu Saucy): status In Progress Fix Released
2013-09-19 09:22:13 Daniel Holbach qtcreator-plugin-ubuntu: status Fix Committed Fix Released