/srv/irclogs.ubuntu.com/2015/01/19/#ubuntu-app-devel.txt

=== tim is now known as t1mp
=== chriadam|away is now known as chriadam
AkivaAvrahamAnyone ever run autopilot tests on a device or emulator?02:58
veebersAkivaAvraham: autopilot is run everyday on Ubuntu Touch devices. It should work with the emulator, but haven't tried myself recently. Are you experiencing issues?03:06
AkivaAvrahamveebers, well I don't have a device, and I need to know the command neccessary to execute tests from a commandline.03:07
AkivaAvrahamveebers, https://code.launchpad.net/~akiva/qtcreator-plugin-autopilot/trunk03:07
veebersAkivaAvraham: I'm not sure about the emulator sorry, but we use phablet-test-run to run the tests03:16
AkivaAvrahamveebers, okay but question03:20
AkivaAvrahamveebers, is phablet-test-run ran in phablet-shell?03:21
veebersAkivaAvraham: hmm, my memory is a little rusty in this sense, but I'm pretty sure it makes sure that the noted packages are installed then runs the autopilot command. All this done with a series of 'adb shell' commands.03:22
veebersbut I might be wrong03:22
veebersAkivaAvraham: sorry that I can't be more help. In a couple of hours more people will be online that could extend what I've said03:30
AkivaAvraham!ping04:20
ubot5pong!04:20
AkivaAvrahamveebers, you don't have a device, do you?04:20
veebersAkivaAvraham: nominally I do, but not right now with me sorry04:22
AkivaAvrahambzoltan_, The plugin is almost done, however I just need to know what commands are needed to run tests on devices. Namely, I need to know whether I have to ssh into the device using phablet shell. I don't have a device unfortunately.05:17
bzoltan_AkivaAvraham: So the AP tests of the active project is imported automagically?05:22
AkivaAvrahambzoltan_, yes05:23
bzoltan_AkivaAvraham:  Awesome. Let me see that one first.05:23
AkivaAvrahambzoltan_, okay. Do you want a video?05:23
AkivaAvrahamor the lp?05:23
bzoltan_AkivaAvraham:  The on device execution might be tricky. The idea is that we use the QtCreator's internal logic.05:24
bzoltan_AkivaAvraham: preferable lp: please05:24
AkivaAvrahambzoltan_, okay one sec05:24
AkivaAvrahamhttps://code.launchpad.net/~akiva/qtcreator-plugin-autopilot/trunk05:24
AkivaAvrahambzoltan_, ^05:24
bzoltan_AkivaAvraham:  How is the list updated? I mean if I add new tests ... how they will show up in the list? After build?05:25
AkivaAvrahambzoltan_, onProjectChanged signal05:25
bzoltan_AkivaAvraham:  nice05:25
bzoltan_AkivaAvraham:  I will jump on it with zbenjamin when he joins and give you some feedback.05:26
AkivaAvrahambzoltan_, I guess I could add an update mechanism; good idea05:26
AkivaAvrahambzoltan_, look forward to it. Some of the code will be cleaned up; I'm just waiting until I implement device running.05:27
AkivaAvrahamRunning the test on the device is easy if it can be done from a regular terminal... as said though; no device so I am out of luck.05:28
bzoltan_AkivaAvraham:  The emulator should at your disposal05:33
bzoltan_should be05:33
AkivaAvrahambzoltan_, it is; does that count as a device?05:33
bzoltan_AkivaAvraham:  yes, it does05:33
AkivaAvrahambzoltan_, okay, and if I am in a shell, and the emulator is running, am I running tests using adb or phablet-shell?05:34
bzoltan_AkivaAvraham:  with phablet-test-run05:34
AkivaAvrahamor am I running tests from my desktop, using a tool that tells the device to run the device.05:34
AkivaAvrahamrun the test*05:34
AkivaAvrahamokay05:34
bzoltan_AkivaAvraham:  you will need to install few autopilot packages in the emulator05:36
AkivaAvrahambzoltan_, oh okay05:36
AkivaAvrahamsudo apt-get install autopilot3?05:37
bzoltan_AkivaAvraham: yeps06:09
AkivaAvrahamokay06:09
=== seb128_ is now known as seb128
dholbachgood morning07:49
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
gventuripopey: hi. do you reckon it would be possible to arrange a handover with the weather app? We have some new designs ready09:51
popeygventuri: yeah, I will poke the guys again09:55
gventuripopey: thanks09:56
JamesTaitGood morning all; happy Monday, and happy Tin Can Day! :-D10:08
AkivaAvraham!ping10:26
ubot5pong!10:26
zbenjaminnik90: ping10:46
=== chihchun is now known as chihchun_afk
=== rmescandon is now known as rmescandon|brb
=== _salem is now known as salem_
=== rmescandon|brb is now known as rmescandon
AkivaAvrahampang11:32
mzanettirpadovani: popey: next update: http://notyetthere.org/data/com.ubuntu.developer.mzanetti.machines-vs-machines_0.1.3_armhf.click11:46
mzanettifile size down to 22MB (from the 135 last week) :D11:46
rpadovani\o/11:47
zbenjaminaquarius_: do you lan to also ship native components with ucs?11:47
aquarius_zbenjamin, yep.11:47
aquarius_that's what makes it most interesting.11:48
zbenjaminhow will that work?11:48
aquarius_when you submit a component, it contains the binary bit of it compiled for x86, amd64, and arm.11:48
zbenjaminaquarius_: we are thinking about teaching qmake about ucs11:49
aquarius_Nope.11:49
aquarius_well, maybe11:49
aquarius_A pure qml project does not use qmake11:49
aquarius_I do not want people writing pure qml projects to have to start *using* qmake.11:49
zbenjaminaquarius_: we are changing that11:49
zbenjaminaquarius_: since our pure qml projects come with more than just running qml files, it also needs to "make install" and "update translations"11:50
aquarius_I think that's a wrong thing to do. When I'm writing a pure QML project, which is most of the time and should be most of the time for most app authors, I do not want to have to think about or care about or even see any compilation stuff. It's both hard and annoying. :)11:50
zbenjaminusing qmlproject for more than prototyping is discouraged even by Qt upstream11:50
aquarius_That's because Qt upstream think that everybody should be writing C++ projects and using QML for nothing more than UI.11:51
zbenjaminaquarius_: well when you use QtC most of that is automatic anyway. Right click project -> add file works with qmake projects11:51
zbenjaminand if you write a qml project without QtC you do not care about projectfiles anyway11:52
zbenjaminthe problem with qmlproject is that we need so many ugly hacks11:52
aquarius_If you make compilation invisible, and make projects always build fat packages which are compiled for every arch in one package, then I think it's a good idea. Historically, that's been seen as less important, because it's perceived as OK for people compiling code to have to care about architectures, because they're C++ people. That's precisely absolutely the mindset that ucs is trying to fix.11:52
aquarius_I am very, very firmly of the opinion that I should be able to write nothing but QML, and if I need something that QML doesn't do, I "ucs install whatever" to get a thing which does do it -- and there are no "shadow builds", no architecture stuff, and it builds one single click package.11:53
aquarius_if that's doable with the stuff you're thinking about, then I am an eager supporter or your work.11:54
aquarius_*of your work11:54
zbenjaminaquarius_: yep the pure qml qmake project comes with "all" as architecture11:54
aquarius_right. I've already put some stuff in ucs which adds the downloaded-binary-component folders to the qmake setup11:55
aquarius_but having Ubuntu SDK automatically take care of that would, of course, be even nicer.11:56
AkivaAvrahamzbenjamin, bzoltan_ will I be able to get feedback within the next few hours? Or should I join your folks tomorrow?11:56
bzoltan_AkivaAvraham:  I think tomorrow would be more realistic11:56
AkivaAvrahambzoltan_, until then my friends11:57
AkivaAvrahamo/11:57
bzoltan_AkivaAvraham:  I am struggling with the localized chroots right now11:57
bzoltan_AkivaAvraham:  take care11:57
AkivaAvrahambzoltan_, did you try yelling at them?11:57
aquarius_zbenjamin, I'm happy to discuss this stuff in more detail.11:57
bzoltan_AkivaAvraham:  that is what I am doing ...all the time11:57
AkivaAvrahamAnd they arent listening? Dang11:57
* bzoltan_ once fixed a bug by looking at it angry11:58
ogra_you probably need to yell in the right language if it is a localization prob11:58
AkivaAvrahamYou could also try spitting on them, or making jokes about its mother.11:58
bzoltan_ogra_: you do not want to hear angry Hungarian :D11:58
ogra_:)11:58
zbenjaminaquarius_:  i wonder if it makes sense to make it possible to pull the source instead of the binaries  for C++ based projects11:59
aquarius_zbenjamin, I... basically don't care about C++ based projects. I'm sure that pulling the source there is the right thing to do.11:59
aquarius_But someone writing a C++-based project already has that as an option -- they can go grab the source from Launchpad for a component, and use it.11:59
aquarius_Someone writing a QML-based project does not have it as an option precisely because they do not understand compilation and should not have to.12:00
aquarius_ucs is, in my mind, primarily aimed at people who want to write in QML (which I think should be most app authors) but need the occasional-but-common API that QML doesn't provide -- write to a file, get the path to your home dir, etc.12:01
aquarius_so you "ucs install sil/GetHomeDir" and then import ubuntu_component_store.sil.HomeDir 1.0 in your QML, and carry on writing QML. No compilation required.12:01
zbenjaminok12:02
aquarius_Now, if that ucs command actually quietly downloads the source and adds it to your Run setup, so that the source gets compiled with your project *and you don't notice*, then I'm fine with it.12:02
aquarius_If adding a component as source alters the way you work with a pure QML project, then I don't want to do it.12:02
aquarius_It is not at all clear to me that the best way to solve this problem is "make everyone deal with qmake so it's hard all the time", though. :)12:03
=== aquarius_ is now known as aquarius
aquariusIn particular, I do not see at all why "make install" is required for a pure QML app.12:07
aquariusPart of the issue here is that everyone who is building the tools to make apps is a C++ person and therefore sees doing things the compile way as being the right thing to do.12:08
=== MacSlow is now known as MacSlow|lunch
=== alecu_ is now known as alecu
om26er_artmello, Hi! re: https://code.launchpad.net/~artmello/gallery-app/gallery-app-handle_gif_files/+merge/24493413:08
om26er_artmello, are the .gif supposed to animate as well ?13:08
artmelloom26er_: no, only showing the files13:10
om26er_ack13:10
om26er_artmello, How do I test fix for bug 1382109 ?13:13
ubot5bug 1382109 in gallery-app (Ubuntu RTM) "Events view should be shown on import" [High,In progress] https://launchpad.net/bugs/138210913:13
om26er_there seems to be no steps in the bug report and the description is not clear enough.13:13
artmelloom26er_: http://paste.ubuntu.com/9784954/13:19
artmelloom26er_: something like that13:19
om26er_artmello, Hi!13:38
om26er_artmello, I found this bug on image 202: https://bugs.launchpad.net/ubuntu/+source/gallery-app/+bug/141244213:38
ubot5Launchpad bug 1412442 in gallery-app (Ubuntu) "Images are black when opened in gallery" [Critical,New]13:38
om26er_not related to silo 14 though.13:39
artmelloom26er_: I think that could be the same issue nerochiaro reported here #141243213:41
nerochiaroartmello: om26er_: same issue, i am looking into it. please mark one of the bugs as duplicate13:43
om26er_nerochiaro, my bugs have the steps so I'll marks yours duplicate. sounds fine ?13:43
nerochiaroom26er_: ok13:48
om26er_artmello, there are no new tests for the new changes, is there a reason for that ?13:48
artmelloom26er_: about the moving to events view, no no specific reason13:50
mivoligomzanetti: hi13:53
om26er_artmello, bug 1382109 needs to have some kind of automated test. Writing an autopilot test should not be too much effort for this.13:54
ubot5bug 1382109 in gallery-app (Ubuntu RTM) "Events view should be shown on import" [High,In progress] https://launchpad.net/bugs/138210913:54
=== MacSlow|lunch is now known as MacSlow
artmelloom26er_: ok, will work on that14:01
=== rmescandon is now known as rmescandon|lunch
mzanettimivoligo: hey ho14:04
mivoligomzanetti: I'm done with these ending images14:04
mivoligomzanetti: where should I put them?14:05
mzanettimivoligo: into the levelpack14:06
mzanettimivoligo: just put them top-level into the machines-vs-machines folder14:06
mzanettinext to the levelpack.json14:07
mivoligook14:07
mivoligomzanetti: I'm not entirely happy with them tbh, but their not that bad :)14:08
mzanettimivoligo: will have a look at them shortly14:08
mzanettimivoligo: ah, got feedback from the testers that the tower popup (to upgrade, destroy etc) should be semi-transparent14:09
mzanettiwill try that to see how it looks14:09
mzanettibiab14:10
* mivoligo is googling biab14:10
dholbachhey beuno14:15
beunooh-oh14:15
dholbachso... regarding the appname.devname move....14:15
dholbachbasically we just ask zbenjamin and bzoltan_ to backport qtcreator-plugin-ubuntu and we're done and can move on to documenting things?14:16
dholbachclick-reviewers-tools is already backported AFAIK14:16
bzoltan_dholbach:  yes14:16
dholbachbzoltan_, were you planning to backport 1408644 to the sdk release ppa?14:17
beunodholbach, yeap14:17
dholbachok, c-r-t is confirmed to be backported14:18
bzoltan_dholbach: yes14:18
dholbachhum, I can't find it in the commit logs14:19
dholbachhttps://bazaar.launchpad.net/~ubuntu-sdk-team/qtcreator-plugin-ubuntu/trunk/revision/321 mentions bug 140074114:21
ubot5bug 1400741 in qtcreator-plugin-ubuntu (Ubuntu) "API tab links to the wrong version of the API" [Medium,Fix released] https://launchpad.net/bugs/140074114:21
dholbachok, looks like that was a mistake14:21
dholbachbzoltan_, zbenjamin: do you already know when you're going to do q-p-u backports again?14:22
bzoltan_dholbach: I was planning to do one this week. Around Thursday.14:22
dholbachgreat14:22
dholbachbzoltan_, https://bugs.launchpad.net/developer-ubuntu-com/+bug/140864414:22
ubot5Launchpad bug 1408644 in Ubuntu App Developer site "App namespace move to appname.devname" [High,Triaged]14:22
bzoltan_dholbach:  is that enough, or do you need it earlier14:23
dholbachbeuno, ^?14:23
beunowell, this is in place in production14:23
beunothe sooner its out there, the less confusion14:23
dholbachright right14:24
dholbachbeuno, does myapps load for you right now?14:25
beunono14:25
beunoit's down14:25
bzoltan_beuno: we have other changes bundled with this, so I rather keep the safe backporting process :)14:26
dholbachbeuno, ah, is it back up again?14:41
beunodholbach, it is now, yes14:42
dholbachbeuno, hum, can app names include "-"?14:46
beunodholbach, yes, but I think it's currently being rejected, bug is WIP14:47
dholbachok...14:47
dholbachbeuno, what happens if you change your personal namespace?14:48
dholbachI just went from com.ubuntu.developer.dholbach to dholbach14:48
dholbachwill this mean that users who already installed some of my apps won't upgrade to new versions?14:48
beunodholbach, new uploads go to that14:48
beunoold uploads are unchanged14:48
dholbachI'm not sure I understand... what does this mean for users?14:49
aquariusbeuno, am I right in thinking that nobody can use a namespace of "sil" but me, because that's my Launchpad ID?14:49
beunoaquarius, correct14:50
aquariusk14:50
beunoaquarius, well, not enforced yet, but can be enforces on demand14:50
beuno:)14:50
aquariusdemand.14:50
aquarius:-)14:50
beunodholbach, it means no change14:50
beunodholbach, old apps use the same namespace14:50
dholbachah ok14:50
dholbachgotcha14:50
aquariusI should note that I still think that the namespace rename is a mostly daft idea :)14:50
aquariusbecause squatting on namespaces is a lot easier now.14:52
beunoaquarius, it is, it's also typable!14:52
aquariusknowing to type org.kryogenix.riddling is, I admit, massively irritating14:52
aquariusbut I won't know anybody's developer name *either*, so I still have to look things up.14:52
aquariusoh look here's a game by Martin Albisetti, its package name is therefore... beuno.helloworld? What's a "beuno"?14:53
dholbachaquarius, helloworld.beuno14:53
aquariusah, that's slightly better, then :)14:53
dholbachaquarius, it all makes sense now, right? :)14:53
aquariusI look forward to the fight when someone registers "electronicarts", or indeed "canonical", as their developer namespace.14:54
beunoaquarius, we will enforce squatting agressively14:54
beunoso you'll loose all your users14:54
aquariusso if the multi-million-dollar SIL Incorporated decide to make Ubuntu apps, they lose to me, right?14:55
aquariuseven though they have a trademark on the name and I don't.14:55
aquariusthis is the problem with single-word namespaces :)14:55
beunoaquarius, trademarks win, of course14:56
beunowe have a plan to be able to rename apps on server and client, coordinated14:56
* dholbach knew aquarius was a trojan horse all along14:56
beunotransparent to users14:56
beunoin the valid cases14:56
aquariusunless "we enforce squatting aggressively" means "if someone has a trademark over a single word which is also your name, you don't get to use your own name, and that's just tough because, well, we wanted one single word and ignored advice from a passing handsome ginger bloke that it was a bad idea" :)14:56
beunoaquarius, we discussed the pros and cons14:57
beunousability won14:57
beunoit doesn't matter on the phone14:57
beunoit super matters in CLI14:57
aquariususability *to snappy users*.14:57
beunoyes, on the phone, nobody sees namespaces14:57
beunoso it doesn't matter at all14:57
aquariuswhat happens to apps which lose their namespace after they've been published?14:57
beunoif it was malicious, you loose your userbase14:58
aquariusspecifically: an app which loses its namespace also loses its appid, and so push notifications stop working.14:58
beunoif it wasn't, the app namespace gets renamed, the users don't see any changes14:58
=== om26er_ is now known as om26er
beunoyou shouldn't hardcode appid's, they should be grabbed from the ENV14:58
beunonamespaces are changed on new uploads14:59
aquariuswhat?14:59
beunoso you get to do it in a coordinated way14:59
beunoalso, we'll introduce UUIDs14:59
aquariusso my push server will break? :(14:59
beunowhich will likely be a better candidate for push to use14:59
beunoalso a transparent change14:59
aquariusit's not transparent... the server needs to include it in the message...!14:59
aquariusand a server can't know whether a user has upgraded the app or not, yet.15:00
beunoright, UUIDs will have to be in place15:00
Elleoaquarius: not sure if you've noticed already, but the fix for the dataPath/cachePath stuff has been released :)15:00
beunobefore renames happen15:00
beunoso the order will likely be, first UUID rollout15:01
beunoswitch push to that15:01
beunothen, renames15:01
aquariusbeuno, push notifications work today. Are you suggesting that they will change?15:01
aquariusbefore the phone is released?15:01
aquariuswhich is, like, three weeks? :)15:01
aquariusElleo, wooo!15:01
beunoaquarius, after, for sure15:01
beunopush should be able to be changed without changing the apps15:02
beunoto route by UUID instead of appid15:02
aquariusdon't see the use of UUIDs here, either. I send a message to (user token, appid) at the moment; what's the benefit of generating a uuid instead of the appid?15:02
aquariusthat just takes a meaningful chunk of data and makes it one more meaningless chunk that I have to store for everybody. :(15:03
beunothe backend could convert to appids15:03
beunosorry, uuids15:03
beunoso you give it an appid15:03
beunoand it converts it to a uuid15:03
beunobtw, squatting is no different today15:03
beunoyou can have com.microsoft15:04
beunoor com.ubuntu.developer.microsoft15:04
beunoand they can enforce trademark15:04
beunosame issue applies15:04
aquariusYa, but I can't demonstrate that I *should* be allowed that, over MS themselves. But there is more than one company with a given name. Global economy. Domain names solve that problem. Single-word names do not.15:05
beunodomain owners also change15:06
beuno)15:06
beuno;)15:06
beunostupid ; key is broken15:06
aquariuswhen you say "on new uploads", does that include new uploads *of existing apps*?15:07
beunono, new apps15:07
aquariusso if I upload a new version of, say, readability, it will become readability.sil rather than org.kryogenix.readability?15:07
aquariusah, that's good at least. :)15:07
beunonew uploads of existing apps can use the same namespace15:07
beunoeverything here revolves around no end-user disruption15:07
aquariusanyway, I have registered my complaints, so no worries. :)15:11
beunoaquarius, noted on the 22-volume collection of sil's complaints about software not working as expected15:12
* aquarius grins15:16
aquariusI prefer to think of it as "constructive feedback". :)15:16
beunoaquarius, I'll submit that to the editor15:17
yakaarhello everybody !! I've some questions about the different apps in ubuntu touch store : is there some secrity apps like textsecure or compatible or to encrypt calls or emails?15:23
yakaarbecause I couldn't find out any precise information about what apps are available and I would like to buy the ubuntu touch mobile which would come out on february15:27
gventuripopey: when is the weekly hangout for the Calculator team?15:28
popeygventuri: thursday15:30
alciI get "error: No targets specified and no makefile found.  Stop." when trying to build a click package. My template was "App with simple UI and localization"...16:02
=== mardy_ is now known as mardy
alciI think there is a package I have to install in the emulator (or in the kit), but I can't remeber what...16:03
sturmflut-work"Flood It" now has 32 downloads from the store, and "Qt3D cylinder" stands at 82 :)16:20
mzanettibeuno: hey, I just read the mail about the new appid format. when is this going to happen?16:22
mzanettibeuno: just to let you know that it will at least break unity8's launcher and probably something in qtmir too16:24
sturmflut-workpopey: Do you know any details about the "Ubuntu Developer Innovation Contest" by China Mobile and Canonical? It started a month ago and I expected a flood of chinese university students hitting the IRC channels or the mailing lists16:26
beunomzanetti, it's already in place16:28
beunonothing should break16:28
beunonew apps get a new unique string16:28
beunoold apps still use the same16:28
mzanettibeuno: we have code that relies on the "_" in there16:28
mzanettie.g. calls split("_") on the appId etc16:28
beunomzanetti, why would the _ change?16:29
mzanettiisn't it gone?16:29
beuno_ is added after the namespace16:29
beunofor the version number16:29
beunono?16:29
mzanettiyeah, but before there were two _16:29
mzanettilike com.foo.bar.app_app_1.016:29
beunonamespaces right now, don't have _'s16:29
mzanettinow it's app.bar_1.0, correcT?16:29
beunojust .'s16:30
mzanettiyeah... we do split on the first too I think16:30
beunothe appID generation should stay the same16:30
mzanettibeuno: is there an app in the store using this which I can test?16:30
beunomzanetti, sure, mine, "hello-world"16:31
beunohello icon16:31
beunoer, yellow icon16:31
mzanettibeuno: not as bad as I expected... just breaks a little16:33
mzanettibeuno: if you pin it to the launcher it won't parse the desktop file correctly any more16:34
mzanettiie. wrong name16:34
beunomzanetti, glad you brought it up16:34
beunocan you file the bug?16:34
mzanettibeuno: next time please tell us before if you're changing things like this :)16:34
beunomzanetti, I talked to a lot of people before, I guess I didn't talk to enought!16:35
beunosorry16:35
mzanettibeuno: :) the unity8 team just heard about it first time today16:35
beunomzanetti, but it launches on the phone16:36
beunoso I'm a bit puzzled why it works on the phone and not the desktop16:36
mzanettiwell, on the phone it's slightly buggy too. I think the reason why you can still run those apps is because it uses the code path for legacy apps16:37
mzanettii.e. not click apps16:37
mzanettiwhich don't have the _ in there16:37
mzanettibeuno: so does this mean we have to support 3 app id formats now?16:37
mzanettilegacy, click (old) and click (new) ?16:38
sturmflut-workbeuno: What confused me the most was that the Qt Creator plugin shipped with 15.04 already made use of the new appid format before the e-mail regarding the change came in. I had just created a new project and was about to file a bug against the Ubuntu SDK because I thought Qt Creator generated the wrong appid16:38
beunomzanetti, 2 formats, yes. What 3rd?16:38
beunosturmflut-work, right, those guys did some work ahead of time16:38
mzanettibeuno: dialer-app, com.ubuntu.developer.foo_foo_0.1, and foo.bar_0.116:38
beunomzanetti, yes16:40
mzanettimeh16:40
mzanettigreyback: fyi ^^16:41
rickspencer3elopio, I want to run autopilot tests from a script in the tests directory, but ...18:57
rickspencer3autopilot run ./autopilot/fairedescourses/18:57
rickspencer3doesn't work, autopilot says it can't find any tests18:57
rickspencer3if I cd into the autopilot directory, then18:57
rickspencer3autopilot run fairedescourses/18:57
rickspencer3works18:57
rickspencer3thoughts?18:57
brendandrickspencer3, actually what autopilot does is search the current directory for a module with the name specified19:06
rickspencer3brendand, ok, I added "cd autopilot" to me shell script :)19:06
brendandrickspencer3, in more detail - it needs a python import path, not a file system path19:07
brendandrickspencer3, like 'camera_app.tests.test_capture.TestCapture.test_hint_after_first_picture'19:07
rickspencer3brendand, I wrote a script to speed up testing with a u1db19:17
rickspencer3http://bazaar.launchpad.net/~rick-rickspencer3/+junk/fairesdescourses/view/head:/tests/U1DbTestSetup.py19:17
brendandrickspencer3, nice19:21
rickspencer3brendand, https://plus.google.com/109101768243927790674/posts/6KWZLNhsYZo19:22
rickspencer3are there instructions for making a click package out of an existing cordova app?19:29
qtrosballoons we need you!20:01
rpadovaniProject Ara will be released Feb 6th, as Ubuntu Phone. PLOT TWIST: Project Ara will be the first Ubuntu Phone!20:06
aquariusrickspencer3, https://developer.ubuntu.com/en/apps/html-5/guides/cordova-guide/20:16
rickspencer3hi aquarius20:17
rickspencer3aquarius, any interest into making another awesome Ubuntu phone video?20:17
rickspencer3one where you show folks all the different gestures?20:17
aquariusrickspencer3, hm. Could do, I suppose. The one I did was specifically to prove a point to Bryan, but lots of other people seemed to like it. :)20:17
rickspencer3aquarius, indeed, it was some of the best "marketing" for the phone I've seen20:18
rickspencer3I'd love to have a video to point to people to that shows some of the gestures20:18
rickspencer3a nice professional but friendly looking one20:18
aquariusI'm not sure I *know* all the gestures? I mean, there's swipe-left for the launcher, swipe-right for previous app, long-swipe-right for the app switcher, swipe-down (and left/right) for the status menus. In theory there'd be swipe-up for the bottom edge but I don't know any app that actually does anything interesting with that, yet.20:19
rickspencer3aquarius, the hard one for folks is the short swipe from the right edge, versus the long swipe20:19
rickspencer3people have trouble discovering the difference, and get confused20:20
aquariusI can imagine. I make that error myself; not swiping far enough.20:20
aquariusOh, and long-swipe-left for the Dash.20:20
rickspencer3indeed20:20
rickspencer3:)20:20
rickspencer3aquarius, those cordova docs are exactly what I needed20:20
aquariusit does not help that I am fairly conditioned for swipe-left meaning "go back" from iOS Safari; I swipe left to go back in the browser and instead get the Dash. (I make the same mistake in Chrome, where swipe-left means "next tab".20:21
aquariusbut, sure, I can do a video of that.20:21
rickspencer3thanks aquarius, what a guy :)20:30
mivoligomzanetti: seen the pictures?21:41
mzanettimivoligo: not yet, sorry21:42
mivoligomzanetti: no problem :)21:42
mzanettimivoligo: hey, bad news21:48
mzanettigotta drop support for ubuntu 14.0421:49
mzanettiin order to have it fullscreen on the phone21:49
mivoligomzanetti: ok, I think we almost done anyway21:49
mivoligomzanetti: I'll test it in the virtualbox then21:50
mzanettimivoligo: so to run it, can edit machines-vs-machines.qml and just change one import from 2.2 to 2.021:50
mzanettiit'll fail the fullscreen call but that's not a problem on the desktop21:50
mzanettiall the rest should still be fine21:50
mivoligoah, ok, I did that yesterday I think :)21:51
aquariusmzanetti, can you detect whether the fullscreen call is available and use it if so, rather than just requiring too-new libraries?21:52
mzanettiaquarius: I probably could somehow21:52
mzanettibut there aren't any phones with 14.0421:52
aquariusya, but fullscreen stuff *ought* to work on desktop ;)21:52
mzanettiyes, but not with QML only21:52
mzanettii could add a main.cpp and do the setFullscreen() call there, that would work21:53
mzanettibut in order to just use qmlscene I need to import QtQuick.Window 2.221:53
mzanettiand given it was discouraged by the sdk to have a main.cpp I thought I'd play nice and dropped it21:54
mzanetti:)21:54
aquariushm21:54
aquariusthat's annoying21:54
mzanettiwell, next template will have a main.cpp again (apparently it has other advantages too)21:55
aquariusnormally I'd say to use a Loader but I don't know if that even *works* with a core QtQuick lib ;)21:55
mzanettiso when I update to the newer template I can fix it21:55
mzanettiuse a Loader?21:55
aquariushttps://bugreports.qt.io/browse/QTBUG-1685421:56
mzanettiyeah... would work I guess21:56
aquariususing a Loader is a pain in the ringpiece, I admit, but it'd be nice to not deny the app to desktop users, all of whom will still be on 14.04 a year from now :)21:57
mzanettiif someone helps out with packaging it for the desktop I'd fix it :D21:57
mzanettibut can't be bothered to maintain a .deb :D21:57
aquariusgoodness, no21:58
aquariusbut a year from now you'll be able to install click packages on the desktop.21:58
Purebe|WorkAnyone know if there is any difference between running a program in the background and opening it via double click?21:58
aquariusthere is no "packaging for the desktop", 'cos converrrrrrrrrrrrrgence ;)21:58
mzanettiaquarius: but then you can also have the import QtQuick.Window 2.2 :)21:58
aquariusmzanetti, hm.21:58
aquariusbloke makes a point. :)21:58
aquariusPurebe|Work, are you clicking on the executable for the app?21:59
Purebe|Workaquarius, yes21:59
Purebe|WorkIt runs fine, it's just if I open it ~20 times manually everything is good - but if I launch it ~20 times in the background the window eventually messes up21:59
aquariusPurebe|Work, then there should be no difference when doing that, as far as I'm aware; the file manager doesn't launch things in a special way. (I assume this is with an app you've downloaded to your home folder?)21:59
Purebe|WorkIt's an app I'm developing22:00
Purebe|Worknasty bug22:00
aquariusthat's weird, then22:00
aquariuswhat does "messes up" mean, here?22:00
Purebe|Workit quits rendering22:00
Purebe|Workso you just see what is essentially a screenshot of the state the desktop was in when it runs22:00
Purebe|Workthe underlying code still works, and, eventually it restarts itself as it's meant to - but once this happens it stays messed up this way22:01
Purebe|Workuntil I manually shut it down22:01
aquariusmzanetti, I suppose you're right, then :) I just don't like stuff dropping 14.04 because (a) I'm still on it and (b) every time somebody does that it makes it more likely that everyone forgets to backport stuff to 14.04 and the promise that we won't require people to run dev OSes just to get apps goes away a bit. :)22:01
aquariusPurebe|Work, that's weird. What's it written with?22:01
Purebe|WorkQt22:01
Purebe|Work4.722:01
Purebe|WorkIt uses the ALWAYS_ON_TOP_HINT22:02
aquariusit sounds like a Qt rendering issue; you may have more luck asking on the Qt channels, because they'll know more about how to turn on various debug things so you can see what's going on with rendering... but there are some smart Qt people here too, sometimes :)22:02
Purebe|Workto be honest, I just figured out it was a rendering issue :D22:02
Purebe|Workprogress22:02
Purebe|Workfor the past ~week almost I thought it was something else22:03
Purebe|Workbut, thanks for the suggestion - I will ask over there22:03
aquariusis it literally graphics rendering -- that is, can you still click on buttons in the app (well, where the buttons are, even if you can't see them) and have the click do what it should, or does the app ignore clicks as well?22:03
Purebe|Workthere are no buttons22:04
Purebe|Workbut, it responds to ESC22:04
Purebe|Workand logic continues22:04
aquariussounds like a graphics issue, perhaps. It might be worth getting someone else with a different graphics card to test it in case you're tickling some sort of Xorg/driver bug...22:04
=== salem_ is now known as _salem
Purebe|Workthat isn't a bad idea at all, and lucky me I have several machines right here to test with22:05
Purebe|Workthanks22:05
aquariusno worries.22:05
mzanettiaquarius: tried the loader thing22:10
mzanettiproblem is: if the Window is not the top level item, it actually creates a subwindow22:10
aquariusis it entirely composed of fail ? :)22:10
aquariushaha! really?22:10
aquariusthat's rubbish then :)22:10
mzanettiyeah, sure... that's what it is supposed to do... so not the Window's fault22:10
mzanettibut kills the loader workaround for this case22:10
mzanettiso it's either a main.cpp to load it, or dropping 14.04 support22:11
aquariuswhat QML *actually wants* is conditional imports, like Python has. But Qt upstream hide under a bed every time it gets suggested and wave a sign which says "you should all be using C++ anyway"22:11
aquariusdrop 14.04 support, then. That's fair.22:11
aquariusand if anyone complains, tell 'em it's upstream's fault ;)22:11
mivoligoare there any plans to backport all that new stuff to 14.04 in the future?22:19
mivoligoppa or something?22:19
mivoligomzanetti: I'll be back tomorrow. Let me know if I should redo those images :)22:33
mzanettimivoligo: I think there is already a ppa22:33
mzanettimivoligo: will add the images to the game now22:34
mivoligomzanetti: ok, see you tomorrow :)22:35
mzanettio/22:35
ahoneybunI'm following the appdev class doc and when I click on a article it moves to show "Content" but it does not really load the content of the article23:29
ahoneybunmhall119, ^23:29

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