/srv/irclogs.ubuntu.com/2015/02/11/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
akiva-thinkpad!ping08:42
ubot5pong!08:42
akiva-thinkpadmorning all08:42
=== chihchun_afk is now known as chihchun
akiva-thinkpadbzoltan_, or zbenjamin curious; do any of you know of a signal for when a project is opened? I can get one when the project is changed, but that complicates things.09:16
zbenjaminakiva-thinkpad: hm let me thing09:16
zbenjaminthink09:16
akiva-thinkpad:)09:16
zbenjaminakiva-thinkpad: check out the ProjectExplorer::SessionManager09:17
akiva-thinkpadzbenjamin, ah; will try. I thought that was for QtCreator's "restore session" thing09:17
zbenjaminakiva-thinkpad: it is , but since you are always in a Session its what you want to use09:18
zbenjaminwhy do you need to know about new projects?09:18
zbenjaminakiva-thinkpad: ^09:18
akiva-thinkpadzbenjamin, when a project is opened; not neccessarily new. The reason is that the way I have constructed the plugin for autopilot, is that it performs a search for an autopilot suite, and adds a run configuration. Its just easier if I could get this to act only on when a project is opened.09:20
zbenjaminakiva-thinkpad: i would suggest to use the RunConfiguration factories09:20
zbenjaminakiva-thinkpad: thats what they are for09:21
akiva-thinkpadzbenjamin, I am09:21
zbenjaminif you register those factories they are called automatically when a new project is opened09:21
akiva-thinkpadzbenjamin, I agree; I just want to have it autoconfigure when a project is first opened.09:22
akiva-thinkpadzbenjamin, hmmm my issue now seems to be that I need a good way to wait until the project has finished loading. Otherwise my function executes too early causing a crash.10:08
mivoligoanyone managed to buy Ubuntu phone today? :)10:18
akiva-thinkpadmivoligo, thinking about it, although for na... 2g is all I can get10:20
akiva-thinkpadmivoligo, what about you?10:20
mivoligoakiva-thinkpad: problems with the website and now out of stock10:21
akiva-thinkpadmivoligo, oh really ? Thats a good problem to have :)10:21
zbenjaminakiva-thinkpad:hmm10:21
zbenjaminakiva-thinkpad: you really sure you need that hook?10:21
zbenjaminakiva-thinkpad: not sure there is a signal you can use for that10:22
akiva-thinkpadzbenjamin, well the alternative as I see it, and I'm open to suggestions of course, is to have a button on the widget which sets it up.10:22
akiva-thinkpadzbenjamin, what do you think?10:23
zbenjaminakiva-thinkpad: i still do net get why it needs setup?10:23
zbenjaminmaybe you can explain the problem a bit moire10:23
mivoligoakiva-thinkpad: tbh it was pretty bad experience with bq website10:23
akiva-thinkpadzbenjamin, Well at some point, I need to create the run configuration. Also if tests are changed, I will need to be able to refresh and search for them again.10:23
zbenjaminas i see it: project loaded -> setups targets automaticall -> by that it calls into your runconfig factories and your rc's get created without a extra hook10:23
JamesTaitGood morning all; happy Get Out Your Guitar Day! :-D10:24
zbenjaminakiva-thinkpad: can you show me the code10:24
akiva-thinkpadzbenjamin, yah sure10:24
akiva-thinkpadzbenjamin, http://paste.ubuntu.com/10171418/ its pretty much top down, so it should be easy to follow.10:26
akiva-thinkpadobviously not a final project.10:26
akiva-thinkpadand some outdated comments10:26
zbenjaminakiva-thinkpad: hm you are doing it a bit wrong :D10:27
zbenjaminakiva-thinkpad: you see, when the plugin is loaded you create your RunConfigurationFactory once and register it to the plugin system10:28
akiva-thinkpadthats a snapshot actually :P I was in the middle of editting.10:28
zbenjaminakiva-thinkpad: then everytime QtC loads a project it will automatically go through all registered factories and ASKS them "Do you have something for this project configuration"10:28
akiva-thinkpadoh hmmm, yah I have that somewhere10:28
akiva-thinkpadthe factory is in the object pool; I know that. The run config is being added, no problem.10:29
kalikianat1mp: how about a review? this is to fix pop overs show up off screen https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/orientationGoneWrong/+merge/24796910:29
t1mpkalikiana: yeah why not ;)10:30
kalikianaheh10:30
kalikianathanks10:30
akiva-thinkpadzbenjamin, bah I should have given you a version that I wasn't mucking around with :P10:30
akiva-thinkpadzbenjamin, oh yah actually; you are right about the factory.10:32
* akiva-thinkpad puts that in initialize10:32
zbenjaminakiva-thinkpad: this is the factory interface http://code.woboq.org/qt5/qt-creator/src/plugins/projectexplorer/runconfiguration.h.html#ProjectExplorer::IRunConfigurationFactory10:32
zbenjaminakiva-thinkpad: in virtual QList<Core::Id> availableCreationIds(Target *parent, CreationMode mode = UserCreate) const = 0;  you need to return a Core::Id for every possible runconfig you can create for the passed Target10:33
zbenjaminakiva-thinkpad: so for example a Id would be:   AutopilotPlugin.Tests.Testname , later you can get the two suffixes to know what the ID represents10:33
akiva-thinkpadzbenjamin, Yep; I have that in my class constructor I believe10:34
zbenjaminakiva-thinkpad: so basically in availableCreationIds, THATS the place where you search for the autopilot tests, every test you find results in an ID10:34
akiva-thinkpadzbenjamin, I don't think I'm explaining my issue right.10:35
zbenjaminakiva-thinkpad: to restart that process you can call Target::updateDefaultRunConfigurations()10:35
akiva-thinkpadzbenjamin, hmmmm okay give me a few hours10:36
zbenjaminakiva-thinkpad: you can also push your code to some bzr branch so you do not need to paste it together in a pastebin ;)10:36
zbenjaminakiva-thinkpad: keep in mind that the Target has informations about if its a Desktop or a Ubuntu Device10:36
zbenjaminakiva-thinkpad: you probably want to support running on Desktop first, so you would only create IDs if the Target is using a Desktop device10:37
akiva-thinkpadzbenjamin, https://code.launchpad.net/~akiva/qtcreator-plugin-autopilot/trunk10:38
=== chriadam is now known as chriadam|away
akiva-thinkpadI havn't pushed in a few days. Anyways thanks for all that.10:39
zbenjaminakiva-thinkpad: first focus on making that work, later if you want you can try to add the HUD support. Don't do all at once :)10:39
akiva-thinkpadzbenjamin, :| it already has hud support10:39
zbenjaminakiva-thinkpad: ok then10:39
akiva-thinkpadlike two weeks ago :P10:40
zbenjaminakiva-thinkpad: are you still creating the menu items too?10:40
akiva-thinkpadthe run config was working too. I just didn't have a good signal for creating the initial run config10:40
zbenjaminakiva-thinkpad: in QtC you need to say goodbay to defined situtations where you can do stuff. You can only rely on the factories being called by QtC ... its all async10:41
akiva-thinkpadzbenjamin, what do you mean, creating them? They are initiated and refreshed when the signal is given.10:41
akiva-thinkpadzbenjamin, that is a good tip I think.10:42
zbenjaminakiva-thinkpad: To give you a bit of a better idea how it works:10:42
zbenjaminYou have Projects in your current session10:42
zbenjaminEvery Project, can have n Targets, a target is basically Kit + Configuration10:42
zbenjaminso now in every Target, you have Build , Deploy and Runconfigurations10:43
zbenjaminThese configurations are unique and belong only to one Target10:43
zbenjamineverytime you switch the Target the currently used Run, Build and Deployconfigurations are switched as well10:44
zbenjaminQtC usually takes care of making sure the Targets have up 2 date configurations10:44
zbenjaminthis happens for example when you switch between targets10:44
zbenjaminthat means, you can not link your MenuItems to the Project, they need to be linked to the currently active Target10:45
zbenjamini'm not really sure if it makes sense to have Runconfigs and MenuItems10:45
zbenjaminfor QtC i would suggest to add support in the Locator, which is the small lineedit on the bottom. It supports lots of quick commands and can be reached by using Ctrl+K10:46
zbenjamininstead of HUD10:46
akiva-thinkpadzbenjamin, the menu is pretty well fine actually.10:46
akiva-thinkpadzbenjamin, ah yah I saw that some time before; Not a bad idea.10:46
zbenjaminakiva-thinkpad: I know, but why would we need a menu if we already have runconfigs10:46
zbenjaminakiva-thinkpad: we had menu items before for run on the device and it was not really nice to use10:47
akiva-thinkpadzbenjamin, the answer to that is to quickly run an individual run config. Here I'll demo where I'm at. give me 10 minutes, and i'll link you a video10:47
zbenjaminakiva-thinkpad: and if QtC has a way of doing it , it should be used.10:47
akiva-thinkpadan individual test*10:47
akiva-thinkpadzbenjamin, I don't disagree10:48
akiva-thinkpadI agree rather :)10:48
zbenjaminakiva-thinkpad: then i would suggest Locator :  Ctrl+K autopilot testname10:48
zbenjaminakiva-thinkpad: i would even suggest to get your plugin upstream.10:49
akiva-thinkpadzbenjamin, not ready yet! :)10:49
zbenjaminyeah sure :) Once we include it into the SDK you can try to upstream as well10:49
akiva-thinkpadokay give me a few minutes; thanks for all that btw10:49
zbenjaminakiva-thinkpad: np, i don't want you to waste too much time on work you need to change later. SO a introduction was needed :)10:50
zbenjaminakiva-thinkpad: you can check out this code http://bazaar.launchpad.net/~ubuntu-sdk-team/qtcreator-plugin-ubuntu/trunk/view/head:/src/ubuntu/ubuntulocalrunconfigurationfactory.cpp10:51
zbenjaminakiva-thinkpad: thats where i create our runconfigs10:51
akiva-thinkpadzbenjamin, ah that is very nice10:52
=== rmescandon is now known as rmescandon|brb
=== _salem is now known as salem_
=== rmescandon|brb is now known as rmescandon
=== MacSlow is now known as MacSlow|lunch
t1mpwhat do you all think of this proposal? https://bugs.launchpad.net/ubuntu-ux/+bug/1420748/12:05
ubot5Launchpad bug 1420748 in ubuntu-ui-toolkit (Ubuntu) "Always reserve space for three actions in header" [Undecided,New]12:05
DS-McGuireakiva-thinkpad, o/ A few changes have been made to the subbreddits CSS, I have removed a bit from the sidebar to make it looks simpler. The CSS from our sub is going to be used for /r/Ubuntu and /r/Ubuntufr12:09
akiva-thinkpadDS-McGuire, sorry, give me a sec to check it out.12:14
akiva-thinkpado/12:14
DS-McGuireNo problem akiva-thinkpad12:14
akiva-thinkpadDS-McGuire, you got to stop editting the css with the enhancement suite :P12:15
DS-McGuireakiva-thinkpad, Let me check with it off12:15
akiva-thinkpadi'll screen shot12:15
DS-McGuireakiva-thinkpad, I see it....12:15
* DS-McGuire goes back to coding12:16
akiva-thinkpadDS-McGuire, preferences lol :)12:16
DS-McGuireshow me yours anyway akiva-thinkpad12:16
akiva-thinkpadDS-McGuire, okay12:16
akiva-thinkpadhttp://i.imgur.com/iXplVyq.png12:16
akiva-thinkpadjust that one spot :)12:17
akiva-thinkpadDS-McGuire, ah; you don't want people posting their app anymore?12:18
DS-McGuireakiva-thinkpad, Yes, I definatly do. I just don't think we need to even say it since it what the sub reddits is for. It's like saying you can only post food into /r/Food12:19
akiva-thinkpadotherwise it looks nice. Are we getting an ubuntu french mod?12:19
akiva-thinkpadDS-McGuire, I don't think its all that implied. Some people may not know whether its appropriate to do shameless self promotion12:20
akiva-thinkpadLike some may think this is just support on how to get started, or install ubuntu touch, imho12:21
DS-McGuireakiva-thinkpad, I guess, I am just assuming people will come and post their own work, I will change it back.12:22
akiva-thinkpadYou did a nice job with the fonts and spacing btw. I noticed it getting progressively better over time.12:22
akiva-thinkpador at least I think I noticed :P maybe it was just me12:22
DS-McGuireakiva-thinkpad, No, it's just that the mods on /r/Ubuntufr and /r/Ubuntu want to implement this CSS.12:22
akiva-thinkpadah12:22
akiva-thinkpadDS-McGuire, congrats :)12:23
akiva-thinkpadI wonder if they want the flairs too :P12:23
DS-McGuireNo you it wasnt just you, I really tried to make it all loook better on the sidebar, hence why I thought it would be better to tidy it up.12:23
DS-McGuireI think they are doing there own flairs akiva-thinkpad12:23
akiva-thinkpad:O12:23
akiva-thinkpadI like our flairs actually. Yes they may be slightly big, but they are small enough while still being able to read the text~12:24
akiva-thinkpadi'll be curious what they do though12:24
DS-McGuireakiva-thinkpad, I am just become very busy so I will talk to you later. I will work on this throughout the day though :)12:29
akiva-thinkpadDS-McGuire, later12:29
akiva-thinkpado/12:29
DS-McGuireakiva-thinkpad, Oh I will still be here, I just can't do the subreddit work right now haha!12:29
DS-McGuireI don't know why I said talk to you later hahah!12:29
DS-McGuirehope that makes sense12:30
* DS-McGuire needs coffee12:30
sverzegnassit1mp: I feel like 4 reserved spaces (3 on right + 1 on left) would be too much. There will be some app (e.g. telegram) that won't have much space on the header to display the page title. Moreover, I feel like scopes would look better if they have only two spaces reserved on right (since "add to favourite" and "settings" are secondary actions and they should always stay in a context menu, even if there's no back action in the header, IMHO)12:33
t1mpsverzegnassi: are you saying we should fix it t two on the right? (independent from left action)?12:35
deekayhello12:36
sverzegnassit1mp: yes, IMHO it would be better. I took a look at some core apps, and I think they will look better so.12:37
deekaycan someone help me? i try to start develope for the ubuntu touch12:37
deekayif i wana test a html5 app with the ubuntu-html5-app-launcher12:37
deekayclicks dont work, like a button or a <a href...>12:37
sverzegnassiIf ever an app will need to show one more action, there's a bottom edge that does the work well12:37
deekayknow someone that problem?12:39
t1mpsverzegnassi: ok I get it12:42
t1mpsverzegnassi: can you add a comment to the bug?12:43
t1mpsverzegnassi: I'll have to try to get approval from design before changing the current implementation12:43
sverzegnassitimp: ok, no problem!12:43
t1mpsverzegnassi: my point was to have the number of actions on the right independent from the back button. I don't know if 2 or 3 actions is better12:43
t1mpsverzegnassi: great, thanks12:43
sverzegnassitimp: yep, I agree with your point. I had the same problem while I was working on the design of one of my apps. the current implementation is pretty strange, since left and right actions are not correlated with one another.12:47
akiva-thinkpadzbenjamin, https://www.youtube.com/watch?v=Nsa-Y-wyM9U&feature=youtu.be12:52
akiva-thinkpadalso i'm terribly tired zzzzzzzzzzzzzzzzzzzz12:52
akiva-thinkpadthanks again12:52
liuxgin Ubuntu terminal, which key is ctrl +c?12:56
liuxgin ubuntu phone terminal12:56
akiva-thinkpadliuxg, you are using the reboot right?12:57
liuxgakiva-thinkpad, no, it is for the terminal app in the ubuntu, for example, a user wants to exit the current command.12:57
akiva-thinkpadliuxg, erm sorry i'm tired,; there are two ubuntu-touch versions of the terminal12:58
akiva-thinkpadan old one, and a reboot.12:58
akiva-thinkpadyou probably know this, I'm just checking :)12:58
ogra_liuxg, you select "ctrl" from the orange menu on the left12:58
ogra_tap and hold the little icon with the kbd12:59
ogra_akiva-thinkpad, i think reboot became the default a while ago12:59
akiva-thinkpadogra_,  don't yell at me! I'm sorry!13:00
akiva-thinkpad;_;13:00
ogra_lol, i dont yell :)13:00
liuxgogra_, I did not find the orange menu on the app.13:00
ogra_I NEVER YELL !!!13:00
akiva-thinkpadApology accepted.13:00
ogra_:)13:00
akiva-thinkpadogra_, hmmmm so do you want to take bets whether hes running the old version or not ?13:01
ogra_liuxg, what device, what release, what channel do you use ?13:01
liuxgogra_, rtm channel, nexus 413:01
ogra_hmm, that should have the new one ...13:01
akiva-thinkpadliuxg, if it is the old version, cant you click and hold the screen?13:01
ogra_liuxg, uninstall and re-install it13:01
ogra_terminal in the store is definately the reboot one13:02
liuxgogra_, yes, I can see that after I hold the screen. thanks13:02
akiva-thinkpadliuxg, the new one looks like this: http://i.ytimg.com/vi/zAiOUCvPCEk/maxresdefault.jpg13:03
akiva-thinkpadis that the one you have?13:03
liuxgakiva-thinkpad, no, it is not like that. I think this is the new design.13:05
akiva-thinkpadliuxg, that is the new design :P I think you are using the old design.13:06
popeyliuxg: how did you install terminal?13:07
popeyliuxg: and what device?13:07
liuxgpopey, i flashed it the rtm-proposed channel. it is already there in the image.13:07
deekaycant someone help me with my problem?13:08
popeyliuxg: check in system settings -> update, see if you get a new terminal13:08
popeyliuxg: should look like this http://popey.mooo.com/screenshots/2015/device-2015-01-21-131812.png13:08
popeydeekay: zbenjamin  or bzoltan_ may be able to help13:08
deekayshould I pm them?13:10
bzoltan_popey:  what was the problem, I do not see the lines from deekay13:10
bzoltan_deekay:  I am all here :) shoot13:10
deekayif i wana test a html5 app with the ubuntu-html5-app-launcher13:10
deekayclicks dont work, like a button or a <a href...>13:10
deekaythere nothing happen13:11
deekaythe application output say:13:12
deekayWARNING: This project is using the experimental QML API extensions for QtWebKit and s therefore tied to a specific QtWebKit release. WARNING: The experimental API will change from version to version, or even be removed. You have been warned!      unity::action::ActionManager::ActionManager(QObject*):     Could not determine application identifier. HUD will not work properly.     Provide your application identifier in $APP_I13:12
deekay reate CordovaView object.     Falling back on the plain Webview backend.13:12
=== rmescandon is now known as rmescandon|lunch
=== MacSlow|lunch is now known as MacSlow
deekaybzoltan_ and can you help me?13:31
bzoltan_deekay:  I was looking into it a bit. Would you mind to file a bug here https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu and describe your environment and the exact step-by-step process what you do?13:33
bzoltan_deekay:  I promise I will find the solution  or someone who will help13:33
=== rmescandon|lunch is now known as rmescandon
Mirvpopey: hey, did you have time yet to look at that script of yours downloads-all-apps-and-starts-those if it works nowadays?14:16
Mirv-and-takes-screenshot14:16
popeyMirv: I did, and now have my nexus 7 in a state with everything on it. is there a ppa you want me to test with?14:17
Mirvpopey: ooh! ppa:ci-train-ppa-service/landing-005 - currently working (before anything like ciborium and unity8 lands from currently prepared silos which would mean needs a rebuild)14:18
Mirvpopey: oh, and don't use citrain tool at the moment!14:18
popeyok14:18
Mirvpopey: normal apt-add-repository etc https://wiki.ubuntu.com/Touch/QtTesting - the current image is outdated and citrain would fail today14:18
popeyon a vivid image?14:19
Mirvyes14:20
Mirvmy dist-upgrade output just a moment ago after adding the PPA was http://pastebin.ubuntu.com/10173717/14:20
popeywhich channel?14:21
popeyubuntu-touch/vivid-proposed14:22
Mirvpopey: yes, latest daily14:23
popeyok14:23
popeybeuno: do we plan to allow developers to reply to reviews?14:54
popeybeuno: DanChapman for example has bad reviews for an app and can't respond to them14:55
beunopopey, I very much would like to, yes14:55
beunoI'm not sure when exactly I'll be able to fit it in, but I agree it's important14:55
popeybeuno: also, 404 https://myapps.developer.ubuntu.com/14:56
rickspencer3popey, can he not respond by writing his own review?14:56
popeyrickspencer3: ew.14:57
beunopopey, yikes!14:57
popeyI dont think that's very pleasant for anyone. not threaded for one, so no idea who he's replying to14:57
beunoon it14:57
popeyta14:57
rickspencer3yikes indeed!14:57
rickspencer3man down! man down!14:57
popeyMEDIC!14:57
beunoah14:58
beunoit's mid-deploy14:58
beunoback up14:58
beunowe'll make these windows smaller (or non-existent) soon14:58
rickspencer3beuno, maybe a nicer experinece in the meantime14:58
popeycan we fix the 404 page14:58
rickspencer3like a little "we'll be back"14:59
beunoindeed14:59
popeyso it says nice things and shows cartoon pictures of developers fixing stuff14:59
rickspencer3bonus points if you incorporate a cat meme in some way14:59
popeyor a giant spinning ubuntu logo14:59
popeythis design consulting is for free btw14:59
rickspencer3lol14:59
beunounderstood, I should spend the next hour googling for cat pictures and ubuntu logos15:00
popeystill dead here15:00
beunoone of the servers is still not fully deployed, it seems15:00
beunoso it's on-and-off15:00
beuno(being handled)15:01
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
popeyElleo: seen the %age bar do this before? http://popey.mooo.com/screenshots/device-2015-02-11-155300.png15:53
Elleopopey: yeah, I'd been meaning to poke mandel about that actually15:56
Elleopopey: I suspect that when the server doesn't send the total size UDM is sending an uninitialised value15:56
popeyElleo: want me to file a bug?15:56
Elleopopey: yes please15:56
popeyok15:57
Elleopopey: link me when you do and I'll add some components and add a UDM component to it15:57
Elleos/components/comments/15:57
popeyElleo: https://bugs.launchpad.net/podbird/+bug/142085315:58
ubot5Launchpad bug 1420853 in podbird "Download percentage bar sometimes goes up to millions of percent" [Undecided,New]15:58
Elleopopey: thanks15:59
popeynp16:00
=== chihchun is now known as chihchun_afk
=== seb128_ is now known as seb128
=== rickspencer3_ is now known as rickspencer3
=== rickspencer3_ is now known as rickspencer3
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
alnutileHello, looking forward to getting into ubuntu mobile development. Wondering if anyone can suggest a tablet that I could load it on for using day to day to get a sense of how things work?23:58

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