/srv/irclogs.ubuntu.com/2013/06/10/#ubuntu-app-devel.txt

oSoMoNgood morning gusch06:59
guschoSoMoN: hi06:59
oSoMoNgusch: would you be available for a short review?06:59
guschoSoMoN: sure07:00
oSoMoNgusch: https://code.launchpad.net/~osomon/webbrowser-app/open-blank-in-new-tab-from-frame/+merge/168131 thanks!07:00
guschoSoMoN: approved07:12
oSoMoNgusch: thanks!07:12
* Mirv uploads qt quick control / layouts 5.1 beta into a PPA for anyone interested in that new module07:58
nerochiarooSoMoN: hi, do you know why in webbroser-app you have tests/unittests/tst_QmlTests.cpp that doesn't seem to have any test code in it ?08:19
oSoMoNnerochiaro: read http://qt-project.org/doc/qt-5.0/qtquick/qtquick2-qtquick-qtquicktest.html#running-tests08:22
nerochiarooSoMoN: got it, thanks08:23
oSoMoNnerochiaro: has seb128 pinged you about licensing issues in notes-app?08:44
nerochiarooSoMoN: not yet08:45
oSoMoNnerochiaro: then please ping him about it, iirc it was rather urgent, there are mixed license headers that need to be made consistent across the app08:47
nerochiarooSoMoN: ok08:47
guschoSoMoN nerochiaro can you do a (lengthy) MR? https://code.launchpad.net/~schwann/gallery-app/gallery-initial-video-class/+merge/16813908:55
oSoMoNgusch: sure08:57
guschoSoMoN: thx08:57
om26ergusch, so it seems I fixed the jenkins failure "Statenotfounderror". by initiating the variables everywhere. I am in talk with autopilot developers for suggestions about handling that error better.09:31
om26erhttps://code.launchpad.net/~om26er/gallery-app/fix_jenkins_failure/+merge/16806209:31
om26erNow the test is finally passing on the Nexus 709:32
guschom26er: cool - approved09:35
=== mzanetti is now known as mzanetti|lunch
=== om26er is now known as om26er|away
=== mzanetti|lunch is now known as mzanetti
AskUbuntuHow to call several time a DefaultSheet | http://askubuntu.com/q/30640810:43
=== MacSlow is now known as MacSlow|lunch
oSoMoNgusch: I commented on your MR11:31
guschoSoMoN: ok - thx - working on it11:32
oSoMoNgusch: also, when you have a moment, could you please take a look at https://code.launchpad.net/~osomon/webbrowser-app/escape-regex/+merge/168408 ?11:34
guschoSoMoN: sure11:34
nerochiarooSoMoN: i'm running into some issues in setting up both unit and autopilot tests for the browser plugin, and i was wondering if you had a bit of time to give me some advice11:35
oSoMoNnerochiaro: sure11:35
nerochiarooSoMoN: pushing the branch, one minute. for unit tests i don't understand why they fail when running under debuild but they are passing otherwise. for autopilot i don't understand why most fail (and i know some of these tests need to stay in webbrowser-app)11:38
nerochiarooSoMoN: lp:~amanzi-team/ubuntu-ui-extras/ubuntu-ui-extras-initial11:38
oSoMoNnerochiaro: will have a look after lunch11:48
nerochiarooSoMoN: ok, i'm taking care of these copyright headers in the meantime11:49
guschoSoMoN: works for me - approved (not yet top approved)11:56
=== MacSlow|lunch is now known as MacSlow
=== om26er|away is now known as om26er
nerochiarotimp: hi, do you know if zsombi will be around today ?12:40
timpnerochiaro: no, he is off today. should be back tomorrow12:40
nerochiarotimp: ok,thanks12:40
oSoMoNnerochiaro: trying your branch, when I cd into tests/autopilot and then run "autopilot list browser", I’m getting lots of import errors, trivial to fix12:46
nerochiarooSoMoN: ok,that's strange. when i do the same i just get the list of tests. let me try from a fresh checkout12:46
oSoMoNnerochiaro: maybe because you have built a package and installed it?12:47
nerochiarooSoMoN: i don't think so, but let me double check that12:48
nerochiarooSoMoN: nope, no package installed12:48
nerochiarooSoMoN: ok, confirm the errors you see on a fresh checkout. i'm looking into them12:49
nerochiarooSoMoN: in the meantime the unit tests have issues too12:50
nerochiarooSoMoN: when run under debuild12:50
oSoMoNnerochiaro: what sorts of issues, do you have logs?12:52
nerochiarooSoMoN: it basically can't import the component, while if i run it with ctest manually it finds it. i can sure get you logs but it's probably quicker if you just run debuild -uc -us -b on the branch12:53
oSoMoNnerochiaro: the solution to your problem is at line 20 of bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/Ubuntu/Browser/CMakeLists.txt13:00
oSoMoNrenato_: hey, has seb128 pinged you already about license headers in the mediaplayer app?13:08
renato_oSoMoN, not yet13:10
renato_oSoMoN, what is the problem?13:10
oSoMoNrenato_: apparently there are some inconsistencies in the copyright/license headers that prevent the inclusion in the archive, please ping him to get it sorted out asap13:11
renato_oSoMoN, ok thanks13:11
nerochiarooSoMoN: what you mean by that is that the files are not getting copied to the right place ?13:14
oSoMoNnerochiaro: yes, it seems like you omitted copying this piece of the CMakeLists.txt when porting to your new structure13:16
guschoSoMoN: all your comment are fine now and jenkins approved https://code.launchpad.net/~schwann/gallery-app/gallery-initial-video-class/+merge/16813913:19
oSoMoNgusch: let me see13:21
oSoMoNgusch: added one comment, but take it as a suggestion only, as far as I’m concerned it’s approved13:23
guschoSoMoN: I'm used to use QCOMPARE only - that was the policy in my last team ;)13:25
nerochiarooSoMoN: ok, so for unit tests we're good, your suggestion fixed it13:25
guschoSoMoN: I'll top approve it then, ok?13:26
oSoMoNgusch: sure -- weird policy though, but yeah, go ahead13:27
guschnerochiaro oSoMoN renato_ anyone up for a review? https://code.launchpad.net/~schwann/gallery-app/gallery-util-qt-style/+merge/16834813:31
guschboiko: ^13:33
boikogusch: well, as I just came back my system is upgrading, so it might take some time for me to review this one, but I can take it if it is not urgent13:35
guschboiko: well - this is the first in a long list of MR - they are long, but include (more or less) only renaming of functions/variables13:36
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-util-qt-style/+merge/16834813:39
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-core-qt-style/+merge/16835213:39
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-medialoader-qt-style/+merge/16835513:39
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-media-qt-style/+merge/16835713:39
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-album-qt-style/+merge/16836713:39
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-database-qt-style/+merge/16837213:39
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-event-qt-style/+merge/16837313:39
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-photo-qt-style/+merge/16837413:39
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-qml-qt-style/+merge/16837613:39
guschhttps://code.launchpad.net/~schwann/gallery-app/gallery-src-qt-style/+merge/16837913:39
guschboiko oSoMoN nerochiaro renato_ this is the list of my MRs13:40
boikogusch: wow, that's really a long list of MRs :)13:40
guschthe are long, but simple (renaming only)13:40
guschat least I tried to split it up a bit ;)13:40
boikogusch: are they dependent on each other?13:40
guschboiko: yep13:40
boikogusch: ah ok, so maybe someone else can pick the first one and then I pick the next13:41
guschboiko: approvals can be done in any order - jenkisn will take care of that13:41
boikogusch: ah ok, so you set the dependencies correctly, ok, I will review the first one then13:42
guschboiko: thx13:42
oSoMoNgusch: I’ll get some of them, just not right now, I’ll ping you when I have some spare time13:42
guschoSoMoN: I guess I have to wait a bit, to get them all done ;)13:44
guschoSoMoN: it's renaming only - but afterwards gallery will have one coding style only (instead of 3 or 4)13:44
victorpKaleo, ping13:44
guschthat drives me crazy ...13:44
oSoMoNack, one coding style to rule them all…13:45
Kaleovictorp: im off today, anytginh urgent?13:48
victorpKaleo, bzoltan1 -not urgent,  just to let you know that the "torch" component in multimedia is not working and neither is the Camera.FlashTorch mode..13:48
Kaleovictorp: can u check with nerochiaro I thought he was using that13:49
guschvictorp: how did you test it?13:49
nerochiarovictorp: camera is using FlashTorch mode13:50
guschKaleo victorp Qt camera plugin was done by me ...13:50
victorpI created an app and added a torch component and didnt work :)13:50
guschvictorp: can you send me your code/project (I'm lazy ;)13:51
victorpgusch https://code.launchpad.net/~vtuson/+junk/torchapp13:51
victorpI could only get it to work using13:51
guschvictorp: thx - which device / image?13:52
victorpa camera component with Camera.FlashVideoLight13:52
victorpI am using Galaxy nexus13:52
victorpimage is fridays13:52
guschvictorp: ok - I'm looking at it (torch works for the camera app)14:00
victorpgusch, torch flash setting or torch component14:01
victorpcan you point me to the code ?14:01
guschvictorp: the setting14:01
victorpok14:04
victorplooking at https://code.launchpad.net/~phablet-team/camera-app/trunk14:04
guschvictorp: http://bazaar.launchpad.net/~phablet-team/camera-app/trunk/view/head:/Toolbar.qml14:04
victorp if (torchMode) {14:05
victorp                    camera.flash.mode = (flashState == "on") ?14:05
victorp                                        Camera.FlashOff : Camera.FlashVideoLight;14:05
victorpwhich is how I got my app to work14:05
victorplooking at http://qt-project.org/doc/qt-5.0/qtmultimedia/qml-qtmultimedia5-cameraflash.html14:08
victorpthat option is not even in the standard enumeration gusch14:08
victorpIMHO should be Camera.FlashTorch14:09
guschvictorp: hmm - seems like they remove it from the final Qt5 (documentation)14:09
victorpnerochiaro, ^^14:09
victorpyeap, the documentation implies that for viedo you should use Camera.FlashTorch14:10
victorpI dont think it matters for the camera apps14:10
victorpI think the problem is that using Camera.FlashTorch you get nothing, which I guess is why Torch component doesnt work either14:11
victorpgusch, ^14:11
guschvictorp: what torch component? But I guess yes14:11
victorpgusch, this torch component http://qt-project.org/doc/qt-5.0/qtmultimedia/qml-qtmultimedia5-torch.html14:13
victorpgusch, can we just map  Camera.FlashTorch to the same value to Camera.FlashVideoLight ?14:14
guschvictorp: I guess that's what I'll do - just checking ...14:14
guschvictorp: yes, the component uses the FlashTorch14:16
guschvictorp: I'll fix that14:16
victorpgusch, ok, I leave it with ya.. do you want me to open a bug?14:16
guschvictorp: not really needed - I'll do a MR in a few minutes ;)14:16
victorpokey dokey14:17
victorpthnx14:17
victorpgusch,  I will leave my app using  Camera.FlashVideoLight anyhow14:17
oSoMoNnerochiaro: hey, when you have a moment, could you please confirm bug #1189483 ?14:19
ubot2`Launchpad bug 1189483 in webbrowser-app "Error sheet still visible after closing tab" [Undecided,New] https://launchpad.net/bugs/118948314:19
guschvictorp: I till do a MR for fixing this in a few minutes - so I don't think we need a bug report14:21
guschus said that already ...14:21
guschups said that already ...14:21
victorpoks14:22
nerochiarooSoMoN: ok, looking into it. regarding the autopilot tests, i fixed & pushed the trivial erorrs on imports (sorry about that, last moment rename of the package). but now if you run pretty much any test, you will see there's some issue with the dimensions of the window, i am not really sure why it's getting the values that it's getting.14:23
nerochiarooSoMoN: basically what I do is to just run in qmlscene a simple qmlfile that imports the browser component and instantiates it as the root14:24
nerochiarooSoMoN: and modified main_window.py to get the browser component itself as the root instead of QQuickView14:24
oSoMoNnerochiaro: I’ll look into it in a moment14:24
oSoMoNnerochiaro: the autopilot tests that I’ve tried running fail because they expect that the browser will be opened with an initial URL, and it’s not, so there’s something that’s not working either with the component itself, or with the tests initialization14:38
nerochiarooSoMoN: was the browser autoloading an address something internal to the component ?14:46
oSoMoNnerochiaro: no, that’s specific to the app, but then the tests need to be adapted14:47
nerochiarooSoMoN: ok, i'll look into that14:49
nerochiarooSoMoN: i just noticed that the fix for unit tests didn't actually fix it. or at least not after i fully cleaned the tree. revision 9 is the fix i copied from the webbrowser-app branch14:50
oSoMoNnerochiaro: looking14:50
guschvictorp: I have an MR (but have trouble testing it at the device atm) https://code.launchpad.net/~schwann/qtubuntu-camera/camera-torch-support/+merge/16846814:51
nerochiarooSoMoN: hold on that,  i spotted my mistake i think14:53
oSoMoNnerochiaro: there’s no revision 9 to pull anyway…14:57
om26ermhall119, have a autopilot structure branch for the terminal-app pending there for a few days. can you get the developers to look into that ? https://code.launchpad.net/~om26er/ubuntu-terminal-app/initial_autopilot15:11
guschvictorp: are you willing to test and approve my MR?15:14
* om26er is fascinated a total of 82lines is the torch app.15:15
victorpgusch, i can look at it but not right now, sorry15:17
guschvictorp: that's ok - no hurry there ;)15:17
victorpgusch, :)15:20
victorpgusch,  is there a test image I can use? how do I test it?15:20
guschvictorp: jenkins will produce a dep file (link in the MR)15:21
guschvictorp: install it on the phone (and hope camera won't break - but there is a chance it will)15:21
mhall119om26er: sure, he's been out for a bit but he's back again today15:22
kalikianasomebody with a phone who could quickly run a test qml file?16:16
kalikianaI'd like to check something but my device is between me and a lot of sea and land mass :-]16:17
kalikianahttp://paste.ubuntu.com/5752154/16:18
om26erboiko, hey!17:02
om26erboiko, the phone-app hangs for a few seconds on startup if we have a large number of contacts17:03
boikoom26er: really? weird, it shouldn't17:03
boikoom26er: but anyway, the code that is in there is going to be replaced by renato_'s new contact service17:04
om26erboiko, sounds good17:04
boikoom26er: the new service supports paginated results so we can better balance the load between keeping the UI responsive and load contacts17:04
om26erboiko, also for doing things more efficient we could get a bit help from the opensource android apps like the contacts17:05
boikoom26er: help like what?17:05
boikoom26er: the new service uses some concepts from the way android does things, but it is mapped to our context and technologies17:06
om26erboiko, dealing with long lists of data or loading of thumbnails in gallery etc17:06
om26erright17:06
boikoom26er: if you want to check, I can point you to the documents where we have discussed the service renato_ is implementing17:07
om26erboiko, yeah, do share17:07
boikoom26er: let me find that17:07
om26erboiko, this service is going to be open for third party apps as well ?17:08
boikorenato_: do you have the link to the document around? I have to dig here to find it17:08
boikoom26er: probably yes17:09
boikoom26er: found this one: https://wiki.ubuntu.com/Touch/Specs/ContactsService17:10
om26erboiko, thanks17:10
renato_boiko, which document?17:11
boikorenato_: the ones about the contacts service17:12
boikorenato_: or is everything already in that ubuntu wiki page?17:12
renato_I think the ubuntu wiki is the official one, the other doc that I have is the API17:17
boikorenato_: ok, thanks17:19
om26ernerochiaro, Hey! so the notes-app not working well is a bug in the SDK ? can you point me to a bug report for the sdk bug ?17:27
=== hatchetation_ is now known as hatchetation
=== marlinc_ is now known as marlinc
=== balloons_ is now known as balloons
nerochiaroom26er: i haven't filed one yet, need to speak a little bit more with zsombor but he's out today18:00
om26ernerochiaro, i'll ping you about that tomorrow then ;)18:03
nik90does anyone know how to get the current UTC time in qml?18:49
nik90At the moment, I am getting the locale time using new Date()18:49
AskUbuntuWhere can a beginner learn ubuntu game development? | http://askubuntu.com/q/30657519:23

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