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

Open_Futureanyone actually here?02:52
Open_Futureappdevs02:52
Open_Futureanyone?02:55
=== chihchun is now known as chihchun_afk
=== athairus is now known as afkthairus
Open_FutureHi All, is it possible to develop using quickly/glade/python on a network storage drive from both desktop and laptop?  I keep getting an error.13:19
ahoneybunahayzen: your here!16:33
ahoneybunI'm using PageStack and when I click to load a new Page the old Page is under the new one16:39
ahoneybunscreenshot http://imgur.com/wel5APi16:40
=== afkthairus is now known as athairus
ahoneybunappdevs17:09
=== JanC_ is now known as JanC
ahoneybunmm17:25
ahoneybunthere is no reason why PageStack is not working right...17:42
ahoneybunhttp://pastebin.ubuntu.com/16010030/17:42
ahayzenahoneybun, haha that seems quite fun :-) think i've seen it before somehow18:14
ahoneybunI've been working on that for days...18:15
ahayzenahoneybun, maybe try putting visible: false ... on that Page {}18:15
ahoneybunbig reason I can't push the new version to the store18:15
ahoneybunlet me jump to my laptop18:15
ahayzenas then hopefully it will be only set to visible: true when it is pushed18:15
ahayzeni think it might be leaking through as you have defined the Page {} as a child of the PageStack18:16
ahoneybunbut that works in the sample on dev.ubuntu.,com18:16
ahoneybunI do have visiable set false18:16
ahayzenahoneybun, you mean you already have visible set to false? in that pastebin, i meant at around line 1918:17
ahayzenahoneybun, oh!18:17
ahoneybunI have it on line 2318:17
ahayzenahoneybun, the id: page0 is on the PageHeader ... not the Page18:17
ahayzeni think move the visible and id to the Page not PageHeader18:18
ahoneybunyep18:18
ahoneybunomg18:18
ahoneybunthough now the page0 has a back button for some reason18:19
ahoneybunand when you push it it wipes the page18:19
ahoneybunmm18:19
ahayzenhah18:19
ahayzenyou can just set the leadingActions to []18:19
ahoneybun?18:20
ahayzenor leadingActionBar.actions: []18:20
ahoneybunahayzen: http://imgur.com/qbOzU9Z18:20
ahayzenit works the same as the trailingActionBar.actions: [] you have used...18:20
ahoneybun[ ] ?18:20
ahayzenyeah that means empty list, eg no actions18:20
ahayzenotherwise maybe pastebin the whole code and i'll have a look again...but can't remember what the default behaviour is18:21
ahoneybunfixed18:21
ahayzenbut overriding the leadingActionBar with an empty list should hide the thing :-)18:21
ahayzencool :-)18:21
ahoneybunit looks awesome18:21
ahayzen\o/18:21
ahoneybunahayzen: your always my hero XD18:21
ahayzenhah no problem thanks :-)18:22
ahoneybunnow to use sections lol18:22
ahayzenahoneybun, you should have a play about with AdaptivePageLayout as well ;-)18:22
ahayzensections are cool :-)18:22
ahoneybunahayzen: http://imgur.com/71OyFuU18:22
ahayzen\o/18:23
ahoneybunyea I have a Nexus 7 and want it to look good there18:23
ahoneybunbut needed it to function a bit lol18:23
ahayzenhah18:23
ahoneybunI want this app to serve 2 things18:23
ahoneybuninfo about Ubuntu and showcase the Ubuntu UI a bit18:23
ahayzenyeah that'd be cool :-)18:24
ahoneybunI'll look at AdaptivePageLayout in one min18:24
ahoneybunmaking all the pages similar18:25
ahayzenahoneybun, when you get onto it :-) https://developer.ubuntu.com/api/apps/qml/sdk-15.04.4/Ubuntu.Components.AdaptivePageLayout/ and https://developer.ubuntu.com/en/blog/2015/08/10/adaptive-page-layouts/ may help :-)18:26
ahoneybunalso charging my nexus 718:26
ahoneybunseems I bookmarked the second before lol18:27
ahoneybunI wonder how hard that is to work with PageStack18:27
ahayzennot very :-)18:28
ahoneybuntbh it looks scary18:28
ahayzenjust change PageStack to AdaptivePageStack ... then set primaryPage to be your page0 .. and change push(url) to addPageToNextColumn(page0, url)18:29
ahayzenor something like that18:29
ahoneybunmm let me try18:29
ahoneybunahayzen: nope lol http://pastebin.ubuntu.com/16011866/18:32
ahoneybunhere is my current working code18:32
ahayzenahoneybun, what did you try with APL ?18:34
ahoneybunstuff lol18:34
ahoneybunI'm working from the examples now18:34
ahoneybunkinda working18:34
ahayzenhaha18:34
ahoneybunjust not pushing right now as I have not gotten to that18:34
ahayzenyeah you'll have you adjust your push() calls18:35
ahoneybunthe docs are talking about PageStack but it is not in there18:35
ahayzenhmm yeah weird18:36
ahayzentry just using addPageToNextColumn() with nothing before18:36
ahoneybunwith this I can't call on qml files?18:36
ahayzenyou should be able to... i managed in one prototype i did once18:36
ahayzentry doing like addPageToNextColumn(page0, Qt.resolvedUrl("components/About.qml"))18:37
ahoneybunypeError: Property 'addPageToCurrentColumn' of object Page_QMLTYPE_35(0x1292120) is not a function18:37
ahoneybunlet me try that one18:37
ahayzenit'll need to be on the AdaptivePageLayout i would have thought18:38
ahoneybuncannot anchor to18:39
ahoneybunfile:///home/aaron/Projects/ubuntu-beginner/Main.qml:38:13: QML Column: Cannot anchor to an item that isn't a parent or sibling.18:39
ahoneybunfile:///home/aaron/Projects/ubuntu-beginner/Main.qml:47: ReferenceError: addPageToCurrentColumn is not defined18:39
ahayzenhah18:39
ahayzenahoneybun, what does your code look like at the moment?18:39
ahoneybunhttp://pastebin.ubuntu.com/16012188/18:40
ahayzenahoneybun, try pageLayout.addPageToCurrentColumn18:41
ahayzenotherwise, i'll have to find my previous prototype :-)18:41
ahoneybunnow just that QML Column error18:42
ahayzenahoneybun, that will be because of this top: pageLayout.bottom18:43
ahayzenmaybe you mean ... page0.header.bottom ?18:43
ahoneybunbut thata fixes a issue with lay18:43
ahoneybun... maybe18:43
ahayzenor you could just remove as you have fill: anyway18:44
ahoneybunI was having a issue with the header18:44
ahoneybuncovering over a item18:44
ahayzenok try ... top: parent.header.bottom18:44
* ahayzen thinks it was that18:45
ahoneybunso no errors but it is working like normal18:45
ahoneybunnot loading anything to the other side18:45
ahayzenit will only do that if you screen is big enough...18:45
ahayzenas in... if the Window is wide enough18:46
ahayzenso maximise the window then try18:46
ahoneybunnope lol18:46
ahayzenoh18:46
ahayzeninstead of addPageToCurrentColumn18:46
ahayzenuse addPageToNextColumn18:46
ahayzen:-)18:46
ahoneybunnope lol18:47
ahayzenand you are clicking the right one? "News"?18:47
ahayzenwhat does your code look like now?18:47
ahoneybunyea18:47
ahoneybunhttp://pastebin.ubuntu.com/16012269/18:48
ahayzenhmm ahoneybun try putting anchors.fill: parent into the AdaptivePageLayout ... and then try making your window large18:49
ahayzenotherwise i'm gonna have to spin up the sdk and have a look :-)18:49
ahoneybun\0/18:50
ahayzendoes it work?18:50
ahoneybunyes18:50
ahayzen\o/18:50
ahoneybunsuper awesome18:51
ahoneybunahayzen: http://imgur.com/NT0HF6H18:51
ahayzenahoneybun, sweet \o/18:52
ahoneybunI think we can expect this on the store by the end of the day18:52
ahayzenawesome :-D18:52
ahoneybunI'll remove sections for now18:52
ahoneybunI'll work on that once my code is on LP18:53
ahoneybunbadly outdated that is18:53
ahayzenthere might be a bug related to the sections... and adaptivepagelayout18:53
* ahoneybun hopes bzr will work with him today18:53
ahayzenahoneybun, bug 1540240 will be one to note18:53
ubot5bug 1540240 in ubuntu-ui-toolkit (Ubuntu) "Automatic Header height adjustment should be optional " [Medium,Confirmed] https://launchpad.net/bugs/154024018:53
ahayzenbasically if you have header sections on the left side, at the moment the right side will match the height...18:54
ahoneybunoh18:55
ahayzen(only relevant when you start using the sections though :-) )18:56
ahoneybunyea lol18:56
ahayzenahoneybun, and having AdaptivePageLayout will be good for all those folks with the new tablet :-)18:57
ahoneybunthis is very true18:58
ahoneybunsomeone emailed me for french translations18:58
ahoneybunbut I was not ready for it18:58
ahoneybuntrying to update the Lp page atm18:59
ahayzenahoneybun, if you have a .pot setup LP is quite simple to get going18:59
ahoneybunyea I do want to do it at some point very soon19:01
ahoneybunyay my trunk and 3.0 series are up to date!19:05
ahoneybunthank thank thank you ahayzen19:05
ahayzenahoneybun, no problem :-)19:06
ahoneybunnow to make a click package and run on my tablet19:06
ahayzen\o/19:06
ahoneybunthe SDK never doess that right19:07
ahoneybunmm none of the buttons do anything19:10
ahoneybunit is taking forever to open on the tablet lol19:14
ahoneybunstill not open19:15
ahoneybunahayzen: uninstalled my old one and installed the new one, works!19:18
ahayzenahoneybun, problem solved ?19:20
ahayzenmaybe you didn't refresh the app scope or something19:20
ahoneybunyep all rotations work19:20
ahoneybuneither way it works19:20
ahayzen\o/19:22
ahoneybun..19:29
ahoneybunstupid rules19:29
ahoneybunahayzen: The package name com.ubuntu.developer is not valid. It can only contain dashes, numbers and lowercase ascii letters.19:29
ahoneybun?19:29
ahayzenahoneybun, should be package.developer now19:30
ahayzenlike helloworld.ahoneybun19:30
ahoneybunyea that never worked for me19:30
ahoneybunXD trying anyway19:31
ahoneybunThe new version submitted for 'ubuntubeginner' does not match the package namespace ('com.ubuntu.developer.aaronhoneycutt').19:32
* ahoneybun throws this crap out19:32
ahoneybunahayzen: ^19:34
ahoneybunXD19:34
ahoneybunthing hates me19:35
ahayzendo you have things differing with your package name in the manifest and the file or what is online?19:35
ahoneybunI think it used to be the com.ubuntu.developer thing when I first uploaded it to the store19:35
ahoneybunso it needs it to be the ssasme19:36
ahoneybun*same19:36
ahoneybunbut if you make it that way it complains a new error19:36
ahoneybunany devs on the server?19:37
ahoneybunwho can push this though19:37
ahoneybunpopey: around?19:40
ahoneybunThe new version submitted for 'ubuntubeginner' does not match the package namespace ('com.ubuntu.developer.aaronhoneycutt').19:40
ahoneybunmhall119:  ^19:49
ahayzenahoneybun, hmm if you have already uploaded before you should be able to update, maybe something in the .click has been updated to the new format by mistake20:01
ahoneybunmy only other option is to update a whole new app20:04
ahoneybunI change the package namespace to the old way and it tells me to update to the new20:04
ahoneybunI use the new and it tells me to use the old20:05
ahoneybunendless circle20:05
ahayzenugh20:05
ahoneybunI'm tempted to take down the old and reupload20:05
ahayzenb_euno maybe able to help, think he works on the store20:05
ahoneybunI even made a WHOLE new project and copy everything over20:05
ahayzenbut i know it is the weekend, so folks may not be about :-/20:05
ahoneybunand tried that to no success20:05
ahayzenahoneybun, you should be able to update .. as we still have com.ubuntu.music and others are still the same20:06
ahoneybunahayzen: should I take the old down and start fresh?20:06
ahayzenahoneybun, no i'd ask some of the store devs first20:06
ahoneybunmm20:06
ahayzenotherwise everyone that has installed the app, would have to refind it20:06
* ahoneybun really wanted it on the store today20:06
ahayzenand won't get an update20:06
ahayzenahoneybun, so what happens when you get everything to match com.ubuntu.developer.aaronhoneycutt ?20:07
ahoneybunsome error20:07
ahayzenhave you checked everything in the click file?20:08
ahoneybunit passes everything20:08
ahoneybunthough since I started a new project and imported everything I can build with the SDK20:08
ahoneybungot it!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!20:09
ahoneybunahayzen: com.ubuntu.developer.aaronhoneycutt.ubuntubeginner20:09
ahoneybunthat worked20:09
ahayzen\o/20:09
ahayzenahoneybun, anyway i have to go now, sounds like you've got things going :-)20:10
ahoneybunahayzen: thanks so much again20:10
ahoneybunnow to update screenshots20:10
ahayzenno problem :-)20:10
ahoneybunalright new version up, screenshots up,20:17
ahoneybunsuccessful saturday20:17
kemihi20:18
ahoneybunhey kemi20:19
ahoneybunmm trying to push my changes and it is not taking all the dirs22:41
ahoneybunbzr keeps  "skipping nested tree u'/home/aaron/Projects/uBeginner/uBeginner'"22:46

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