/srv/irclogs.ubuntu.com/2014/10/15/#ubuntu-app-devel.txt

vthompsonElleo, hey with regard to https://bugs.launchpad.net/music-app/+bug/137981701:05
ubot5Ubuntu bug 1379817 in Ubuntu Music App "When importing 7 digital albums music-app sometimes displays "Imported files not found" when all files have been imported" [Undecided,Confirmed]01:05
vthompsonElleo, are you around?01:05
Elleovthompson: yep?01:05
ahayzenvthompson, o/01:05
ahayzenvthompson, have you checked out the ms2 log around the time of first import?01:06
ahayzenvthompson, (as i just added to the bug report)01:06
vthompsonElleo, I just read your update about the bug having to do with a fresh install. I wasn't able to reproduce by deleting "things" but I have a suspicion that mediascanner2 might not be watching for the new folder to be created01:06
vthompsonahayzen, I'01:06
ahayzenvthompson, i remember having something similar to this when initially creating it01:07
vthompsonahayzen, I've been watching the ms2 log and it quickly detects the new folder and the new contents... I just wonder if the daemon might "go to sleep" and not be so active at watcing for filesystem changes01:07
ahayzenvthompson, so if you restart the app does it see the file or not?01:07
vthompsonahayzen, I can do that next. I also went as far as restarting ms2 incase it was still watching the old directory01:08
ahayzenvthompson, yeah good shout01:08
ahayzenvthompson, what is interesting is that is picks up the second file? but not the first01:08
vthompsonoh restart the app? yea, the app running or not does not seem to have an affect01:08
vthompsonI thought you meant restart the device... :)01:09
ahayzenvthompson, yeah restart the app does it then see the first file?01:09
vthompsonyes01:09
ahayzenvthompson, i mean run the failed import... restart the app..can you see it in the models01:09
vthompsonWhy do you think that'd change?01:09
vthompsonI can't get a failed import :)01:09
ahayzenvthompson, oh01:09
vthompsonI can clear a few things and it still picks up the song reliably. I could try different songs, I suppose01:10
ahayzenvthompson, have you tried clearing the folders and the ms2 db...then doing the process again01:10
vthompsonElleo, could you get us a copy of your /home/phablet/.cache/upstart/mediascanner-2.0.log file?01:10
vthompsonI didn't clear the ms2 db yet01:11
vthompsonahayzen, I don't think that alone would do it.. but it might01:11
ahayzenvthompson, it may not remove the watches until a restart or something01:11
vthompsonyea, I assumed that'd happen after a restart of the service... but a reboot might be my next test01:12
Elleovthompson: okay, just a sec01:12
vthompsonElleo, awesome, thanks01:13
vthompsonahayzen, reboot didn't help. I'm going to let the service idle a bit01:16
ahayzenvthompson, interesting01:17
Elleoahayzen, vthompson: attached to the bug report01:17
ahayzenElleo, thanks01:17
vthompsonThanks :)01:17
akiva-thinkpadhi all03:28
akiva-thinkpadahoneybun, havn't heard from you lately; whats new?03:40
mihirakiva-thinkpad: ping06:11
mihirakiva-thinkpad: something is wrong with your MP , can you check ?06:11
akiva-thinkpadmihir, yah sure06:12
mihirakiva-thinkpad: it is failing tests.06:12
mihirakiva-thinkpad: i believe it is not able to save event.06:12
akiva-thinkpadmihir, bah06:12
akiva-thinkpadit might be because of the bug I found, but I found that in trunk as well06:12
akiva-thinkpadmihir, it says with default values, but lately I have noticed in trunk, I no longer have any calendars available to choose from06:15
akiva-thinkpadso I can't add any events either.06:15
mihirakiva-thinkpad: Jenkins just passed my MP though.06:15
akiva-thinkpadmihir, do you think jenkins might be suffering from that as well?06:15
akiva-thinkpadmihir, interesting.06:15
mihirakiva-thinkpad: see this , it just ran few mins before https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/blankBubbleInWeekView/+merge/23706906:16
akiva-thinkpadmihir, can i ask something; does jenkins do all tests when it runs, or just tests related to the code you editted?06:16
mihirakiva-thinkpad: it runs all test cases :)06:16
akiva-thinkpadokay thanks06:16
mihirakiva-thinkpad: try to run testcases locally.06:16
akiva-thinkpadmihir, how?06:17
mihiryou on 14.10 ?06:17
akiva-thinkpadthat would be really useful to know06:17
akiva-thinkpadyep06:17
mihirakiva-thinkpad: in your directory , navigate to /tests/autopilot/06:18
akiva-thinkpadokay06:19
akiva-thinkpaddone06:20
mihirautopilot3 list calendar_app06:20
mihirakiva-thinkpad: ^^06:21
akiva-thinkpadautopilot3: error: argument mode: invalid choice: 'calendar_app/' (choose from 'run', 'list', 'vis', 'launch')06:21
justCarakaso/ good morning evening whatever it is at your place all06:21
akiva-thinkpadI take it is run?06:21
akiva-thinkpadmihir,06:21
akiva-thinkpadjustCarakas, evening06:22
akiva-thinkpadjustCarakas, did you end up finishing your app?06:22
justCarakasnop, I stalled, not everything is clear and I need time to find out how QML works but I'm also making an PHP framework atm to improve my skills and that has been the focus of my free time06:23
justCarakasmaybe I'll finish it when I'm a weekend at home, but my agenda is kinda full06:24
justCarakasand I work a lot while traveling, and than its harder to look up qml stuff06:24
mihirakiva-thinkpad: yeah it is run, i thought to make you understand06:26
akiva-thinkpadmihir, curses you!06:26
akiva-thinkpad:)06:26
mihirakiva-thinkpad: if you want to run individual test case then you can pick name and do autopilot3 run testcaseName06:26
akiva-thinkpadokay this is great; thanks for taking the time to walk me through that.06:26
akiva-thinkpadmihir, ah very cool06:26
mihirakiva-thinkpad: if you want to run whole test suite just do , autopilot3 run calendar_app/06:26
akiva-thinkpadmihir, quickly, merge-source and tree; I keep forgetting which one is my code, and which one is the trunks code that I merged from.06:28
mihirakiva-thinkpad: i lost you now :)06:29
akiva-thinkpadmihir, this is for conflicts in merges06:29
akiva-thinkpadyou have >>>>>>>>>>>tree ================== >>>>>>>>>>>>>>>>>>>merge-source06:30
mihirakiva-thinkpad: hmm , the merge source is yours , there will be 3 files on your directory06:39
mihirakiva-thinkpad: check and resolve properly06:39
seb128mihir, hey, could you get a pot update in calendar?06:48
mihirseb128: hey morning , ahh, could it wait till evening , i am at work place. if that's urgent i can get it done with help of someone.06:49
seb128mihir, no hurry, it's just for the commit you did with the string fixes, we need an updated pot so they are translatable06:50
seb128mihir, I pointing it in the merge request review but maybe you didn't notice06:50
seb128mihir, anyway, tonight is fine, thanks! :-)06:50
mihirseb128: yeah i should have done that. i missed that.06:50
=== tvoss__ is now known as tvoss
dholbachgood morning06:53
mihirMorning dholbach :)06:53
dholbachhi mihir06:53
mihirdholbach: hello :) what's up?06:53
dholbachdoing well - how about you?06:54
mihirdoing great :)06:54
=== wgrant_ is now known as wgrant
rpadovanimardy, could you ping me when you have 10 minutes please? :-) I have a core dump and a question for you06:58
dpmsounds like a start of an interesting conversation :)06:59
dholbach:-)06:59
* mardy hides07:20
mardyrpadovani: ok, tell me :-)07:25
rpadovanilol mardy, thanks :-) I don't find my core dump paste right now, so before the question :D If I have a list of unauthorized accounts and I want to launch the UI to enable it on click, how I could do that?07:26
rpadovanihttps://bazaar.launchpad.net/~rpadovani/reminders-app/multipleAccounts/view/head:/src/app/qml/ui/AccountSelectorPage.qml#L5907:26
mardyrpadovani: unfortunately you cannot choose in advance which unauthorize account you want to prompt the user about07:28
mardyrpadovani: that selection happens inside Online Accounts07:28
rpadovanimardy, gotcha, thanks. So I have to launch it with setup.exec(), as adding a new account?07:29
mardyrpadovani: that's according to design, just read the first paragraph here: https://wiki.ubuntu.com/OnlineAccounts#App_access07:29
mardyrpadovani: exactly07:29
rpadovanimardy, yeah, documentation, I definitely need to read it more often :D07:30
rpadovanidpm, ^^07:30
mardyrpadovani: in other words, I think you shouldn't even show the list of unauthorized accounts, just have a button "Add an Evernote account" or something like that07:30
dpmmardy, thanks. And how can I authorize an account that I've created via System Settings, then? I.e. if I 1) Create Evernote account via u-s-s-o-a 2) Start Reminders 3) If there is only an "Add account" button, how can I ever use my existing account?07:32
mardydpm: press the "Add account" button :-) It will allow to select the existing account07:33
mardydpm: see the wiki link above, it shows all the possible cases07:33
rpadovanidpm, and this was my first MR, list of available accounts, a text if there are unauthorized accounts, and the button07:33
rpadovanimardy, ok, thanks! About the core dump, I have it when I try to change account. I click on new account and I assign to accountService.objectHandle accountServiceHandle. It used to work, like 6 months ago, then we disabled the account switching feature so I dunno when it brokes07:37
rpadovanimardy, I give you the core asap07:37
mardyrpadovani: OK07:37
mardyrpadovani: is it easy to reproduce?07:38
rpadovanimardy, yes, just take lp:~rpadovani/reminders-app/multipleAccounts, when you start the app choose an account (you have to have 2 accounts in oa, of course), then after the login clic on the menu in the header and choose 'accounts' voice, and select the other account07:41
rpadovanimardy, it freezes, and after some time it crashes. My problem right now is that freezes but doesn't crash :/07:41
mardyrpadovani: OK, I cannot look at it right now, but could you please file a bug with these instructions?07:41
akiva-thinkpadmihir,   FailedTestScreenshot (image/png) -- is this saying that there is a screenshot that was taken of the failure?07:41
rpadovanimardy, sure07:41
dpmmardy, rpadovani, ack, just read the wiki. However, the "more than 1" already set up accounts seems to imply that we can read the name of the account to show a prompt from the app, but I understand that we cannot actually do that?07:44
rpadovanidpm, mardy if I understand right, we actually can show the name of the unauthorized account - we have a model for that - but we cannot say to OA which account we want to authorize07:45
dpmah, gotcha, then what rpadovani said is actually what I meant :)07:46
mardydpm, rpadovani: yes, that's correct.07:47
dpmmardy, then we cannot implement the "more than 1" case in the wiki? Or did we get it wrong?07:49
mihirakiva-thinkpad: from where you getting this error07:49
mardydpm: you can07:50
mardydpm: your UI should show a list of the authorized accounts,07:50
mardydpm: and then a button "Add another"07:50
mardydpm: that's it07:50
dpmmardy, and what does "Add another" do? I.e. I can see the workflow in the diagram, but I don't quite understand how after clicking "Add another" the app should authorize (or defer authorization to u-s-s-o-a) existing but unauthorized accounts07:52
rpadovanidpm, you can try it adding a google account and doing login in gmail webapp07:53
akiva-thinkpadmihir, nevermind. Anyways I found the test that my app is failing, well the remix, and when I watch it... It doesnt make sense what its trying to accomplish. Is there a way I can check what this specific test is trying to achieve?07:54
rpadovanidpm, mardy actually, the app doesn't crash anymore, at least on this computer. It only freezes and takes ages to switch account, but this maybe is fail of reminders backend. I'll ask to mzanetti to take a look to it next week07:54
mihirakiva-thinkpad: you can try to run that individual test case look at the errors , and identify where it is failing .07:55
rpadovanibrb07:55
akiva-thinkpadyah its here07:55
akiva-thinkpadsec07:55
mardydpm: the only thing the app has to do is call Setup::exec(), then all the flow is implemented in OA07:56
dpmmardy, ok, thanks07:56
mardydpm: OA will check how many unauthorized accounts there are for the app, and decide what to show to the user07:56
akiva-thinkpadmihir, http://imgur.com/lVfJaY107:56
akiva-thinkpad00:52:54.894 INFO _launcher:544 - waiting for process to exit.07:57
mihirakiva-thinkpad: is it music app ?07:57
akiva-thinkpadmihir, yep07:57
dpmrpadovani, I think that answers all my questions - do you have any more questions related to the multiple accounts UI, or are you good to go?07:57
mihirakiva-thinkpad: i have no idea of music app , thought you talking regarding calendar app :|07:57
akiva-thinkpadah07:57
rpadovanidpm, good to go, at least when I understand why it freezes. Thanks mardy for your time!07:58
akiva-thinkpadmihir, ah but in this case; is it obvious to you what the issue is?07:58
rpadovanidpm, so, how do you want to implement that?07:58
akiva-thinkpador do I have to bring it up with vic and ahayzen?07:58
dpmrpadovani, I guess we can just go with the sketches on the wiki page? I.e. a dialog instead of a page07:59
mihirakiva-thinkpad: may be try adding more logs on the functions mentioned in that traceback07:59
mardydpm: if you are referring to this wiki page (https://wiki.ubuntu.com/OnlineAccounts#App_access), you don't have to implement any dialogs: all of the right-hand side of the diagram is already implemented in OA08:01
akiva-thinkpadmihir, so debugs? do console.log work?08:02
mihirakiva-thinkpad: there is different way doing in python, you can take reference from previous logging.08:02
rpadovanimardy, so I could easily do (if accounts.count = 1) autologin() (else accounts.count = 0 || >1) Setup.exec()08:03
rpadovanimardy, and switchAccount() = Setup.exec() ?08:03
akiva-thinkpadmihir, oh I think I found the issue... its something that is depricated.08:04
mihirakiva-thinkpad: hmm , were you able to find a root cause in calendar ?08:05
mardyrpadovani: not exactly; you should call Setup.exec() only when you want to add a new account08:05
mardyrpadovani: my suggestion is:08:05
mardy1a) on statup, if there's only one enabled account, autologin08:06
akiva-thinkpadmihir, i'll go do that after. Sorry :S  -- btw; I really want to thank you for being so good with merge requests and walking me through this. It honestly means a lot to me.08:06
mardy1b) on startup, if there are several enabled account, present a list of them (or maybe remember the one used last time?)08:06
mardy2) on the account selection page, show a list of the enabled accounts, and one "Add another evernote account" button which triggers Setup.exec()08:07
mihirakiva-thinkpad: no issue :) thank you for Merge request and your contribution.08:07
rpadovanimardy, ok, thanks. dpm sounds good to you?08:08
akiva-thinkpadmihir, so I am fairly certain that the test is depricated; should I delete the test, or edit it, or not touch it and speak with other maintainers?08:09
mihirakiva-thinkpad: i can't comment on Music app , as i am not aware about that , so it is better to talk to music app developers.08:09
akiva-thinkpadokay08:09
mihirakiva-thinkpad: that might be the case , if you have changed the functionality , you might have to remove/update your test case accordingly.08:10
dpmrpadovani, sounds great08:13
DanChapmanGood Morning all :-)08:14
rpadovanimardy, how can I prompt the dialog to authorize an account? Setup.exec adds a new account, but if user already added it in OA?08:17
mardyrpadovani: no changes, always use Setup.exec()08:18
rpadovanimardy, gotcha thanks08:18
rpadovanidpm, do you want also a text that says "We found unauthorized accounts, please click on the button below to authorize it" or we leave only the "Add account" button?08:20
dpmrpadovani, let's keep it simple for now and use "Add another..."08:21
rpadovanidpm, ack. So, the code is ready, it's the first revisios I did, I have only to delete the text. I'm investigating on the freeze, so I don't push right now08:22
dpmthanks rpadovani!08:22
nik90zsombi: hey, I did some preliminary testing of your alarm-data-adapation branch and it did not refresh the listview on adding/deleting an alarm which is awesome. However it broke the alarm switch. I wasn't able to enable/disable alarms in the clock app.08:39
nik90zsombi: can you verify that on your end as well?08:39
JamesTaitGood morning all; happy Information Overload Day! :-D08:49
justCarakastime to send spam :D08:53
justCarakasJamesTait: does that mean I can send you wikipedia pages as emails? :D08:53
dpmJamesTait, that's my every day!08:53
JamesTaitjustCarakas, you and everyone else. :-P08:56
JamesTaitdpm, amen to that.08:56
dpmmorning ogra_! What's the status of the removal of evernote-plugin-account from the seeds? Do you think it will make it to the next promoted image?09:00
dpmon rtm, I mean09:00
ogra_dpm, it has to :) i'll ping you after the lanbding meeting so we can coordinate09:02
* dpm hugs ogra_09:04
vitimitiHi09:07
nik90akiva-thinkpad: not sure if you tried, but you can now run apps on the emulator directly through qtc instead of the hack we did due to a bug at the time.09:14
dpmahayzen, with the music remix app, is there a way to add songs to a playlist? I could only create playlists, but not populate them09:21
ahayzendpm, drag a listitem to the left and click on the second icon09:21
ahayzendpm, i think we're looking to add header actions to the album/artist itself so you could add the whole album/artist to a playlist as well09:22
dpmahayzen, slick! I'd not noticed the swipe elements other than "Delete" :)09:23
dpmthanks!09:23
ahayzendpm, haha no problem :)09:23
ahayzendpm, yeah listitem actions are very discoverable at the moment09:23
ahayzendpm, i've been working on multiselect support as well...so you would press'n'hold then tick the ones you want and click 'Add to playlist' in the header09:24
seb128nik90, hey, do you have an opinion on https://bugs.launchpad.net/ubuntu-clock-app/+bug/1381429?09:33
ubot5Ubuntu bug 1381429 in Ubuntu Clock App "Shouldn't code button's geometry, but rather let it adapt to the label" [Undecided,New]09:33
* nik90 takes a look09:33
nik90seb128: The reason why I set it to 17 grid units was because the visual spec I was given had that dimension. But I agree it makes sense to make the width depend on the label + some margin.09:35
seb128nik90, why a margin? buttons should be consistent in look, if they need a marging between text and borders the toolkit should do that for you09:36
nik90seb128: although I will ensure in that case that the button never touches the edges of the app by using Math.min(label.width, page.width)09:36
nik90seb128: true09:37
seb128nik90, I doubt you are going to hit translations where that string go over the screen, but your call ;-)09:37
nik90seb128: do you have a patch for this or should I fix this?09:38
nik90seb128: true, I just take precautions here and there sometimes ;)09:38
seb128nik90, I don't have a patch yet, I can do one if you want09:38
seb128nik90, I just wanted to discuss the change in principle first09:38
nik90seb128: whatever suits you, since it should just be a 2 liner code change at most.09:39
nik90seb128: I will take care of this09:39
seb128nik90, thanks09:39
seb128let me know if you want a review/tester09:39
nik90seb128: will do.09:39
seb128I'm happy to adb push the qml to my device and test on french locale :-)09:39
nik90:)09:40
dpmahayzen, wow, looking forward to multiselect, then!09:51
ahayzendpm, haha yeah not sure when we'll land that it is fun trying to integrate with the custom reorder code...will probably be in the sprint that it gets done09:51
dpmcool09:52
=== rmescandon is now known as rmescandon-afk
nik90seb128: https://code.launchpad.net/~nik90/ubuntu-clock-app/dynamic-delete-alarm-size/+merge/23840709:57
nik90seb128: I tested the code with a really long & short string and it worked as expected.09:58
nik90akiva-thinkpad: sparingly?09:58
akiva-thinkpadnik90, yah; the music app for example last time I tried, opened, then just crashed.10:07
akiva-thinkpadmihir, ping -- I tried the test on trunk10:07
nik90hmm that's strange10:07
akiva-thinkpadit failed there as well.10:07
ahayzenakiva-thinkpad, crashed on what?10:07
akiva-thinkpadahayzen, oh hey10:07
akiva-thinkpadahayzen, just running the emulator.10:08
nik90akiva-thinkpad: oh btw there is one limitation10:08
ahayzenakiva-thinkpad, ah emulator right10:08
akiva-thinkpadi didnt bother to debug10:08
nik90akiva-thinkpad: you can run the app on the emulator for about 15-20 times before you need to reboot the emulator10:08
akiva-thinkpadnik90, hmm?10:08
akiva-thinkpadnik90, hmmm? interesting10:08
akiva-thinkpadokay10:08
nik90akiva-thinkpad: is is related to the app not releasing some EGL surfaces when an quits in the emulator.10:08
nik90it is a known bug but no time to fix it yet10:08
akiva-thinkpadnik90, respectfully10:09
akiva-thinkpadcool thanks for explaining that10:09
nik90yw10:09
zsombinik90: I'll do that, good point!10:10
nik90zsombi: hey, one more thing if you got time.10:11
zsombinik90: shoot10:11
nik90zsombi: I have been using the qtc profiler to see bottlenecks in the clock app and noticed that the edit alarm page takes a while to load because of the date time picker. Is this known?10:11
nik90zsombi: the datetime picker took about 150-250 ms to load.. (cant remember exactly)10:12
zsombinik90: yes, partly because of the slowness of the ListItems partly because of the PathView instantiating every single item from the model (not like ListView) and partly due to the date model handling :(10:13
nik90zsombi: ah..I am trying to circumvent the issue by showing the edit alarm page and then loading the datetime picker.10:14
nik90so it might seem a bit more snappy10:15
zsombinik90: yep... sorry for that, we will reach those as well some time the new ListItem is ready...10:15
=== rmescandon-afk is now known as rmescandon
nik90zsombi: cool, no worries10:16
zsombinik90: so, returning to the disabling issue, what have you experienced? no refresh on teh item?10:17
zsombinik90: or that the disabling ain't got completed?10:17
nik90zsombi: no it doesn't disable it at all..so I press the switch, but it doesn't change.10:17
nik90zsombi: tbh I didnt further debug and console output the alarm status due to lack of time.10:17
zsombinik90: I see. the tests show that disabling goes thru, so we might need to adjust the switch handling then...10:17
nik90ah ok10:18
zsombinik90: np, I'll take the clock app branch and test it on desktop10:18
nik90ok10:18
zsombinik90: you've tested on desktop, right?10:18
nik90zsombi: yup only on utopic desktop vm.10:18
zsombinik90: thx10:19
ahayzenakiva-thinkpad, you shouldn't really be removing the seek_to() from the tests10:21
mihirakiva-thinkpad: you talking about calendar ?10:30
nik90zsombi: can you give your insight on bug 1381432. I already commented on it, but it needs to be validated by someone like you.10:42
ubot5bug 1381432 in Ubuntu Clock App "Display "no active alarm" while checking" [Medium,Confirmed] https://launchpad.net/bugs/138143210:42
zsombinik90: after the alarm-data-adaptation MR you won't need to load AlarmModel with a Loader anymore10:44
nik90zsombi: really?10:45
zsombinik90: yep :)10:45
nik90zsombi: wow pretty cool.10:45
nik90zsombi: is there a way to still know when the alarm model is ready (after fetching data)?10:45
zsombinik90: and you will receive a QAbstractItemModel signal when data comes available10:46
nik90zsombi: i can disable the bottom edge hint until it is ready to avoid showing false status to the user10:46
nik90sweet10:46
nik90I have to ask, what is the core change of the alarm-data-abstraction MR in a few words?10:47
nik90How does it seem to fix a couple of bugs in one go?10:47
zsombinik90: the signal is modelReset()10:47
zsombinik90: well, the main change is that there is no alam cache duplication per model10:48
akiva-thinkpadmihir, bah my notifcation system... darn hexchat :/  Sorry10:48
akiva-thinkpadmihir, and yes, talking about the calendar10:48
akiva-thinkpadthe trunk fails the tests10:48
zsombinik90: then there is no alarm request handling generalized, all that has been moved to AlarmDataAdapter and AlarmsAdapter10:49
akiva-thinkpadahayzen, the issue is I don't know how to fix the test. That test relies upon the old version of the toolbar10:49
akiva-thinkpadnot toolbar, slider*10:49
ahayzenakiva-thinkpad, yeah the test will need to be rewritten to use the new slider10:49
zsombinik90: then, alarm cache is one per app instance, all models connect to this cache and reflect all changes immediately10:49
akiva-thinkpadahayzen, If you can help me through rewriting it, I would be appreciative. I don't know how to set the square as an object with the slider.10:50
zsombinik90: no more fetch on alarm data change/add/remove, each of these are handled as separate model updates10:50
nik90zsombi: I am using the loader atm to load the model *after* the startup animation is done since otherwise it causes the startup animation to be laggy.10:50
ahayzenakiva-thinkpad, i'll have a look when i get back, i'm at uni at the moment10:50
nik90zsombi: ah that's cool10:50
akiva-thinkpadahayzen, thanks10:50
zsombinik90: the fetch will only happen when the alarm model is created, more precisely when the QML model is completed10:51
zsombinik90: that results in dataChanged() emision, which btw happens even now10:51
zsombinik90: sorry, modelReset()!!!!!!!10:52
nik90zsombi: ah, so I can use onModelReset() to know when to show the bottom edge hint to the user then.10:52
tvossprobably better here10:52
zsombinik90: alarm data change may result in either dataChanged() if the time is not changed or if the time change does not require the alarm cache index change10:52
zsombinik90: yes10:52
tvosspopey, dpm ping10:53
tvosspopey, dpm could someone raise priority of https://bugs.launchpad.net/osmtouch/+bug/138146310:53
ubot5Ubuntu bug 1381463 in OSMTouch "PositionSource.update() cannot be used synchronously" [Undecided,New]10:53
zsombinik90: alarm addition will cause rowsAboutToBeInserted() + rowsInserted() signals10:53
zsombinik90: alarm removal will cause rowsAboutToBeRemoved() + rowsRemoved()10:53
zsombinik90: ah, sorry, one more mistake :D10:54
nik90zsombi: ah nice..individual signals for each action..more control cool10:54
zsombinik90: alarm data change may cause dataChanged() or rowsToBeMoved() + rowsMoved() signals10:54
zsombinik90: depending on what data is changed10:54
nik90ok10:54
dpmtvoss, that's an app created by a community member, not part of core apps. We don't have any permissions for setting bug priorities10:54
zsombinik90: like disabling an alarm, description, soundChange results in dataChanged()10:55
tvossdpm, could you reach out to the developer please?10:55
zsombinik90: but date change may result in move10:55
nik90zsombi: ack.10:55
zsombinik90: as the date may become later/earlier than the other ones are, so the list will be rearranged10:55
dpmtvoss, sure, we can do that10:56
mihirakiva-thinkpad: Jenkins passed other MR10:56
mihirso that shouldn't be problem i believe10:56
nik90zsombi: yeah at the moment the list is not rearranged when changing dates. thereby forcing me to go through every alarm to figure out the next closest active alarm.10:56
nik90nice to know though that this will be fixed10:56
akiva-thinkpadmihir, but I just tried it with the trunk; it failed o_o10:57
zsombinik90: you will get the model always showing the alarms in the cronological order, but disabling a passed alarm will still be as first in teh model10:57
akiva-thinkpadlike I didnt edit the trunk at all10:57
* akiva-thinkpad double tries it10:57
nik90zsombi: ah..ok .. I can do the search in the clock app myself10:58
zsombinik90: so we may still need a filter on teh model to exclude disabled alarms?10:58
nik90zsombi: that's your call since for my use case, a user might have at most 5-6 alarms which is not that hard to go through and find the closest active alarm.10:58
zsombinik90: well, then we keep it as is now, because that would require some index mirroring in the model11:00
nik90zsombi: fine by me11:00
zsombinik90: so, all kewl features on that MR :)11:03
nik90zsombi: :D11:03
zsombinik90: and some code simplification as well :)11:03
zsombinik90: but the model changes were requiring heavy changes in the cache11:04
nik90ah11:05
rpadovanizsombi, hey :-) Does header is supposed to hide automagically if I have listview inside a page inside a pagestack? I know it is in a listview inside a page, but if I have also a pagestack? Because in reminders app it doesn't hide, and I don't understand why11:09
zsombit1mp: ^11:09
zsombirpadovani: it supposed to, but it depends what are you doing with your ListView...11:10
zsombirpadovani: like how you anchor, what else you have in the page, etc11:11
rpadovanizsombi, som I'll have to do a looong work of commenting out everything to understand what's going on :-)11:11
rpadovanithanks11:11
zsombirpadovani: you better start a new Page with a ListView as content and start add more stuff to see where it breaks :)11:12
zsombirpadovani: this would be a better approach :D11:12
rpadovaniok, I'll try this one then :-) Thanks!11:13
t1mprpadovani: it should work if the ListView is anchored to the top of the page or fills the page11:24
rpadovanit1mp, thanks, this could be a good suggestion!11:25
t1mprpadovani: that's for the auto-detection, but you don't need that if you set Page.flickable to your listview11:27
mihiri'll need to test then when i go back home.11:28
mihirakiva-thinkpad: ^^11:28
=== simion314_ is now known as simion314
* dpm lunches12:04
=== _salem is now known as salem_
seb128nik90, thanks, commented, looks good to me (though the pot update doesn't seem useful)12:25
nik90seb128: it seems that every time i test on a device or build a click, the pot file is automatically updated even with no string change12:26
nik90seb128: and I accidentally committed it the first time12:26
nik90seb128: shall I revert it12:26
seb128nik90, your call, it doesn't hurty12:26
om26ernik90, Hi! do you know where does the calculator app saves its history ?12:34
nik90om26er: tbh I am not sure, it should most likely be in .local/share/com.ubuntu.calculator ?12:35
nik90rpadovani: do you know ^^ ?12:35
seb128speaking of which, wasn't the history notes supposed to be cleared out?12:35
om26ernik90, that seems like it.12:36
nik90om26er: I just checked as well on my emulator. that's the location.12:36
nik90seb128: I heard that...not sure who is working on that12:37
nik90afaik all calc devs were moved to other projects12:37
seb128nik90, well, there is https://code.launchpad.net/~rpadovani/ubuntu-calculator-app/1365564/+merge/233400 pending for a while12:38
seb128popey, ^ do you know what's the status there?12:38
nik90hmm looks like it is waiting on design review12:39
m-b-o1dpm: hi! Have you found time to have a look at the weather app and the CMAKE rules?12:40
akiva-thinkpadpopey, http://i.imgur.com/NilzBui.png :) I got "Up" working nicely, as well as the toolbar in the header. Now I'm just working on getting the other components in.12:41
rpadovaniseb128, yes, popey said we need a design review on that package. Anyway, calc was set as 'stable', so I moved to other projects12:51
nik90seb128: btw do you need the bug 1381429 fix to be pushed to the store today or can this wait? We just released a new clock yesterday and since then this is the only new commit that landed,.12:51
ubot5bug 1381429 in Ubuntu Clock App "Shouldn't code button's geometry, but rather let it adapt to the label" [Low,Fix committed] https://launchpad.net/bugs/138142912:52
seb128nik90, that can wait, it's looking slightly odd but not blocking anything12:52
seb128the button works, the label is just truncated12:52
nik90ah ok12:52
seb128nik90, but feel free to fix some other bugs and do another upload ;-)12:52
nik90;)12:53
dpmhi m-b-o1 o/, unfortunately, I haven't. Perhaps this evening. But I want to have a look at your MP fixing the mobile links first, which I've not had the chance to look at in detail yet, but I'd still want to try to get in by tomorrow12:53
m-b-o1dpm ok!12:54
dpmm-b-o1, quick question: I see you've got a few if/elses depending on the language code. What about the other languages that are not covered by the ifs?12:54
dpmI mean on the mobile links merge proposal12:54
m-b-o1dpm: there was an excel sheet (or csv) from TWC, with all the links12:55
m-b-o1and the domains12:55
m-b-o1dpm: so only the domains from the excel sheet were implemented. Some urls-schemes in some domains are different on desktop/mobile. I've checked all links in the script12:56
m-b-o1and corected them for mobile if neccessary12:56
=== rmescandon is now known as rmescandon-lunch
dpmm-b-o1, hm, I can't recall that excel sheet, do you have it handy?13:01
dpmmihir, does calendar work for you on the latest ubuntu-rtm/devel-proposed image? It crashes for me on startup13:03
dpmIt seems related to qmlscene, by looking at the logs13:03
dpmactually, it doesn't crash on startup, but after having started and changing to day view13:04
m-b-o1dpm: you'll have a mail in a few seconds13:04
dpmawesome, thanks m-b-o1!13:04
nik90popey, gventuri: Hey, does this splash screen for clock look okay https://imgur.com/YhMeHKv ?13:09
nik90popey, gventuri: I didn't add a header since clock doesn't have one, so I changed the background color for now.13:09
nik90it makes the startup transition less jarring13:10
dpmm-b-o1, thanks for the e-mail, I had completely forgotten that spreadsheet, I should add it to a blueprint or to the wiki13:10
dpmm-b-o1, do you think perhaps putting the per-language urls in a JSON file or an array and using that as a sort of lookup table might make more sense than using if/elses?13:12
m-b-o1dpm: yes, probably. on the other hand the code wasn't modified a lot since we added it13:20
m-b-o1dpm: but yes, a data structure would be more efficient13:21
dpmm-b-o1, what would you suggest, to approve as it is to minimize changes and then look at using a data structure later?13:22
m-b-o1dpm: yes, I would suggest that. Redesign still looming13:23
dpmm-b-o1, ok, cool, thanks a lot for the discussion13:23
m-b-o1dpm: looming perhaps the wrong word ;)13:23
dpmhahaha13:23
dpmbrace yourselves...13:23
m-b-o1dpm :))13:24
=== rmescandon-lunch is now known as rmescandon
=== karni is now known as karni-afk
akiva-thinkpadYes \o/ I got it working the way I want :DDDDD13:38
* akiva-thinkpad celebrates programming victory. Its okay if you don't understand 13:39
=== karni-afk is now known as karni
gventurinik90: it works for me14:15
akiva-thinkpadhey anyone know if head.actions can do popovers? I am getting a qquickitem not being a qobject error14:22
mzanettidpm: meeting?14:31
=== gatox is now known as gatox_lunch
mzanettidpm: that's what I call a productive meeting :)14:54
dpmmzanetti, indeed, Argentinian team ftw!14:54
rpadovani:-)14:55
fdassdffIs there a way to try out Dekko on the desktop?  It's not in the desktop PPA AFAIK15:14
=== rmescandon is now known as rmescandon-brb
=== gatox_lunch is now known as gatox
mihirakiva-thinkpad: ping15:54
mihirakiva-thinkpad: were you able to resolve the issues?15:54
akiva-thinkpadmihir, pong15:54
akiva-thinkpadmihir, on the calendar?15:54
mihirakiva-thinkpad: yup15:54
akiva-thinkpadmihir, didnt try much. As said; I ran the tests on trunk, and they failed15:55
akiva-thinkpadso I don't know why they are passing for you.15:55
mihirakiva-thinkpad: hmmm..:|15:55
akiva-thinkpadmihir, yep; thats been a lot of what I have been doing15:55
akiva-thinkpad:P15:55
mihirakiva-thinkpad: i'll try and update you.15:56
akiva-thinkpadmihir, atm I am working on the filemanager app. I'm pretty proud with what Ive accomplished thus far.15:56
=== rmescandon-brb is now known as rmescandon
akiva-thinkpadmihir, https://code.launchpad.net/~akiva/ubuntu-filemanager-app/1380575+1373346-toolbar-to-header/+merge/238470 :)16:03
mihirakiva-thinkpad: great :)16:04
akiva-thinkpadpopey, dpm -- would you mind taking a look at the design here, and letting me know what needs to be tweaked? This addresses the two high importance bugs you touched upon the other day.16:04
akiva-thinkpadhttps://code.launchpad.net/~akiva/ubuntu-filemanager-app/1380575+1373346-toolbar-to-header/+merge/23847016:04
dpmakiva-thinkpad, sure, looking16:05
akiva-thinkpadConsidering that I took out the bottom toolbar to address these, the jenkins tests will break16:05
akiva-thinkpadthanks!16:05
akiva-thinkpadahayzen, o/16:05
dpmakiva-thinkpad, do you think you could create a couple of screenshots and add the links to the description? It might be easier for them if we manage to find someone from design to have a look at them16:06
akiva-thinkpadyah16:07
akiva-thinkpadwill do that right now16:07
akiva-thinkpaddpm, can a short video suffice?16:07
dpmakiva-thinkpad, wow, suffice? that would be even better! :-)16:07
akiva-thinkpadlol :)16:07
akiva-thinkpaddpm, I havnt tested it on a device; I am having library problems with libtag16:08
dpmakiva-thinkpad, from the emulator would work equally well. What's the problem with libtag on a device? have you installed libtag-dev:armhf on the phone click chroot?16:09
akiva-thinkpaddpm, I tried going into phablet shell, and sudo apt-getting it16:22
akiva-thinkpadalthough i didn't append :armhf16:22
akiva-thinkpadi'll try that I suppose16:22
dpmakiva-thinkpad, you don't need it on the device16:22
dpmakiva-thinkpad, you only need to install it on the click chroot at build time16:23
dpmakiva-thinkpad, but yeah, remember to append the :armhf16:23
akiva-thinkpaddpm, ah so I need to go into Projects to do that16:23
akiva-thinkpadgot it16:23
dpmakiva-thinkpad, yes, how did you build the app? Did you use Qt Creator?16:23
akiva-thinkpaddpm, yah;16:23
akiva-thinkpadi'll toss it in as an instruction16:24
dpmakiva-thinkpad, there's a README file in the file manager sources that explains everything in detail16:24
* akiva-thinkpad is a bit new at modding that.16:24
akiva-thinkpaddpm okay I'll read it now then16:24
akiva-thinkpaddpm, did you try the branch btw? :)16:24
akiva-thinkpadthe one thing I didnt put in there that I wanted, was memory of child directories16:25
dpmakiva-thinkpad, I've not had the chance yet, but I'm really looking forward to this change :)16:25
dpmI'll see if I can do it this evening16:25
dpmakiva-thinkpad, http://bazaar.launchpad.net/~ubuntu-filemanager-dev/ubuntu-filemanager-app/trunk/view/head:/README16:25
akiva-thinkpaddpm, okay I'll show you a video16:25
akiva-thinkpad:P16:25
akiva-thinkpadsec16:25
dpm:-)16:25
akiva-thinkpaddpm, popey mihir http://filebin.ca/1dpmqZc83f51/Cast-_00006.mp416:32
=== randomcpp is now known as gcollura
dpmakiva-thinkpad, that looks really awesome! I've done a quick, non-code review of the UI and added some comments16:43
akiva-thinkpaddpm, thanks16:44
akiva-thinkpadahayzen, bah, vic rejected my proposal >:/16:44
ahayzenakiva-thinkpad, :/16:44
ahayzenakiva-thinkpad, probably best to come back to it when we start focussing on tablet/desktop16:45
akiva-thinkpadhuh... The only issue I am trying to fix are the bloody deprecated tests16:45
akiva-thinkpadahayzen, meh; I think I just left a bad impression on vic or something. Oh well~16:48
ahayzenakiva-thinkpad, hah i'll see if i can figure out the tests later :/ the problem is we have a tight deadline for getting the mobile app done so we are pretty focused on that16:49
akiva-thinkpadahayzen, my complaint that is his code reviews were shoddy. For example; He told me the text for the times was too large, but when I showed him the spec, it clearly showed that the text was not "small".16:51
akiva-thinkpadand when I brought it up, he didnt bother responding.16:51
ahayzenakiva-thinkpad, yeah sorry about that, that spec in particular was tricky to interpret as the height of it was larger than a device16:51
akiva-thinkpadblah; okay well; i'm gonna be bugged about it. No avoiding that. Okay I'm just going to drop out of it. I'll cool down eventually, and I understand that he has good intentions... But I'm sure you can understand how I feel.16:54
akiva-thinkpadahayzen, anyways, good luck with the deadline. Wish I could have been of more help.16:54
ahayzenakiva-thinkpad, yeah i know how you feel, its difficult to get reviews past him sometimes ;) Once we get onto the tablet/desktop designs (hopefully soon) it should all calm down a bit16:55
mihir_seb128, you around ?17:00
akiva-thinkpadahayzen, Do you think if I can get jenkins to approve my branch, he'll come around?17:01
akiva-thinkpador should I not bother?17:01
ahayzenakiva-thinkpad, maybe i don't know17:01
akiva-thinkpadokay fair enough.17:01
mihir_dpm, popey anyone can do review for this MR - > https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/updatePotFiles/+merge/23847917:02
mihir_it is just pot file update.17:02
ahayzenakiva-thinkpad, i mean it should just be a matter of putting the objectName on the slider or something?17:02
akiva-thinkpadahayzen, slider does not have the objectname property17:02
ahayzenakiva-thinkpad, yeah but it...did?17:03
* ahayzen looks at diff17:03
ahayzenakiva-thinkpad, yeah before it had objectName: "progressSliderShape"17:03
akiva-thinkpadahayzen, but that was when the slider was manually built17:03
ahayzenakiva-thinkpad, try putting the test code back for seek_to and adding objectName: "progressSliderShape" to your new slider object17:03
akiva-thinkpadI tried changing it to that, but no potato.17:03
akiva-thinkpadi'll try again I suppose.17:03
ahayzenakiva-thinkpad, which revision did you try that at?17:04
akiva-thinkpada few back, before I took out the code. It was today though.17:04
akiva-thinkpadprogressSliderShape refers to the square that slides along the slider17:04
akiva-thinkpadahayzen, so I need to reference that specific part of the slider, which I have no idea how to do now that it is a self contained component.17:05
akiva-thinkpadbefore it was a square rect sitting on a bunch of other rects, and they all had object names.17:05
ahayzenakiva-thinkpad, but trunk uses a Slider {} now?17:06
ahayzenakiva-thinkpad, you should be able to add objectName: "progressSliderShape" ... to the object id: progressSliderMusic...and then restore the tests17:06
akiva-thinkpadahayzen, yah you are on to something. I'll have to check again.17:06
akiva-thinkpadahayzen, well anyways I'll look at it tomorrow.17:11
ahayzenakiva-thinkpad, cool sorry for this being such a mess :(17:12
akiva-thinkpadahayzen, is there a set date for the rtm yet?17:12
ahayzenakiva-thinkpad, idk 'soon' aha17:12
akiva-thinkpadahayzen, its not your fault. I only really learned how to deal with tests today, so there is a lot of merit to what he is saying.17:12
dpmmihir_, reviewed, thanks!17:15
=== randomcpp is now known as gcollura
mihirakiva-thinkpad: trunk should be an issue, it just passed mine though17:31
* mihir looks at dpm comment17:32
akiva-thinkpadmihir, okay well now that I have a bit better grasp on tests, I'll take a look at this tomorrow.17:32
mihirakiva-thinkpad: excellent17:32
akiva-thinkpadthanks again for walking me through it.17:32
mihirdpm: I'll propose new MP for that changes , is that fine ?17:33
dpmmihir, I'd do at least the one for plural forms and the color key (first and last inline comments) in the same MP, as we shouldn't update the .pot file without those fixed17:34
dpmthe rest can go in a separate MP if you prefer17:34
mihir_dpm, pushed pot file changes. i am about to push MP for translators comment.17:38
mihir_dpm, thanks for reviewing.17:38
mihir_dpm, regarding plural i am looking into it, i guess we got code change that's why.17:42
dpmthanks mihir_17:48
mihir_dpm, i am planning to add Translator comments in same MP , is that fine ?17:48
dpmogra_, seb128, what's required to do to add a package to the rtm archive? I.e. I'm trying to add the Catalan keyboard layout, which depends on myspell-ca, but that package is only on the ubuntu archive, but not on rtm17:49
dpmmihir_ let me re-look at the MP in a minute17:50
ogra_dpm, we usually channel sync requests through cjwatson for such stuff17:50
ogra_(but he is gone ... not sure if for the day or if he'll return)17:50
dpmogra_, thanks, I'll ping him tomorrow morning17:51
ogra_dpm, that wont make the milestone image then though17:51
ogra_(but not seeing your keyboard change in a silo i assume the keyboard wont either i guess)17:52
dpmogra_, yeah, I know, it's too tight for the keyboard layout to make it in anyway17:52
ogra_k17:52
dpmbut I just want to get it done. I've been working on it on my ample spare time, and I didn't manage to finish it until last night :)17:53
mihirdpm: hmmm no issues :)17:55
mihir_popey, you around ?18:02
nik90popey: can you review and approve https://code.launchpad.net/~nik90/ubuntu-clock-app/customize-splash/+merge/238484. Seems like you proposed custom splash screen for quite a number of apps ;)18:28
nik90popey: it has been design approved18:29
popey\o/18:31
popeydone18:32
nik90thnx :)18:37
=== tvoss is now known as tvoss|test
mihir_popey, most of the critical / High bugs are fixed on Calendar :D18:44
=== irv_ is now known as irv
popeymihir_: \o/18:56
nik90Is it worth to call a reduction of 3.5ms of an item used as a delegate throughout the clock app a performance improvement :P ?19:01
mihirpopey: could you review trivial MR , https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/MissingTranslators/+merge/238488 ?19:04
mihirpopey: have added translator comments .19:04
popeydone19:05
seb128mihir, you around19:48
rpadovaninik90, hey, where you think I should report a bug about ListItemWithActions?19:53
nik90rpadovani: well its a custom component written by renatu, so he would be the best person to talk to19:53
rpadovaniand so renatu, this is a ping :-)19:53
rpadovanithanks nik90!19:53
nik90yw19:54
renaturpadovani, you can report against the address-book-app19:54
rpadovanirenatu, thanks19:54
nik90rpadovani: btw I presume you took the ListItemWithActions from addressbook and not clock?19:54
* nik90 hopes the former19:54
rpadovaninik90, sure19:54
nik90cool19:54
rpadovanirenatu, bug 138172319:57
ubot5bug 1381723 in address-book-app "[ListItemWithActions]After the swipe of an element I expect to press anywhere to dismiss" [Undecided,New] https://launchpad.net/bugs/138172319:57
=== randomcpp is now known as gcollura
renaturpadovani, I can not reproduce this bug20:40
renaturpadovani, I tried on address-book, dialer, messaging and clock app20:42
renatuall apps is working fine20:42
rpadovanirenatu, I'm able to reproduce on them all, rtm on mako20:42
renaturpadovani, ok let me flash my mako20:43
renaturpadovani, ok now I understand20:44
renaturpadovani, you want to tap anywhere in the screen20:44
renatuyes this is not implemented20:44
rpadovanirenatu, yap, that is. Sorry for bad english :/20:44
renatuand using a inverse mouse are can be dangerous.20:44
renatuand I am not sure if the designers want that20:45
nik90rpadovani: hey, I got a really easy MP for you -> https://code.launchpad.net/~nik90/ubuntu-clock-app/replace-base-list-items/+merge/23850221:11
nik90rpadovani: basically replaces ListItem.Base with ListItem.Empty21:11
vitimitiHi21:36
rpadovaninik90, approved but... you definitely need to take a look to http://qt-project.org/doc/qt-5/qml-qtquick-layouts-layout.html to drop all that anchors, we use it in reminders delegates and it's awesome (thanks mzanetti :D)21:47
rpadovaninik90, https://bazaar.launchpad.net/~reminders-app-dev/reminders-app/trunk/view/head:/src/app/qml/components/NotebooksDelegate.qml21:50
nik90rpadovani: ah yes, I know about it. I will use it in the next MP22:11
rpadovani\o/22:12
=== salem_ is now known as _salem
* vitimiti Bye22:51

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