Re: [Ubuntu-phone] Heads up! When using AdaptivePageLayout, make sure your Page has a PageHeader.

2016-06-09 Thread Tim Peeters
Update: In this MR https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/deprecateSubHeader/+merge/296919 I add a red outline to the old header when it is used inside AdaptivePageLayout. It will be included in the next landing of our staging. Greets, Tim. On Tue, May 24, 2016 at 8:53 AM, Zoltán

Re: [Ubuntu-phone] Heads up! When using AdaptivePageLayout, make sure your Page has a PageHeader.

2016-05-20 Thread Tim Peeters
necessary if the apps want to use the convergence features. Because of all this, we better finish UITK 1.3 and then declare it as frozen and support it for a long time. Greets, Tim. On Fri, May 20, 2016 at 12:14 PM, Tim Peeters wrote: > Hello Alberto > > On Fri, May 20, 2016 at

Re: [Ubuntu-phone] Heads up! When using AdaptivePageLayout, make sure your Page has a PageHeader.

2016-05-20 Thread Tim Peeters
Hello Alberto On Fri, May 20, 2016 at 11:29 AM, Alberto Mardegan < alberto.marde...@canonical.com> wrote: > Hi Zsombor, > > On 20/05/2016 08:33, Zsombor Egri wrote: > [...] > > Second, frameworks do guard you from API breaks, indeed. What I am > > surprised a bit is you guys immediately thought t

[Ubuntu-phone] Heads up! When using AdaptivePageLayout, make sure your Page has a PageHeader.

