[Ubuntu-phone] Unity API status update

2014-07-23 Thread Thomas Strehl
Scopes all about finishing the last features and polishing (scopes). Most notably we identified the root cause for slow scope startup, we're now about 500-600 msecs faster for an aggregator scope. Also, we fixed the problem of local scopes not being able to provide a custom header image. Those fix

[Ubuntu-phone] Can't set value of Label inside

2014-07-23 Thread Sam Bull
I'm trying to set the value of the label in the below code, but the onCompleted code seems to be unable to reference the label inside the Component, and the label seems unable to access any property outside the Component, so I can't see any way to change the text value at runtime. Any ideas? Abst

Re: [Ubuntu-phone] Can't set value of Label inside

2014-07-23 Thread Michael Zanetti
2 issues: a) By the time Component.onCompleted is called. the PopupUtils.open() hasn't been called yet. So the popover doesn't exist b) Even if you'd change the order, I don't think you can reach inside the Popover's context... You could open 10 of those popovers, which label should be addres

Re: [Ubuntu-phone] Can't set value of Label inside

2014-07-23 Thread Sam Bull
On mer, 2014-07-23 at 13:47 +0200, Michael Zanetti wrote: > a) By the time Component.onCompleted is called. the PopupUtils.open() hasn't > been called yet. So the popover doesn't exist Ah, didn't realise the inner component wasn't even constructed until PopupUtils.open(). > Solution: create a pr

Re: [Ubuntu-phone] Can't set value of Label inside

2014-07-23 Thread Sam Bull
On mer, 2014-07-23 at 12:54 +0100, Sam Bull wrote: > > Solution: create a property somewhere (outside the Popover Component), like > > this: > > Unfortunately, this is what I was hinting at when I said the label is > unable to access anything outside the component. I tried exactly this, > and the

Re: [Ubuntu-phone] Can't set value of Label inside

2014-07-23 Thread Roman Shchekin
Michael is right, both issues can be found in code. P.S. Sam, let me give you a little advice - try to write working QML code by hand, and only then use your tools for automatic generation! BR, Roman. 2014-07-23 15:47 GMT+04:00 Michael Zanetti : > > 2 issues: > > a) By the time Component.onCom

Re: [Ubuntu-phone] Can't set value of Label inside

2014-07-23 Thread Michael Zanetti
On Wednesday 23 July 2014 12:54:10 Sam Bull wrote: > On mer, 2014-07-23 at 13:47 +0200, Michael Zanetti wrote: > > a) By the time Component.onCompleted is called. the PopupUtils.open() > > hasn't been called yet. So the popover doesn't exist > > Ah, didn't realise the inner component wasn't even c

[Ubuntu-phone] SDK Team status update - 23.07

2014-07-23 Thread Zoltán Balogh
Hi all, The Last two weeks were eventful for the SDK team in both negative and positive way. The release of the SDK Tools for LTS users is slow due to a strengthened validation process. Our trunk is built and primarily tested on Utopic, once it gets green light from the CI Train we start the

[Ubuntu-phone] click build include/exclude

2014-07-23 Thread Sam Bull
Is there a way for the click build command to include/exclude specific directories and files? signature.asc Description: This is a digitally signed message part -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net

Re: [Ubuntu-phone] click build include/exclude

2014-07-23 Thread Zoltán Balogh
On 07/23/2014 06:10 PM, Sam Bull wrote: Is there a way for the click build command to include/exclude specific directories and files? In the QtCreator after you have opened your project and go to the Publish page there is an Excludes tab. There you can list the files or directories you wan

Re: [Ubuntu-phone] click build include/exclude

2014-07-23 Thread Robert Park
On Wed, Jul 23, 2014 at 8:10 AM, Sam Bull wrote: > Is there a way for the click build command to include/exclude specific > directories and files? I don't know that there is (somebody please correct me), but when faced with this issue in the past I simply created a subdirectory that contains only

Re: [Ubuntu-phone] click build include/exclude

2014-07-23 Thread Sergio Schvezov
On miércoles 23 de julio de 2014 12h'10:14 ART, Sam Bull wrote: Is there a way for the click build command to include/exclude specific directories and files? You need an external tool to do that. This is the reason I moved most projects to cmake and fake a make install into a DESTDIR and then

[Ubuntu-phone] Positioning the screen to an element in Expandable

2014-07-23 Thread Sam Bull
I would like to position the screen so that it scrolls to a specific element after opening a page. First, I'd like to be able to make sure an Expandable is in view upon expanding it (though this could be considered a bug of ExpandablesColumn that it doesn't do this automatically). But, then I'd a

[Ubuntu-phone] Landing team 23.07.14

2014-07-23 Thread Łukasz 'sil2100' Zemczak
m/145.commitlog * Smoke-testing results: http://ci.ubuntu.com/smokeng/utopic/touch/ #145 mako - http://ci.ubuntu.com/smokeng/utopic/touch/mako/145:20140723:20140717.1/9218/ * Some useful documentation: (Still under development) https://wiki.ubuntu.com/citrain/ComponentSupportList https://wiki.ubunt

Re: [Ubuntu-phone] Positioning the screen to an element in Expandable

2014-07-23 Thread Michael Zanetti
On Wednesday 23 July 2014 17:57:13 Sam Bull wrote: > I would like to position the screen so that it scrolls to a specific > element after opening a page. > > First, I'd like to be able to make sure an Expandable is in view upon > expanding it (though this could be considered a bug of ExpandablesCo

Re: [Ubuntu-phone] Positioning the screen to an element in Expandable

2014-07-23 Thread Sam Bull
OK, there's no delegate, it's all hardcoded elements. To clarify, the expandable doesn't come into view if it's expanded as I display the page, it does however work when I later click an item to expand a section. I'll put some of the code here as an example. The page is created and displayed with

Re: [Ubuntu-phone] Positioning the screen to an element in Expandable

2014-07-23 Thread Sam Bull
Alright, I've been ignoring it for awhile, meaning to get back to it. But, whenever I open a page, I get a couple of warning messages, and just noticed that these might be related: file:///home/s/Hacking/Dict-eo/qml/abel.qml:19:1: QML ExpandablesColumn: mapFromItem() given argument

Re: [Ubuntu-phone] Landing team 23.07.14

2014-07-23 Thread Nicholas Skaggs
On 07/23/2014 01:19 PM, Łukasz 'sil2100' Zemczak wrote: ** test_add_new_event_with_default_values & test_fill_form fail since mako #137 https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1343916 -> Work-around prepared, +1'ed and now waiting for release One down completely at least. This is no