Open_Future | anyone actually here? | 02:52 |
---|---|---|
Open_Future | appdevs | 02:52 |
Open_Future | anyone? | 02:55 |
=== chihchun is now known as chihchun_afk | ||
=== athairus is now known as afkthairus | ||
Open_Future | Hi 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 |
ahoneybun | ahayzen: your here! | 16:33 |
ahoneybun | I'm using PageStack and when I click to load a new Page the old Page is under the new one | 16:39 |
ahoneybun | screenshot http://imgur.com/wel5APi | 16:40 |
=== afkthairus is now known as athairus | ||
ahoneybun | appdevs | 17:09 |
=== JanC_ is now known as JanC | ||
ahoneybun | mm | 17:25 |
ahoneybun | there is no reason why PageStack is not working right... | 17:42 |
ahoneybun | http://pastebin.ubuntu.com/16010030/ | 17:42 |
ahayzen | ahoneybun, haha that seems quite fun :-) think i've seen it before somehow | 18:14 |
ahoneybun | I've been working on that for days... | 18:15 |
ahayzen | ahoneybun, maybe try putting visible: false ... on that Page {} | 18:15 |
ahoneybun | big reason I can't push the new version to the store | 18:15 |
ahoneybun | let me jump to my laptop | 18:15 |
ahayzen | as then hopefully it will be only set to visible: true when it is pushed | 18:15 |
ahayzen | i think it might be leaking through as you have defined the Page {} as a child of the PageStack | 18:16 |
ahoneybun | but that works in the sample on dev.ubuntu.,com | 18:16 |
ahoneybun | I do have visiable set false | 18:16 |
ahayzen | ahoneybun, you mean you already have visible set to false? in that pastebin, i meant at around line 19 | 18:17 |
ahayzen | ahoneybun, oh! | 18:17 |
ahoneybun | I have it on line 23 | 18:17 |
ahayzen | ahoneybun, the id: page0 is on the PageHeader ... not the Page | 18:17 |
ahayzen | i think move the visible and id to the Page not PageHeader | 18:18 |
ahoneybun | yep | 18:18 |
ahoneybun | omg | 18:18 |
ahoneybun | though now the page0 has a back button for some reason | 18:19 |
ahoneybun | and when you push it it wipes the page | 18:19 |
ahoneybun | mm | 18:19 |
ahayzen | hah | 18:19 |
ahayzen | you can just set the leadingActions to [] | 18:19 |
ahoneybun | ? | 18:20 |
ahayzen | or leadingActionBar.actions: [] | 18:20 |
ahoneybun | ahayzen: http://imgur.com/qbOzU9Z | 18:20 |
ahayzen | it works the same as the trailingActionBar.actions: [] you have used... | 18:20 |
ahoneybun | [ ] ? | 18:20 |
ahayzen | yeah that means empty list, eg no actions | 18:20 |
ahayzen | otherwise maybe pastebin the whole code and i'll have a look again...but can't remember what the default behaviour is | 18:21 |
ahoneybun | fixed | 18:21 |
ahayzen | but overriding the leadingActionBar with an empty list should hide the thing :-) | 18:21 |
ahayzen | cool :-) | 18:21 |
ahoneybun | it looks awesome | 18:21 |
ahayzen | \o/ | 18:21 |
ahoneybun | ahayzen: your always my hero XD | 18:21 |
ahayzen | hah no problem thanks :-) | 18:22 |
ahoneybun | now to use sections lol | 18:22 |
ahayzen | ahoneybun, you should have a play about with AdaptivePageLayout as well ;-) | 18:22 |
ahayzen | sections are cool :-) | 18:22 |
ahoneybun | ahayzen: http://imgur.com/71OyFuU | 18:22 |
ahayzen | \o/ | 18:23 |
ahoneybun | yea I have a Nexus 7 and want it to look good there | 18:23 |
ahoneybun | but needed it to function a bit lol | 18:23 |
ahayzen | hah | 18:23 |
ahoneybun | I want this app to serve 2 things | 18:23 |
ahoneybun | info about Ubuntu and showcase the Ubuntu UI a bit | 18:23 |
ahayzen | yeah that'd be cool :-) | 18:24 |
ahoneybun | I'll look at AdaptivePageLayout in one min | 18:24 |
ahoneybun | making all the pages similar | 18:25 |
ahayzen | ahoneybun, 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 |
ahoneybun | also charging my nexus 7 | 18:26 |
ahoneybun | seems I bookmarked the second before lol | 18:27 |
ahoneybun | I wonder how hard that is to work with PageStack | 18:27 |
ahayzen | not very :-) | 18:28 |
ahoneybun | tbh it looks scary | 18:28 |
ahayzen | just change PageStack to AdaptivePageStack ... then set primaryPage to be your page0 .. and change push(url) to addPageToNextColumn(page0, url) | 18:29 |
ahayzen | or something like that | 18:29 |
ahoneybun | mm let me try | 18:29 |
ahoneybun | ahayzen: nope lol http://pastebin.ubuntu.com/16011866/ | 18:32 |
ahoneybun | here is my current working code | 18:32 |
ahayzen | ahoneybun, what did you try with APL ? | 18:34 |
ahoneybun | stuff lol | 18:34 |
ahoneybun | I'm working from the examples now | 18:34 |
ahoneybun | kinda working | 18:34 |
ahayzen | haha | 18:34 |
ahoneybun | just not pushing right now as I have not gotten to that | 18:34 |
ahayzen | yeah you'll have you adjust your push() calls | 18:35 |
ahoneybun | the docs are talking about PageStack but it is not in there | 18:35 |
ahayzen | hmm yeah weird | 18:36 |
ahayzen | try just using addPageToNextColumn() with nothing before | 18:36 |
ahoneybun | with this I can't call on qml files? | 18:36 |
ahayzen | you should be able to... i managed in one prototype i did once | 18:36 |
ahayzen | try doing like addPageToNextColumn(page0, Qt.resolvedUrl("components/About.qml")) | 18:37 |
ahoneybun | ypeError: Property 'addPageToCurrentColumn' of object Page_QMLTYPE_35(0x1292120) is not a function | 18:37 |
ahoneybun | let me try that one | 18:37 |
ahayzen | it'll need to be on the AdaptivePageLayout i would have thought | 18:38 |
ahoneybun | cannot anchor to | 18:39 |
ahoneybun | file:///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 |
ahoneybun | file:///home/aaron/Projects/ubuntu-beginner/Main.qml:47: ReferenceError: addPageToCurrentColumn is not defined | 18:39 |
ahayzen | hah | 18:39 |
ahayzen | ahoneybun, what does your code look like at the moment? | 18:39 |
ahoneybun | http://pastebin.ubuntu.com/16012188/ | 18:40 |
ahayzen | ahoneybun, try pageLayout.addPageToCurrentColumn | 18:41 |
ahayzen | otherwise, i'll have to find my previous prototype :-) | 18:41 |
ahoneybun | now just that QML Column error | 18:42 |
ahayzen | ahoneybun, that will be because of this top: pageLayout.bottom | 18:43 |
ahayzen | maybe you mean ... page0.header.bottom ? | 18:43 |
ahoneybun | but thata fixes a issue with lay | 18:43 |
ahoneybun | ... maybe | 18:43 |
ahayzen | or you could just remove as you have fill: anyway | 18:44 |
ahoneybun | I was having a issue with the header | 18:44 |
ahoneybun | covering over a item | 18:44 |
ahayzen | ok try ... top: parent.header.bottom | 18:44 |
* ahayzen thinks it was that | 18:45 | |
ahoneybun | so no errors but it is working like normal | 18:45 |
ahoneybun | not loading anything to the other side | 18:45 |
ahayzen | it will only do that if you screen is big enough... | 18:45 |
ahayzen | as in... if the Window is wide enough | 18:46 |
ahayzen | so maximise the window then try | 18:46 |
ahoneybun | nope lol | 18:46 |
ahayzen | oh | 18:46 |
ahayzen | instead of addPageToCurrentColumn | 18:46 |
ahayzen | use addPageToNextColumn | 18:46 |
ahayzen | :-) | 18:46 |
ahoneybun | nope lol | 18:47 |
ahayzen | and you are clicking the right one? "News"? | 18:47 |
ahayzen | what does your code look like now? | 18:47 |
ahoneybun | yea | 18:47 |
ahoneybun | http://pastebin.ubuntu.com/16012269/ | 18:48 |
ahayzen | hmm ahoneybun try putting anchors.fill: parent into the AdaptivePageLayout ... and then try making your window large | 18:49 |
ahayzen | otherwise i'm gonna have to spin up the sdk and have a look :-) | 18:49 |
ahoneybun | \0/ | 18:50 |
ahayzen | does it work? | 18:50 |
ahoneybun | yes | 18:50 |
ahayzen | \o/ | 18:50 |
ahoneybun | super awesome | 18:51 |
ahoneybun | ahayzen: http://imgur.com/NT0HF6H | 18:51 |
ahayzen | ahoneybun, sweet \o/ | 18:52 |
ahoneybun | I think we can expect this on the store by the end of the day | 18:52 |
ahayzen | awesome :-D | 18:52 |
ahoneybun | I'll remove sections for now | 18:52 |
ahoneybun | I'll work on that once my code is on LP | 18:53 |
ahoneybun | badly outdated that is | 18:53 |
ahayzen | there might be a bug related to the sections... and adaptivepagelayout | 18:53 |
* ahoneybun hopes bzr will work with him today | 18:53 | |
ahayzen | ahoneybun, bug 1540240 will be one to note | 18:53 |
ubot5 | bug 1540240 in ubuntu-ui-toolkit (Ubuntu) "Automatic Header height adjustment should be optional " [Medium,Confirmed] https://launchpad.net/bugs/1540240 | 18:53 |
ahayzen | basically if you have header sections on the left side, at the moment the right side will match the height... | 18:54 |
ahoneybun | oh | 18:55 |
ahayzen | (only relevant when you start using the sections though :-) ) | 18:56 |
ahoneybun | yea lol | 18:56 |
ahayzen | ahoneybun, and having AdaptivePageLayout will be good for all those folks with the new tablet :-) | 18:57 |
ahoneybun | this is very true | 18:58 |
ahoneybun | someone emailed me for french translations | 18:58 |
ahoneybun | but I was not ready for it | 18:58 |
ahoneybun | trying to update the Lp page atm | 18:59 |
ahayzen | ahoneybun, if you have a .pot setup LP is quite simple to get going | 18:59 |
ahoneybun | yea I do want to do it at some point very soon | 19:01 |
ahoneybun | yay my trunk and 3.0 series are up to date! | 19:05 |
ahoneybun | thank thank thank you ahayzen | 19:05 |
ahayzen | ahoneybun, no problem :-) | 19:06 |
ahoneybun | now to make a click package and run on my tablet | 19:06 |
ahayzen | \o/ | 19:06 |
ahoneybun | the SDK never doess that right | 19:07 |
ahoneybun | mm none of the buttons do anything | 19:10 |
ahoneybun | it is taking forever to open on the tablet lol | 19:14 |
ahoneybun | still not open | 19:15 |
ahoneybun | ahayzen: uninstalled my old one and installed the new one, works! | 19:18 |
ahayzen | ahoneybun, problem solved ? | 19:20 |
ahayzen | maybe you didn't refresh the app scope or something | 19:20 |
ahoneybun | yep all rotations work | 19:20 |
ahoneybun | either way it works | 19:20 |
ahayzen | \o/ | 19:22 |
ahoneybun | .. | 19:29 |
ahoneybun | stupid rules | 19:29 |
ahoneybun | ahayzen: The package name com.ubuntu.developer is not valid. It can only contain dashes, numbers and lowercase ascii letters. | 19:29 |
ahoneybun | ? | 19:29 |
ahayzen | ahoneybun, should be package.developer now | 19:30 |
ahayzen | like helloworld.ahoneybun | 19:30 |
ahoneybun | yea that never worked for me | 19:30 |
ahoneybun | XD trying anyway | 19:31 |
ahoneybun | The new version submitted for 'ubuntubeginner' does not match the package namespace ('com.ubuntu.developer.aaronhoneycutt'). | 19:32 |
* ahoneybun throws this crap out | 19:32 | |
ahoneybun | ahayzen: ^ | 19:34 |
ahoneybun | XD | 19:34 |
ahoneybun | thing hates me | 19:35 |
ahayzen | do you have things differing with your package name in the manifest and the file or what is online? | 19:35 |
ahoneybun | I think it used to be the com.ubuntu.developer thing when I first uploaded it to the store | 19:35 |
ahoneybun | so it needs it to be the ssasme | 19:36 |
ahoneybun | *same | 19:36 |
ahoneybun | but if you make it that way it complains a new error | 19:36 |
ahoneybun | any devs on the server? | 19:37 |
ahoneybun | who can push this though | 19:37 |
ahoneybun | popey: around? | 19:40 |
ahoneybun | The new version submitted for 'ubuntubeginner' does not match the package namespace ('com.ubuntu.developer.aaronhoneycutt'). | 19:40 |
ahoneybun | mhall119: ^ | 19:49 |
ahayzen | ahoneybun, 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 mistake | 20:01 |
ahoneybun | my only other option is to update a whole new app | 20:04 |
ahoneybun | I change the package namespace to the old way and it tells me to update to the new | 20:04 |
ahoneybun | I use the new and it tells me to use the old | 20:05 |
ahoneybun | endless circle | 20:05 |
ahayzen | ugh | 20:05 |
ahoneybun | I'm tempted to take down the old and reupload | 20:05 |
ahayzen | b_euno maybe able to help, think he works on the store | 20:05 |
ahoneybun | I even made a WHOLE new project and copy everything over | 20:05 |
ahayzen | but i know it is the weekend, so folks may not be about :-/ | 20:05 |
ahoneybun | and tried that to no success | 20:05 |
ahayzen | ahoneybun, you should be able to update .. as we still have com.ubuntu.music and others are still the same | 20:06 |
ahoneybun | ahayzen: should I take the old down and start fresh? | 20:06 |
ahayzen | ahoneybun, no i'd ask some of the store devs first | 20:06 |
ahoneybun | mm | 20:06 |
ahayzen | otherwise everyone that has installed the app, would have to refind it | 20:06 |
* ahoneybun really wanted it on the store today | 20:06 | |
ahayzen | and won't get an update | 20:06 |
ahayzen | ahoneybun, so what happens when you get everything to match com.ubuntu.developer.aaronhoneycutt ? | 20:07 |
ahoneybun | some error | 20:07 |
ahayzen | have you checked everything in the click file? | 20:08 |
ahoneybun | it passes everything | 20:08 |
ahoneybun | though since I started a new project and imported everything I can build with the SDK | 20:08 |
ahoneybun | got it!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 20:09 |
ahoneybun | ahayzen: com.ubuntu.developer.aaronhoneycutt.ubuntubeginner | 20:09 |
ahoneybun | that worked | 20:09 |
ahayzen | \o/ | 20:09 |
ahayzen | ahoneybun, anyway i have to go now, sounds like you've got things going :-) | 20:10 |
ahoneybun | ahayzen: thanks so much again | 20:10 |
ahoneybun | now to update screenshots | 20:10 |
ahayzen | no problem :-) | 20:10 |
ahoneybun | alright new version up, screenshots up, | 20:17 |
ahoneybun | successful saturday | 20:17 |
kemi | hi | 20:18 |
ahoneybun | hey kemi | 20:19 |
ahoneybun | mm trying to push my changes and it is not taking all the dirs | 22:41 |
ahoneybun | bzr 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!