UbuntuIRC / 2014 /05 /21 /#ubuntu-app-devel.txt
niansa
Initial commit
4aa5fce
=== chihchun_afk is now known as chihchun
=== JamesTait is now known as Guest69680
[06:32] <nik90_> morning :)
[06:33] <mihir> morning nik90_:)
[06:34] <kalikiana_> moin moin
=== kalikiana_ is now known as kalikiana
[06:39] <pkunal-parmar> balloons, hi
[06:40] <balloons> pkunal-parmar, hello good sir.
[06:40] <pkunal-parmar> I was looking into this bug
[06:40] <pkunal-parmar> https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1291225
[06:40] <ubot5> Ubuntu bug 1291225 in Ubuntu Calendar App "autopilot tests fail when run in UTC+1 timezone" [High,Triaged]
[06:40] <pkunal-parmar> so what I observer was when Date is coming from QML is getting converted to UTC time zone
[06:40] <pkunal-parmar> but when we create date in python test case
[06:41] <pkunal-parmar> date is local time zone
[06:41] <pkunal-parmar> so its autopilot issue or we should fix our test case ?
[06:45] <justCarakas> Good morning all :D
[06:46] <balloons> pkunal-parmar, let me have a look.
[06:46] <pkunal-parmar> ok, thanks
[06:47] <balloons> pkunal-parmar, it's odd that timezones should have an affect with that test
[06:48] <pkunal-parmar> yes, initially it was working fine, I believe its facing this issue after we upgraded AP or Python
=== JamesTait is now known as Guest16160
[06:48] <balloons> we should look at the current test as the bug is a bit old. My guess is olivier is correct of course
[06:48] <pkunal-parmar> I was able to fix if, I convert every date object coming from QML to local time zone
[06:49] <balloons> vthompson, ahayzen here's the link to apparmor as we spoke about https://wiki.ubuntu.com/SecurityTeam/Specifications/ApplicationConfinement#Launching_applications
[06:49] <ahayzen> balloons, thanks
[06:49] <vthompson> balloons, excellent!
[07:02] <dpm> mzanetti, rpadovani, morning! This SRU should fix the Reminders performance bug on the desktop, it's just been uploaded to trusty-proposed if you want to test it: https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1303746/comments/12
[07:02] <ubot5> Ubuntu bug 1303746 in Ubuntu Reminders app "Performance hit when editing sorted lists" [Critical,Fix committed]
[07:07] <dpm> actually, it seems it was uploaded about an hour ago and it's not yet in trusty-proposed, so we might have to wait for a bit
[07:14] <balloons> pkunal-parmar, https://code.launchpad.net/~nskaggs/ubuntu-calendar-app/assert-with-utc/+merge/220379
[07:15] <pkunal-parmar> ok
=== chriadam is now known as chriadam|away
[07:53] <mhall119> kenvandine: http://www.slideshare.net/andreasc/how-can-html-compete-with-native?ref= slide 29
[08:20] <pkunal-parmar> balloons , tomorrow = (now + datetime.timedelta(days=1)).day
[08:20] <pkunal-parmar> AttributeError: type object 'datetime.datetime' has no attribute 'timedelta'
[08:22] <balloons> pkunal-parmar, yes, I got overzealous with my imports
[08:22] <balloons> I fixed it :-)
[08:22] <pkunal-parmar> ok
=== _salem is now known as salem_
[08:52] <rpadovani> kalikiana, I fixed the bug about label in calculator app :-)
[09:07] <kalikiana> rpadovani: how did you fix it?
[09:08] <balloons> rpadovani, yes, try it. autolanding with the device should be on for calculator
[09:08] <rpadovani> kalikiana, I added a mouse.accepted = false in onPressed in a Mouse Area
[09:09] <rpadovani> balloons, have I to set someone has reviewer?
[09:09] <rpadovani> kalikiana, before there was only propagatedComposedEvents = true and this used to work until unicor
[09:10] <kalikiana> ah, so it was consuming the events
[09:11] <rpadovani> yes
[09:17] <ybon> bzr mamma mia
[09:17] <ybon> I wonder if I'm using the right workflow to merge trunk in my branch
[09:17] <ybon> is that ok "bzr merge lp:ubuntu-calendar-app" to merge trunk in my AgendaView branch?
[09:18] <ybon> it mess up the "{", plus I need to commit manually, plus when I do commit the commit message is already typed with an old one from Alan
[09:23] <rpadovani> ybon, well, you have to do a separate branch, then do a merge request. Jenkins will do the merge after the approval
[09:23] <rpadovani> ybon, bzr commit -m 'Description of modifications'
[09:24] <ybon> rpadovani: I'm trying to update my branch, as it has been asked to me
[09:24] <rpadovani> ybon, so bzr push lp:~ybon/calendar-app/nameofthebranch
[09:25] <ybon> but is "bzr merge" the way to merge trunk into my branch?
[09:25] <ybon> or you are saying that I need Jenkins and a merge request to update my branch?
[09:26] <nik90_> bzoltan: do you know when https://code.launchpad.net/~bzoltan/ubuntu-ui-toolkit/landing_2005/+merge/220203 is landing? I really need the alarm fix MP :)
[09:27] <bzoltan> nik90_: I have few failing tests like http://pastebin.ubuntu.com/7496631/ and I want to make sure they are not UITK related
[09:27] <rpadovani> ybon, ah, sorry, I didn't understand. Yes, bzr merge lp:calendar-app is the right way if your branch has diverged
[09:27] <nik90_> bzoltan: ah okay. cool
[09:27] <rpadovani> ybon, otherwise, bzr pull lp:ubuntu-calendar-app
[09:27] <ybon> rpadovani: ok thanks for the confirmation
[09:28] <ybon> so sadly it seems bzr merge algorithm has some bug :s
[09:28] <ybon> is there any difference between bzr pull and bzr merge in this case?
[09:29] <rpadovani> ybon, mhh what's bug?
[09:30] <ybon> "{" messed up in the merge
[09:30] <rpadovani> oh, I see
[09:30] <rpadovani> ybon, so, before do bzr merge you need to commit all changes
[09:31] <ybon> I've done that :)
[09:31] <nik90_> bzoltan: heads up, there are currently some AP failures due to https://code.launchpad.net/~elopio/ubuntu-ui-toolkit/fix1321222-select_all_when_selected/+merge/220237. It could be related to the failures that you see. I noticed it in the clock app yesterday.
[09:31] <rpadovani> mhh, could you paste a file with messed {, please?
[09:33] <bzoltan> nik90_: thanks
[09:35] <vthompson> t1mp, zsombi_, et al, would it be at all expected for the TextField component to fire the "accpted" signal twice when enter is pressed on either the keyboard or OSK?
[09:35] <zsombi_> vthomson: no, it shoudl come only once
[09:36] <ybon> rpadovani: http://paste.ubuntu.com/7496666/
[09:36] <ybon> see last Tab
[09:36] <ybon> it's included in Tab before
[09:36] <vthompson> zsombi_, assumed as much. There are issues in the Shorts app that is causing test failures because their onAccepted handler is called twice and validation of the text field fails
[09:36] * ybon in a meeting for 30 min
[09:37] <vthompson> zsombi_, I have an example here: http://paste.ubuntu.com/7496653/
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
[09:53] <vthompson> zsombi_, I filed a bug for it so I can document it in the workaround in the Shorts app: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1321680
[09:53] <ubot5> Ubuntu bug 1321680 in Ubuntu UI Toolkit "TextField onAccepted is fired twice when enter or return is pressed" [Undecided,New]
[09:55] <rpadovani> ybon, ok, I can confirm this, I tried by myself and I have the same error. Probably is because there are too many commits and for some reasons it breaks all. The only suggestion I can give you is to take last trunk version and then apply manually your modification, sorry!
[09:56] <rpadovani> ybon, I talked also with popey and mhall119 and seems it's easiest thing to do, sorry!
[09:57] <pkunal-parmar> balloons, I now know what is the issue with MonthView and other, pls come over to my place once you are free
[09:57] <zsombi_> vthompson: thx, I'll take a look on it!
[09:59] <dpm> dholbach, ok, looks good, thanks! http://people.canonical.com/~dpm/core-apps-sponsoring/ <- rpadovani, popey, now the commit message provides some more context on each MP
[10:00] <dholbach> dpm, de nada
[10:06] <rpadovani> dpm, dholbach looks beatiful, thanks :-) But... the title of the column ;-) https://code.launchpad.net/~rpadovani/ubuntu-sponsoring/fix-title-core-apps-sponsoring-fixes/+merge/220417
[10:10] <dpm> rpadovani, applied your branch and updated the page, thanks! ;) http://people.canonical.com/~dpm/core-apps-sponsoring/
[10:25] <ybon> rpadovani: ok, thanks (but gasp)
[10:25] <ybon> any plan to switch to git at some point? #notroll
[10:29] <rpadovani> ybon, I don't belive so, bzr works well and is well integrated in lp
[10:30] <ybon> ok
[10:31] <ybon> rpadovani: again no troll, but just my thoughts as new contributor: using a more common and approved version system would help lower the barrier for contributing
[10:32] <ybon> thanks for your help and infos, anyway, rpadovani :)
[10:36] <rpadovani> ybon, yes, but bzr is historically here, well, launchpad and bazaar are older than git, and now all Ubuntu work is based on bzr, so isn't a good idea to change now :-)
[10:36] <rpadovani> Sorry, launch time, see you soon
=== MacSlow is now known as MacSlow|lunch
[11:44] <popey> nik90_: http://paste.ubuntu.com/7497046/
=== _salem is now known as salem_
[12:00] <dpm> mzanetti, rpadovani, I think we'll have to postpone the Reminders meeting this week, as we've got another conflicting meeting today
[12:01] <dpm> We might still be able to move it to tomorrow or some other day
[12:01] <mzanetti> dpm: we should probably move it for good... seeing you have something conflicting every week
[12:01] <dpm> yeah, good point
[12:03] <mzanetti> dpm: btw aWeSoMoN added the loadHtml() already
[12:03] <rpadovani> sounds like an awesomo thing!
[12:03] <mzanetti> :D
[12:04] <dpm> \o/
[12:06] <popey> rpadovani: https://code.launchpad.net/indicator-datetime
[12:07] <pkunal-parmar> rpadovani, http://doc.qt.digia.com/qtmobility/qml-organizeritem.html#itemId-prop
[12:08] <pkunal-parmar> you can fetch Event using
[12:08] <pkunal-parmar> var requestId = -1;
[12:08] <pkunal-parmar> model.onItemsFetched.connect( function(id,fetchedItems){
[12:08] <pkunal-parmar> if(requestId === id && fetchedItems.length > 0) {
[12:08] <pkunal-parmar> internal.parentEvent = fetchedItems[0];
[12:08] <pkunal-parmar> updateRecurrence(internal.parentEvent);
[12:08] <pkunal-parmar> updateContacts(internal.parentEvent);
[12:08] <pkunal-parmar> }
[12:08] <pkunal-parmar> });
[12:08] <pkunal-parmar> requestId = model.fetchItems([e.parentId]);
[12:16] <kalikiana> zsombi: commits http://feeds.launchpad.net/ubuntu-ui-toolkit/revisions.atom and bugs http://feeds.launchpad.net/ubuntu-ui-toolkit/latest-bugs.atom
[12:16] <zsombi> kalikiana: thx!!!!!
[12:24] <ahayzen> balloons, adb shell cp -r /usr/share/click/preinstalled/com.ubuntu.music/current/lib /opt/click.ubuntu.com/com.ubuntu.music/current/
[12:38] <elopio> zsombi: I made a mp with the first test. Please take a look.
[12:38] <zsombi> elopio: where's that?
[12:38] <nik90_> balloons: https://bugs.launchpad.net/ubuntu/+source/phablet-tools/+bug/1321463
[12:38] <ubot5> Ubuntu bug 1321463 in phablet-tools (Ubuntu) "Cannot run individual AP tests using phablet-test-run" [Undecided,New]
[12:38] <elopio> zsombi: https://code.launchpad.net/~elopio/ubuntu-ui-toolkit/pullToRefresh-test1/+merge/220439
[12:41] <balloons> pkunal-parmar, join #ubuntu-autopilot
[12:41] <nik90_> balloons: http://www.theorangenotebook.com/2014/02/click-buddy-and-you-how-to-test-your.html
[12:41] <pkunal-parmar> ok
=== lazowik is now known as lazowik|afk
[12:54] <nik90_> mzanetti: regarding bug 1321746, it is a duplicate of bug 1319401. Can you confirm?
[12:54] <ubot5> bug 1319401 in Ubuntu UI Toolkit "duplicate for #1321746 Clock app alarms ignores the day set by the user" [Critical,Fix committed] https://launchpad.net/bugs/1319401
[12:54] <nik90_> https://bugs.launchpad.net/ubuntu-clock-app/+bug/1319401
[12:54] <ubot5> bug 1319401 in Ubuntu UI Toolkit "Clock app alarms ignores the day set by the user" [Critical,Fix committed] https://launchpad.net/bugs/1319401
[12:55] <mzanetti> nik90_: hmm... not sure
[12:55] <mzanetti> nik90_: maybe its a side effect of the same issue, yes
[12:55] <mzanetti> but I guess there's a small chance it's caused by something else
=== MacSlow|lunch is now known as MacSlow
[12:56] <mzanetti> nik90_: if you think its a duplicate, feel free to mark it so
[12:56] <mzanetti> you know the code better than I do
[12:56] <nik90_> mzanetti: well can you try creating an alarm for later and set a different day? If it works, then it is definitely a duplicate
[12:56] <mzanetti> fair enough
[12:58] <mzanetti> actually no... that doesn't rule it out... as the whole check for later than now is satisfied in that case
[12:59] <mzanetti> regardless of the date
[12:59] <mzanetti> nik90_: but feel free to mark it as duplicate. it's indeed quite likely its the same thing
[12:59] <mzanetti> when fixing, it just make sure to test both use cases
[13:00] <nik90_> mzanetti: will do
[13:00] <nik90_> mzanetti: thnx for the report
[13:01] <ahayzen> nik90_, have you used or know of an app that has used the search in the new header?
[13:05] <pkunal-parmar> balloons, https://code.launchpad.net/~pkunal-parmar/ubuntu-calendar-app/Autopilot_Fix_TIMEZONE
[13:09] <pkunal-parmar> t1mp, hello
[13:12] <pkunal-parmar> t1mp, I am facing some issue with new header, can you help ?
=== lazowik|afk is now known as lazowik|definite
=== lazowik|definite is now known as lazowik|reallyaf
=== lazowik|reallyaf is now known as lazowik|afk
[14:03] <nik90_> renato: https://bugs.launchpad.net/indicator-datetime/+bug/1321775
[14:03] <ubot5> Ubuntu bug 1321775 in qtorganizer5-eds (Ubuntu) "High CPU usage observed across EDS and indicator-datetime causing clock app tests to fail" [Undecided,New]
=== salem_ is now known as _salem
[14:25] <mihir> pkunal-parmar: ping
[14:25] <mihir> pkunal-parmar: i have pushed the changes as per our last discussion
[14:27] <pkunal-parmar> ok, I will check
=== _salem is now known as salem_
[14:30] <mihir> pkunal-parmar: thanks :)
[14:31] <pkunal-parmar> welcome :)
[14:46] <zsombi> elopio: checked the MR, all looks fine, and we need one similar CDO for UbuntuListView, as that has pullToRefresh embedded.
[14:47] <zsombi> elopio: or do you see we coudl still use the PullToRefresh CDO to be used in those tests as well?
=== gatox is now known as gatox_lunch
=== gatox_lunch is now known as gatox
[16:03] <kalikiana> ahayzen: good and bad news wrt https://code.launchpad.net/~kalikiana/u1db-qt/indexRoles/+merge/211771 I wrote some unit tests and they all pass; also a new example with filtering and sorting - the bad news, the sorting in the example doesn't work despite all green tests… not sure why. in case you have any ideas, maybe you wanna have a look, something must
[16:03] <kalikiana> be differerent that I'm not doing in the tests or vice versa
[16:08] <ahayzen> kalikiana, cool thanks i'll have a look at it :)
=== JamesTait is now known as Guest75173
=== jhodapp is now known as jhodapp|afk
=== salem_ is now known as _salem
[17:30] <AskUbuntu> How do I validate a click package for submission? | http://askubuntu.com/q/470223
=== chihchun is now known as chihchun_afk
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== lazowik|afk is now known as lazowik
=== lazowik is now known as lazowik|afk
=== lazowik|afk is now known as lazowik
=== sephiap_ is now known as sephiap
=== dkessel_ is now known as dkessel
=== JamesTait is now known as Guest66546