2016-05-19 Thread Tim Peeters
Hello all, As you probably know, some time ago we introduced the new PageHeader component (see https://developer.ubuntu.com/en/blog/2016/02/24/pageheader-tutorial/ ). An instance of PageHeader can be assigned to Page.header to define the header of a Page, and if no Page.header is specified, there

[Ubuntu-phone] PageHeader vs Flickable.topMarging behavior change heads up!

2016-04-20 Thread Tim Peeters
As this bug https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1572525 made clear, there is a change in behavior when you are using a PageHeader with a Flickable that does not initially have topMargin 0. The PageHeader used to override the topMargin of its flickable and set it to head

Re: [Ubuntu-phone] New palette coming, are you ready?

2016-02-26 Thread Tim Peeters
Hello Nekhelesh, You are right, apps using Ubuntu.Components 1.2 should not be affected. What you are seeing is a bug that caused even apps using 1.2 to get the 1.3 palette. The fix for that is here: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1549830 and we already have it in

Re: [Ubuntu-phone] Popup menus for action buttons?

2015-10-22 Thread Tim Peeters
Hello Jani, There was a design decision that we only have one "overflow button" (the button that opens the popover) on the right side in the header, and the other actions are in the header directly, so you may want to discuss with the designers if they have suggestions for your app how to group ac

Re: [Ubuntu-phone] Page sections and corrupted stacks

2015-04-14 Thread Tim Peeters
Hi Robert, Like in Python, crashes with QML code are also not common. I wrote the code for displaying the sections in the header and it is all QML. From the fix you proposed, it appears that selectedIndex (and sort) property is undefined some times. Are you using the value of that property somewhe

Re: [Ubuntu-phone] Slide to answer

2014-11-14 Thread Tim Peeters
It works nice, but the very first time I encountered that, it took me some time to realize that I had to slide to answer. Perhaps some text saying "slide to answer" somewhere (at least for the first time) is helpful. On Thu, Nov 13, 2014 at 12:23 AM, Mitchell Reese wrote: > Wow... just updated t

Re: [Ubuntu-phone] Toolbar will be disabled by default!

2014-08-27 Thread Tim Peeters
set MainView.useDeprecatedToolbar to false to get the new header. Greets, Tim. On Thu, Jul 31, 2014 at 12:33 PM, Tim Peeters wrote: > Hello, > > This is an important heads up for app developers that are still using the > (now deprecated) toolbar from the Ubuntu UI Toolkit. > &g

Re: [Ubuntu-phone] Toolbar will be disabled by default!

2014-08-01 Thread Tim Peeters
> just jumping the gun. I know this is all pretty new. Great stuff by the > way! > > Has the bottom edge stuff made it into the Ubuntu Components yet or am I > just blind? > > > On Thu, Jul 31, 2014 at 6:33 AM, Tim Peeters > wrote: > >> Hello, >>

[Ubuntu-phone] Toolbar will be disabled by default!

2014-07-31 Thread Tim Peeters
Hello, This is an important heads up for app developers that are still using the (now deprecated) toolbar from the Ubuntu UI Toolkit. The features of the (bottom) toolbar have been replaced by new features added to the header a while ago. Until now, to enable the new features in the header and di

Re: [Ubuntu-phone] Developers heads up !

2014-05-30 Thread Tim Peeters
Is image 55 good again or should I go for #53? On Fri, May 30, 2014 at 9:52 AM, Oliver Grawert wrote: > hi, > Am Freitag, den 30.05.2014, 09:41 +0200 schrieb Oliver Grawert: > > hi, > > > > due to an issue with the systemd transition in the archive the current > > image #54 lost the ability to

[Ubuntu-phone] Apps can use the new header

2014-05-13 Thread Tim Peeters
Hello, You have seen before that there are new designs that move all the functionality of the toolbar to the header. It is now possible in applications to use the new header. All you need to do is set the useDeprecatedToolbar property of the app's MainView to false, and the back button, tabs butto

Re: [Ubuntu-phone] Landing team 09.05.14

2014-05-13 Thread Tim Peeters
Opening the HUD was handled by unity, not UITK. We don't have a way to open the HUD in UITK, and I haven't seen designs for new ways to open HUD that we should work on. On Fri, May 9, 2014 at 6:57 PM, Oliver Grawert wrote: > hi, > Am Freitag, den 09.05.2014, 11:36 -0500 schrieb Ted Gould: > > O

Re: [Ubuntu-phone] Toolbar to header transition

2014-04-24 Thread Tim Peeters
ideas yet. Greets, Tim. On Thu, Apr 24, 2014 at 2:02 PM, Oliver Grawert wrote: > hi, > Am Donnerstag, den 24.04.2014, 13:38 +0200 schrieb Tim Peeters: > > > > > Next we will introduce the following changes to the header: > > - Replace the current tab bar by a drawer

[Ubuntu-phone] Toolbar to header transition

2014-04-24 Thread Tim Peeters
Hello all, Probably you saw the blog posts on design.canonical.com about the new header and bottom edge: http://design.canonical.com/2014/03/new-apps-header/ http://design.canonical.com/2014/03/loving-the-bottom-edge/ for this to work, we need some changes in the ubuntu-ui-toolkit. In this e-mail

Re: [Ubuntu-phone] [Design] New back button placement, are we serious ?!?

2014-03-26 Thread Tim Peeters
What if you have a listview with a list item near the bottom of the screen, which can be deleted by doing a horizontal swipe? It will conflict with this back gesture. On Wed, Mar 26, 2014 at 8:54 PM, Zsombor Egri wrote: > > > > On Wed, Mar 26, 2014 at 9:44 PM, Alberto Mardegan < > alberto.marde.

Re: [Ubuntu-phone] No more custom home screen backgrounds?

2014-03-25 Thread Tim Peeters
On Tue, Mar 25, 2014 at 6:37 PM, Iain Lane wrote: > I just upgraded to the latest trusty-proposed image (#261) and my custom > background wasn't preserved. I understand this is deliberate -- i.e. not > a bug. > > I have some questions about this change. > > - What is the rationale for it? > -

Re: [Ubuntu-phone] [Design] New back button placement, are we serious ?!?

2014-03-25 Thread Tim Peeters
Hello, On Tue, Mar 25, 2014 at 9:21 PM, Alberto Mardegan < alberto.marde...@canonical.com> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/25/2014 08:47 PM, Oliver Grawert wrote: > > Though I sadly have to disagree, when I try to reach that button > > there are still about 2cm

Re: [Ubuntu-phone] [SDK] Toolkit in PPA broken?

2013-12-03 Thread Tim Peeters
d to track back decisions that we made to fix the problems. Thanks, Tim. On Mon, Dec 2, 2013 at 5:53 PM, Robert Schroll wrote: > On Mon, Dec 2, 2013 at 1:06 PM, Tim Peeters > wrote: > >> API changes are listed in the CHANGES file, and announced on this mailing >> list. &g

Re: [Ubuntu-phone] [SDK] Toolkit in PPA broken?

2013-12-02 Thread Tim Peeters
Hello Robert, API changes are listed in the CHANGES file, and announced on this mailing list. There have been changes to the OptionSelector API in r796 but they were reverted to avoid problems in r825, so neither r780 or r873 should be affected. If you tell me the specific problems/error messages

Re: [Ubuntu-phone] [Design] Landing plan - Tuesday 5th November

2013-11-06 Thread Tim Peeters
I made the changes, as requested by design. See the description of this bug: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1207369 I'm not sure if everybody can read the design specs that are linked there, but the changes are described in more detail there. I don't know if the

Re: [Ubuntu-phone] Landing plan - Tuesday 5th November

2013-11-06 Thread Tim Peeters
If the toolbar stays in place after open_toolbar(), then we would be testing a toolbar with modified behavior, not the toolbar that you see in the apps. Would the problem be solved if click_button() is changed so that it ensures that the toolbar is opened before clicking? Tim. On Wed, Nov 6, 20

Re: [Ubuntu-phone] Fwd: [Ubuntu-touch-coreapps] Upcoming UI Toolkit Panel/Toolbar API changes

2013-09-12 Thread Tim Peeters
edge of the screen), but the Toolbar now supports any Item as contents via the tools property. So we need to have a look if we still need the genericity of the Panel. On Thu, Sep 12, 2013 at 3:31 PM, Nicholas Skaggs < nicholas.ska...@canonical.com> wrote: > On Thu, Sep 12, 2013 at 8:2

[Ubuntu-phone] Fwd: [Ubuntu-touch-coreapps] Upcoming UI Toolkit Panel/Toolbar API changes

2013-09-12 Thread Tim Peeters
-- Forwarded message -- From: Tim Peeters Date: Thu, Sep 12, 2013 at 2:07 PM Subject: Re: [Ubuntu-touch-coreapps] Upcoming UI Toolkit Panel/Toolbar API changes To: Leo Arias Leo is right here for the toolbar, which we promote to use. But for some specific applications such as

[Ubuntu-phone] Fwd: [Ubuntu-touch-coreapps] Upcoming UI Toolkit Panel/Toolbar API changes

2013-09-12 Thread Tim Peeters
-- Forwarded message -- From: Tim Peeters Date: Thu, Sep 12, 2013 at 1:33 PM Subject: Re: [Ubuntu-touch-coreapps] Upcoming UI Toolkit Panel/Toolbar API changes To: Michael Spencer I can imagine that this would be a good solution, but it is really a decision for design to make

[Ubuntu-phone] Fwd: Upcoming UI Toolkit Panel/Toolbar API changes

2013-09-12 Thread Tim Peeters
-- Forwarded message -- From: Tim Peeters Date: Thu, Sep 12, 2013 at 1:33 PM Subject: Re: [Ubuntu-phone] Upcoming UI Toolkit Panel/Toolbar API changes To: Renato Filho You are right, it is not correct. The functions are open() and close(), and the property is opened. On Wed

[Ubuntu-phone] Fwd: Upcoming UI Toolkit Panel/Toolbar API changes

2013-09-12 Thread Tim Peeters
-- Forwarded message -- From: Tim Peeters Date: Thu, Sep 12, 2013 at 1:31 PM Subject: Re: [Ubuntu-phone] Upcoming UI Toolkit Panel/Toolbar API changes To: Michael Zanetti The toolbar.opened property was not supposed to be used directly anyway, except if you use the Panel

[Ubuntu-phone] Upcoming UI Toolkit Panel/Toolbar API changes

2013-09-11 Thread Tim Peeters
Hello, I would like to make you aware of some upcoming changes to the API and behavior of the Panel and Toolbar in the Ubuntu UI Toolkit, related to opening and closing the panel/toolbar. First, I like to point out that for applications using MainView with Pages (the recommended app structure), t

Re: [Ubuntu-phone] [Ubuntu-touch-coreapps] [Ubuntu-tool-kit] dynamic Tab creation in Tabs

2013-07-01 Thread Tim Peeters
Hi, I already got rid of the VisualItemModel in the Tabs implementation. Dynamic tabs is still something that needs work, see this bug: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1124071 It has high priority and I will try to work on it as soon as possible (after finishing working on bugs w

[Ubuntu-phone] UITK API update: Toolbar

2013-06-19 Thread Tim Peeters
Hello, Today there will be an update of the toolbar-related code in the ubuntu-ui-toolkit that will give you a new API for defining the toolbar. * CHANGED in Page: property ToolbarActions tools TO property Item tools * CHANGED IN Toolbar: property ToolbarActions tools TO property Item tools * DEP

[Ubuntu-phone] UITK API change: remove MainView.__hud

2013-05-17 Thread Tim Peeters
REMOVED in MainView: property QtObject __hud Just a heads-up that we will soon be removing the __hud property from MainView. I checked all the core apps and I couldn't find it being used anywhere. This property (marked as internal) was added to have a default Quit button in HUD for apps using

[Ubuntu-phone] UITK API change: in MainView and Page

2013-05-16 Thread Tim Peeters
As of r491 of the UITK (qtdeclarative5-ubuntu-ui-toolkit-plugin), header and toolbar properties in MainView and Page have been moved to propagated.header and propagated.toolbar. The old properties still exist but were marked deprecated and will be removed in the future: * CHANGED IN Page: prop

Re: [Ubuntu-phone] Ubuntu QML Dialogs

2013-04-11 Thread Tim Peeters
Hi Николай, Your reference to dialog does not exist because it is inside a Component, it is not an item (it is like a class definition, not an instance). I propose that you update the properties that you want to update from inside the Button's onClicked in the Dialog. For example, if you add this

Re: [Ubuntu-phone] [Design] Design weekly

2013-03-25 Thread Tim Peeters
In the clock app, is there a way to switch from AP/PM notation to 24h clock? On Fri, Mar 22, 2013 at 6:30 PM, Calum K Pringle wrote: > Hey all, > > This week has been the week of the Clock app - check out our blogpost! > > We’ll be following up on your questions soon. Next week should give us tim