/srv/irclogs.ubuntu.com/2013/11/04/#ubuntu-app-devel.txt

JamesTaitGood morning all; happy Use Your Common Sense Day! :-D09:52
oSoMoNnerochiaro, ping09:52
nerochiarooSoMoN: hey09:58
oSoMoNnerochiaro, hey09:58
oSoMoNnerochiaro, last week I had access to a nexus409:58
oSoMoNnerochiaro, I looked into the failing autopilot test for notes-app09:58
oSoMoNnerochiaro, never managed to reproduce the issue in several hundreds runs…09:59
nerochiarooSoMoN: so it might be just a jenkins issue you think ?09:59
oSoMoNnerochiaro, Omer was able to reproduce it locally with his nexus4, so I don’t think so09:59
oSoMoNnerochiaro, but it’s definitely a heisenbug10:00
nerochiarooSoMoN: that's really annoying10:00
oSoMoNnerochiaro, while investigating the issue, I submitted https://code.launchpad.net/~osomon/notes-app/manually-create-db/+merge/193097 as a random attempt to fix it10:00
oSoMoNnerochiaro, turns out it doesn’t fix the bug, but I still think the change is valid, would you mind taking a look?10:01
nerochiarooSoMoN: doing that now10:01
oSoMoNnerochiaro, thanks10:01
nerochiarooSoMoN: the reason why i don't totally like that approach is that it embeds in the tests much more knowledge about the database structure than we need. by letting Qt create it we have (1) the ini file created properly by Qt, which might change between versions (2) the db structure created by the app, so if it's changed we have one less place to fix in the tests10:06
nerochiarooSoMoN: if the app starting and quitting isn't causing problems, i don't see why not use it to setup the tests10:07
oSoMoNnerochiaro, I know, but on the other hand launching the app, then quitting it, then launching it again is probably not what autopilot is expecting10:07
nerochiarooSoMoN: i don't think it cares, it all happens before the tests are run10:07
oSoMoNnerochiaro, an alternative would be to have a first dummy test that does nothing (but the app is started and thus the db created), and ensure this test is always run first10:08
nerochiarooSoMoN: that would be ok too, but it seems to me we're trying to fix a problem that is not really a problem10:08
oSoMoNnerochiaro, yeah, maybe10:10
oSoMoNnerochiaro, the code that finds the db file could still be simplified, I’ll see if I can extract this one into a separate MR10:11
nerochiarooSoMoN: if you think it's important, i can give a more in-depth review to that MR and we can change things that way. I'm not fully against it, I just dont't see the need for it, is all.10:11
oSoMoNnerochiaro, or is there still a reason for looking the db in two different paths?10:11
oSoMoNnerochiaro, nah you’re right, until it’s proven to be a problem, let’s keep it this way10:12
nerochiarooSoMoN: i don't think I wrote the code that looks in two different paths. I think when i wrote that function i was looking into just one, IIRC10:12
nerochiarooSoMoN: if we're sure it's always in the same place i'm happy to simplify that code10:13
guschtmoenicke: please review https://code.launchpad.net/~schwann/ubuntu-keyboard/keyboard-cpp-qml/+merge/19342710:13
oSoMoNnerochiaro, ok, I’ll go for a separate MR that simplifies that code then10:15
oSoMoNnerochiaro, I also submitted https://code.launchpad.net/~osomon/notes-app/unskip-tests-desktop/+merge/193303, mind having a look?10:15
nerochiarooSoMoN: looking. i'll have an MR for you to review as well soon10:16
oSoMoNnerochiaro, sure10:17
=== _salem is now known as salem_
nerochiarooSoMoN: MR to unskip tests, approved10:54
oSoMoNnerochiaro, thanks10:55
oSoMoNnerochiaro, I just submitted https://code.launchpad.net/~osomon/notes-app/simplify-db-lookup/+merge/19375011:17
nerochiarooSoMoN: looking. can you have a go at this one instead ? https://code.launchpad.net/~amanzi-team/notes-app/notes-app-cursor-in-view/+merge/19374311:54
oSoMoNnerochiaro, yup11:54
oSoMoNnerochiaro, does it fix a known bug?11:58
=== MacSlow is now known as MacSlow|lunch
nerochiarooSoMoN: i don't think there's a report for it. essentially you can keep typing in a note and eventually you overflow the screen space and you can't see what you're typing anymore12:02
oSoMoNnerochiaro, ok12:03
oSoMoNnerochiaro, I need to flash the latest image before I can test, it’s gonna take a while, but I’ll test it today for sure12:03
nerochiarooSoMoN: no problem12:05
nerochiarooSoMoN: i was looking into the presentation that bill emailed everyone. it doesn't mention notes anywhere, does it mean there are no plans for notes for the next cycle ?12:06
nerochiarooSoMoN: actually there was a bug related (in part) to that MR i asked you to review: https://bugs.launchpad.net/notes-app/+bug/1170362 (i already linked it to the MR)12:16
ubot2Launchpad bug 1170362 in notes-app "[note pad] can't create a long content note" [High,In progress]12:16
nerochiarooSoMoN: one more thing: if i see a bug that's marked fix committed but i know the fix is in the current image, can i just mark it fix released myself (or is that something QA should do) ?12:17
guschnerochiaro tmoenicke I don't get the onTextChanged events from bug 124316412:19
ubot2Launchpad bug 1243164 in Ubuntu UI Toolkit "TextArea generates onTextChanged events when OSK is displayed or screen is rotated" [Undecided,New] https://launchpad.net/bugs/124316412:19
nerochiarogusch: that's really weird, how come it only happens to me ?12:21
guschnerochiaro: no idea, maybe test again with the latest version12:21
nerochiarogusch: i did already last week, but i can try again.12:22
oSoMoNnerochiaro, do it yourself12:23
nerochiarooSoMoN: cool. and please see my comment on https://bugs.launchpad.net/notes-app/+bug/1190630 when you have time12:25
ubot2Launchpad bug 1190630 in notes-app "Autopilot tests in notes_app.tests.test_quit fail in jenkins ci" [High,In progress]12:25
=== MacSlow|lunch is now known as MacSlow
nerochiarooSoMoN: with your MR to set up the DB in notes, it seems that i get random failures that I wasn't getting before13:34
nerochiarooSoMoN: on AP tests13:34
=== gusch is now known as gusch|away
oSoMoNnerochiaro, do you get those random failures on desktop?13:44
nerochiarooSoMoN: on device13:45
oSoMoNnerochiaro, do you get them reliably? which tests are failing?13:45
nerochiarooSoMoN: no, as I mentioned they are random. sometimes it can't find the db named "notes"when trying to delete things from it, other times tests are failing for stuff like notes not being there when the tests expects them to be.13:46
nerochiarooSoMoN: i can't definitely say but they all seem like failures due to the db not being in the right state13:47
oSoMoNnerochiaro, weird, I’ll run them a bunch of time locally to see if I can reproduce13:49
nerochiarooSoMoN: how do you run the tests these days ? I'm running them by logging in into the device, maybe that's not the correct way ? (though i don't see why not)13:50
oSoMoNnerochiaro, phablet-test-run from your dev box13:51
nerochiarooSoMoN: ok, trying that way now. meeting still in 3 minutes from now or in 1h ?13:57
oSoMoNnerochiaro, my calendar says in an hour13:59
nerochiarooSoMoN: it has been at 15 so far14:00
nerochiarooSoMoN: for the past week14:00
nerochiarooSoMoN: and everyone seems to be there now (except you and bill)14:02
oSoMoNnerochiaro, joining then14:02
nerochiarooSoMoN: some examples of the failures: http://pastebin.ubuntu.com/6358908/14:06
oSoMoNnerochiaro, looks like some sort of weird db corruption, can you run `adb shell "rm -r /home/phablet/.local/share/com.ubuntu.notes"` and then run the tests again?14:12
nerochiarooSoMoN: the next test doesn't fail14:12
nerochiarooSoMoN: so it looks like sometimes the db setup fails14:12
nerochiarooSoMoN: and sometimes not14:12
oSoMoNnerochiaro, so can you run the tests with "phablet-test-run -o . notes_app" and then pastebin the resulting test_results.xml?14:13
nerochiarooSoMoN: i'm runnin it, going to grab some food in the meantime14:17
oSoMoNnerochiaro, I tested https://code.launchpad.net/~amanzi-team/notes-app/notes-app-cursor-in-view/+merge/193743 and reported back there16:33
=== bfiller is now known as bfiller_afk
timppaany idea why "qtmultimedia camera" does  only work once?17:38
timppaDo I need to free the camera somehow?17:38
timppaafter running my app even the Ubuntu's own camera app wont get the camera preview17:40
timpparebooting helps17:40
timppaI'm on the latest trusty (r11)17:40
timppaHere is the SDK output when the app is ran the second time: http://pastebin.com/VD0jJ1p618:04
danielholmoranger, ping. you here? wanted to ask about th docviewer-app. Anything I can do to help? I want to read my course PDF:s on my tablet :P18:22
=== bfiller_afk is now known as bfiller
=== salem_ is now known as _salem
killerhey , while submitting app for ubuntu center , it says to "submit your application ", It means a binary?21:23
killerhttp://tinypic.com/r/2qnvzub/521:23
HarshThanks21:28
Harshcan you help me21:28
Harshany new idea21:29
Harshexp: Account software21:29
HarshQuit21:30
killer?21:41
randomcppkiller, need help?21:52
killeryes21:56
randomcppwhat's the problem?21:56
killerFirstly can i directly submit the source code if i don't know packaging ,  for my proprietary app ,I read somewhere ubuntu also do packaging21:57
randomcppkiller you need to create a click pkg22:01
randomcppis your app written in qml?22:01
killerIt is written in c and python22:01
randomcpp:/22:01
randomcpppopey, ^^^22:02
killer?22:03
randomcppI call the expert, I though you were creating a ubuntu touch app22:03
killer?22:09
Elleopopey: submitted eyrie to the store :)23:45

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