/srv/irclogs.ubuntu.com/2016/04/25/#ubuntu-app-devel.txt

=== chihchun_afk is now known as chihchun
=== athairus is now known as afkthairus
=== JamesTait is now known as Guest99393
=== Guest99393 is now known as JamesTait
MurtazaJawadwalaHi all, I am having Raspberry Pi 2 project, needed developer for programming. Please contact me at murtaza@systematixinfotech.com10:01
nik90timp, ping11:04
timpnik90: hi11:04
timpI'm in a meeting for about 20 more minutes11:04
nik90timp, ah ok..pls ping me whenever you're free.11:05
MurtazaJawadwalaHi Nik9012:17
MurtazaJawadwalaare you interested for Raspberry Pi project?12:17
=== _salem is now known as salem_
timpnik90: hi. Did you have a question for me?13:02
nik90timp, yes,13:05
nik90timp, I started using APL, and it is amazing..kind like PageStack 2.0..however I am not clear on a few things.13:06
nik90Is there a way to find out the page depth of a particular column?13:06
nik90Here is a use-case. I have primary page which occupies the full app width and height (1-column layout). On pressing the search header button, I would like to show the search page on the 2nd column. I also want a way to hide that page and go back to a 1 column layout when the user is done with the search page.13:07
nik90This also applies to other pages like the settings page etc. etc.13:07
nik90How do I go about doing this?13:07
nik90I was thinking of querying the page properties in a particular column, or maybe check the page depth and pop the necessary pages, but it is unclear for me on how to proceed. May be I am looking at this in the wrong way13:08
timpnik90: so when you switch to a two-column layout, you want the primary page to resize and use only the first column?13:15
timpnik90: instead of "hiding" the second page, you could remove it from the APL?13:16
nik90timp, yes..when switching to the 2-column layout I want the primary page to only use the first column..This part is easy and I figured it out.13:17
nik90timp, in order to hide/remove the 2nd page, I need to know what is the 2nd page.13:17
nik90How do I know if it was the settings page or the search page?13:18
timpah, right13:18
timpthat depends where you add the button (or other control) to close it. I was assuming that you would close it from the page itself.13:18
timpnik90: if you have only the primary page, and this second page, you can apl.removePages(primaryPage)13:19
timp      \qmlmethod void removePages(Item page)13:19
timp      The function removes and deletes all pages up to and including \c page13:19
timp      is reached. If the \a page is the same as the \l primaryPage, only its child13:19
timp      pages will be removed.13:19
nik90that's something I am not sure on what to do as well..for the moment, I just wanted to use the search header button in the primary page to act as the show and hide button for the search page.13:19
timpso removePages(primaryPage) removes all pages except the primary page itself13:19
nik90because adding something like a close button in the search page is not standard ubuntu pattern13:19
nik90timp, Do you think adding a close button would be a good idea (design wise)?13:20
nik90it does make the implementation easier for sure.13:20
timpyes, it makes it easier, but better to ask someone who knows all the latest design patterns by heart ;)13:21
timpFemma1: ^13:21
nik90timp, ok. Is there a way to show a slide-in animation when transitioning to a 2 column layout?13:21
timpnik90: no, we will need to add that later13:21
nik90I understand that PageColumnLayout is a QtObject..so I cant really add UbuntuNumberAnimation{} inside it.13:21
timpnik90: only if you use a BottomEdge, there is an animation now13:22
nik90ack.13:22
timpright, that's a QtObject, only for configuration13:22
nik90timp, btw, by using APL, I solved the back button missing issue.13:23
nik90APL is really nice..good job!13:23
timpthe columns are implemented  inside the AdaptivePageLayout13:23
timpnik90: thanks :)13:23
Femma1nik90:  timp we are going to look at buttons usage patterns next week and can add that to the agenda13:23
nik90Femma1, thnx13:23
timpnik90: ah the missing back button in PageStack was a bug that I also fixed in UITK staging13:23
timpnik90: perhaps you can give us more information about your use case? I think we didn't really consider apps where the layouts are changed all the time13:24
timpthe main use cases for changing layouts so far is resizing a window, or changing/attaching screens13:24
nik90timp, I will do you one better..I will create a video about it and share it.13:24
timpok, cool13:25
timp:)13:25
timpnik90: so I would go for the close button for now, that should be relatively quick to implement. And then if the designers come up with a better pattern we can discuss how to do that13:26
nik90timp, agreed.13:26
timpnik90: but if you want to close a page from a previous page, you would have to keep track somehow which page you last opened13:26
timpit depends a bit on what the design patterns need from the APL, but if this has many use cases we could add a function (or properties) to the APL to get the current page of a column13:27
nik90timp, I think If I explain my usage in a video, it would be easier for you to understand if mine is a use case not covered by APL yet or not.13:29
timpok13:30
timpzsombi: did the most work on the layouts for the APL, so if I'm not around you can ask him too13:30
timpnik90: ^13:30
nik90ok13:31
nik90timp, zsombi: https://drive.google.com/open?id=0B55Gs35e-jxxcmlUSHFIZGM5aWM13:53
subetbzoltan: Hey, I have problems with the SDK on 16.04. When I try to create a chroot via the Qt Creator Option, it fails with the message "The following packages have unmet dependencies:14:00
subetubuntu-sdk-libs:armhf : Depends: ubuntu-html5-container:armhf14:00
subetE: Unable to correct problems, you have held broken packages."14:00
subetI was told I should follow this guide https://lists.ubuntu.com/archives/ubuntu-devel/2016-April/039322.html.14:00
subetUnfortunately, even though I installed the static chroot package, it still doesn't show up as Kit in the SDK.14:00
subetIs there anything else I have to do in order to get this working? Thanks in advance.14:00
nik90bzoltan_, ^^14:03
timpnik90: all clear now.14:15
timpnik90: apps looks good :)14:15
timpnik90: I think it is a good use case for design, so let's show Femma1 your link^ too14:15
timpFemma1: ^14:15
timpnik90: one remark, you can call removePages() with your primary page as an argument, and it will remove all pages except the primary page.14:16
nik90timp, I know about removePages(), It comes very handy in the mobile layout where I need to quickly go back to the map.14:22
timpyou can use it also to remove the second column14:22
nik90timp, I suppose I could just do removePages() to get rid of the second column14:22
nik90good idea..will try that out.14:23
mivoligoI think the column will stay there but will be empty14:23
nik90mivoligo, well, not necessarily..we can use the bool variable flag to switch to a 1 column layout.14:24
nik90since the layout is triggered for specific conditions.14:24
mivoligonik90: right, together with that it should be fine14:24
=== Laney is now known as trmsu
Femma1timp:  nik90 can you repaste the link pls?14:36
nik90Femma1, mtp://[usb:003,005]/Aquaris%20E4.5%20Ubuntu%20Edition/Pictures/com.ubuntu.camera/image20160425_162111963.jpg14:37
nik90mtp://[usb:003,005]/Aquaris%20E4.5%20Ubuntu%20Edition/Pictures/com.ubuntu.camera/image20160425_162023750.jpg14:37
nik90mtp://[usb:003,005]/Aquaris%20E4.5%20Ubuntu%20Edition/Pictures/com.ubuntu.camera/image20160425_161928883.jpg14:37
nik90mtp://[usb:003,005]/Aquaris%20E4.5%20Ubuntu%20Edition/Pictures/com.ubuntu.camera/image20160425_161750676.jpg14:37
nik90mtp://[usb:003,005]/Aquaris%20E4.5%20Ubuntu%20Edition/Pictures/com.ubuntu.camera/image20160425_161631195.jpg14:37
timpFemma1: https://drive.google.com/open?id=0B55Gs35e-jxxcmlUSHFIZGM5aWM14:37
nik90mtp://[usb:003,005]/Aquaris%20E4.5%20Ubuntu%20Edition/Pictures/com.ubuntu.camera/image20160425_161603062.jpg14:37
nik90Femma1, https://drive.google.com/open?id=0B55Gs35e-jxxcmlUSHFIZGM5aWM14:37
nik90sry14:37
Femma1ta14:37
Femma1nik90:  I'm not seeing anything14:40
nik90Femma1, you will need to download the video for viewing.14:41
nik90its a standard mp4 format14:41
Femma1nik90:  I'm not seeing a video14:41
Femma1I'm seeing 'unav'14:41
nik90Femma1, are you able to download the file?14:42
Femma1I get this14:42
Femma1Efl£#BÜÅB˜ÅBÚÅÅBÇàmatroskaBáÅÅSÄgÛ#ÆMõt@<MªãS´ÑI©fS¨ÅflMªåS´ÑTÆkS¨Ç0MªåS´ÑT√gS¨Ç§MªçS´ÑSªkS¨ÉÛ!‚ÏîI©fE*◊±ÉB@MÄçLavf56.40.101WAçLavf56.40.101s§ê÷`碂Ù4Àl1≠I!†xDâàAî TÆkhÆx◊Ås≈ÅúÅ"µúÉundÜèV_MPEG4/ISO/AVCÉÅ#„ÉѸ†U‡∞ÇÄ∫Ç∞ÇÄT∫Ç¢≠d(ˇ·gd(¨Ÿ@x'¿ZÄÄĆ Å„2¿Ôè14:42
Femma1Y@!ÑRH!ÖRH!ÖRH)•òbä)¶òb )ßsÃ1« É:˧ìPB)§PJ*©§îRJ-÷ZsÓΩ›sÔA¯ ÑB!ÑB!ÑBBCV !dB!ÑRH!¶òb )ßÄ–êU ÄIëÀ±Õ—ÕÒœ%Q%—2-”R5S3=UTE’TUWU]]wm’vm’ñm◊Vm’vm’VmY∂m€∂m€∂m€∂m€∂m€∂m 4d †#9í#)í")í„8íܨd(ä„8é‰Hé%iífyñgâö®ôöË©û14:42
Femma1ÑܨxäÁxégyíÁxégyößiö¶iö¶iö¶iö¶iö¶iö¶iö¶iö¶iö¶iö¶iö¶iö¶iö¶iö¶i@h»*@@«q«q«qGr$14:42
Femma1Y»@R$«r,Gs4«s<GtD«tL…îT…µ\14:42
Femma1Y@,ES<«ì<œ5œ”4ÕMQ4M”4M”4M”4M”4M”4M”4M”4M”4M”4M”4M”4M”4MSÅ14:42
timpFemma1, nik90: I got a message that the video could not be played, with a button to download. The download worked.14:47
timpnik90: can you report a bug requesting this functionality?14:47
timpnik90: for ubuntu-ui-toolkit and ubuntu-ux, that way we can also track the solution that design comes up with14:47
timpnik90: and you can attach the video to the bug14:47
Femma1nik90:  can you put the video link in dropbox or something please?14:47
Femma1or what timp says :D14:47
nik90Femma1, try https://www.dropbox.com/s/cd994hcot05ccm8/unav.mkv?dl=014:50
Femma1nik90:  timp yes that works, I have a meeting for an hour in the next 10 mins, I shall take a look when I'm done :)14:51
nik90ok :014:51
nik90:)14:51
=== trmsu is now known as Laney
=== chihchun is now known as chihchun_afk
=== afkthairus is now known as athairus
bzoltan_subet: What the Tools->Options...->Ubuntu shows?19:37
subetbzoltan_: It shows just an empty list.19:55
bzoltan_subet: I wonder if the static chroot package was properly installed19:55
bzoltan_subet:  dpkg -l|grep ubuntu-sdk19:56
bzoltan_subet:  there should be a ubuntu-sdk-api-15.04-armhf or ubuntu-sdk-api-15.04-i38619:56
subetHmm, I just ran the apt get command: http://paste.ubuntu.com/16055782/19:56
bzoltan_subet:  ls /var/lib/schroot/chroots19:57
subetThe directory is empty19:57
bzoltan_subet: that is a problem indeed19:57
subetoO can I fix this?19:58
bzoltan_subet:  please purge that package ... dpkg --purge ubuntu-sdk-api-15.04-armhf19:58
bzoltan_subet:  it is possible that you will need to use the force19:58
subetDone19:58
bzoltan_subet:  and now apt install it again19:59
bzoltan_subet:  and follow the consol logs19:59
subetOkay, will try20:00
mkellyDoes anybody in here by chance have a solution to this issue: http://askubuntu.com/questions/754532/i-need-ubuntu-components-1-3-for-ubuntu-14-04/762690#76269020:00
bzoltan_subet: I might be offline, but please pastebin the output and I will check it later20:02
subetyay, it's there now :) Thank you bzoltan_. It's asking me whether I want to update it. I can do this savely, can't I?20:02
bzoltan_subet: I would not update that20:02
subetOkay20:02
subetIt shouldn't actually ask, should it?20:02
bzoltan_subet:  one reason that the regular click chroot is busted is the broken dependency on the overlay ppa... with an upgrade you might get the same20:02
bzoltan_subet:  it will not break the chroot, but might fail.20:03
subetyeah, I almost guessed that. Okay20:03
subethttp://paste.ubuntu.com/16055837/ here's the log, but I don't think you need it now that it works20:03
bzoltan_subet:  the IDE asks you whenever the update tells it about20:03
bzoltan_subet:  enjoy :) and please ping me in case the SDK does not behave well :)20:04
subetthank you!20:04

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!