Activity log for bug #1158246

Date Who What changed Old value New value Message
2013-03-21 11:25:19 Zygmunt Krynicki bug added bug
2013-03-21 11:32:55 Zygmunt Krynicki summary tutorial applications don't render the title bar 13.04 (raring) tutorial applications don't render the header 13.04 (raring)
2013-03-21 11:33:17 Zygmunt Krynicki description I'm following: http://developer.ubuntu.com/resources/app-developer-cookbook/mobile/currency-converter-phone-app/ Specifically: 0) I've installed the raring dependencies as listed on http://developer.ubuntu.com/get-started/gomobile/ 1) I've created new "Qt Quick 2 UI" (the tutorial has another issue where it just refers to "Qt Quick UI" but there are two choices available. 2) I've pasted the snippet from the currency converter app: import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { objectName: "mainView" applicationName: "CurrencyConverter" id: root width: units.gu(60) height: units.gu(80) property real margins: units.gu(2) property real buttonWidth: units.gu(9) Label { id: title ItemStyle.class: "title" text: i18n.tr("Currency Converter") height: contentHeight + root.margins anchors { left: parent.left right: parent.right top: parent.top } } } 3) I've started the application What is wrong: the title bar is missing What is expected same image as on the tutorial page I'm following: http://developer.ubuntu.com/resources/app-developer-cookbook/mobile/currency-converter-phone-app/ Specifically: 0) I've installed the raring dependencies as listed on http://developer.ubuntu.com/get-started/gomobile/ 1) I've created new "Qt Quick 2 UI" (the tutorial has another issue where it just refers to "Qt Quick UI" but there are two choices available. 2) I've pasted the snippet from the currency converter app: import QtQuick 2.0 import Ubuntu.Components 0.1 MainView {     objectName: "mainView"     applicationName: "CurrencyConverter"     id: root     width: units.gu(60)     height: units.gu(80)     property real margins: units.gu(2)     property real buttonWidth: units.gu(9)     Label {        id: title        ItemStyle.class: "title"        text: i18n.tr("Currency Converter")        height: contentHeight + root.margins        anchors {            left: parent.left            right: parent.right            top: parent.top        }     } } 3) I've started the application What is wrong: the header reading "Currency Converter" is missing What is expected same image as on the tutorial page
2013-03-21 11:52:33 Tim Peeters ubuntu-ui-toolkit: assignee David Planella (dpm)
2013-03-21 14:00:07 Tim Peeters summary tutorial applications don't render the header 13.04 (raring) Tutorial code needs to be updated to use the latest UITK version
2013-03-21 14:02:43 Tim Peeters description I'm following: http://developer.ubuntu.com/resources/app-developer-cookbook/mobile/currency-converter-phone-app/ Specifically: 0) I've installed the raring dependencies as listed on http://developer.ubuntu.com/get-started/gomobile/ 1) I've created new "Qt Quick 2 UI" (the tutorial has another issue where it just refers to "Qt Quick UI" but there are two choices available. 2) I've pasted the snippet from the currency converter app: import QtQuick 2.0 import Ubuntu.Components 0.1 MainView {     objectName: "mainView"     applicationName: "CurrencyConverter"     id: root     width: units.gu(60)     height: units.gu(80)     property real margins: units.gu(2)     property real buttonWidth: units.gu(9)     Label {        id: title        ItemStyle.class: "title"        text: i18n.tr("Currency Converter")        height: contentHeight + root.margins        anchors {            left: parent.left            right: parent.right            top: parent.top        }     } } 3) I've started the application What is wrong: the header reading "Currency Converter" is missing What is expected same image as on the tutorial page The tutorial code on http://developer.ubuntu.com/resources/app-developer-cookbook/mobile/currency-converter-phone-app/ does not work correctly any more. With the latest UITK version, MainView should only contain Page/PageStack/Tabs components and it will automatically create a Header and Toolbar. Please update the code used in the tutorial not to confuse new developers. The current code uses a Label inside the MainView to create a title, which is then hidden by the automatic header of the MainView.
2013-03-21 14:03:33 Tim Peeters ubuntu-ui-toolkit: importance Undecided High
2013-03-21 14:03:41 Tim Peeters ubuntu-ui-toolkit: status New Confirmed
2013-03-24 01:39:58 Paholaisen Kysymys bug added subscriber Paholaisen Kysymys
2013-03-24 06:46:29 Gacrux bug added subscriber Gacrux
2013-03-24 11:02:11 Mitsuya Shibata bug added subscriber Mitsuya Shibata
2013-04-04 15:49:40 Pat McGowan ubuntu-ui-toolkit: assignee David Planella (dpm) Michael Hall (mhall119)
2013-04-10 14:11:02 Michael Hall ubuntu-ui-toolkit: status Confirmed In Progress
2013-04-10 21:12:43 Michael Hall bug task added ubuntudeveloperportal
2013-05-14 22:04:48 Michael Hall ubuntudeveloperportal: status New Fix Released
2013-05-14 22:04:53 Michael Hall ubuntudeveloperportal: assignee Michael Hall (mhall119)
2013-05-14 22:05:26 Michael Hall ubuntu-ui-toolkit: status In Progress Fix Released