UbuntuIRC / 2014 /11 /19 /#ubuntu-app-devel.txt
niansa
Initial commit
4aa5fce
[00:11] <jeamesv> Hi. I am having an issue removing "cat:" from my devices. I don't know what the "cat:" is/means. Any help thanks!
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
[05:24] <Mirv> morning
=== chihchun_afk is now known as chihchun
[07:46] <dholbach> good morning
=== rmescandon is now known as rmescandon|afk
=== rmescandon|afk is now known as rmescandon
[09:35] <JamesTait> Good morning all; happy Have A Bad Day Day! :-D
=== ara_ is now known as ara
[10:16] <zsombi> nik90_: pingorius
[10:25] <nik90_> zsombi: pong (from phone)
[10:29] <zsombi> nik90_: I still cannot launch your app in Utopic desktop
[10:30] <zsombi> nik90_: however I made a small test app
[10:31] <zsombi> nik90_: and don't bother with the app launching, I just realized I have Qt 5.3.2
[10:31] <zsombi> nik90_: so most probably that's the issue
[10:32] <zsombi> nik90_: so, question: do you remember what backend were you using when you got the disabling problem? EDS or memory?
[10:32] <zsombi> nik90_: I found one issue with the latest, but still doesn't disable the alarms, will keep checking.
[10:34] <nik90_> Ah
[10:34] <nik90_> zsombi: I tried the eds backend
[10:35] <nik90_> I tried the memory back end as well if I vaugely remember...at the end we concluded that the clock app switch code needs to be fixed
[10:35] <nik90_> n zsombi the alarm not being disabled is a regression on the phone at the moment
[10:36] <nik90_> zsombi: indicator date time isn't patched yet to recognise the special tag we decided to use.
[10:37] <zsombi> nik90_: the alarm disabling seem to have issues still, and not the ones I have tests for...
[10:38] <zsombi> nik90_: but the regression you mean the branch I gave you, right?
[10:38] <zsombi> nik90_: or is a different one?
[10:38] <nik90_> zsombi: no it is present in the rtm images now and is a different issue.
[10:39] <nik90_> zsombi: although your branch also had trouble disabling alarms when we last checked
[10:39] <zsombi> nik90_: but not ion teh alarm API, right?
[10:39] <nik90_> So 2 separate issues
[10:40] <zsombi> nik90_: the branch I gave you, the one I'm working now has, I know, I am fixing that
[10:40] <nik90_> Okay
[11:21] <beuno> dholbach, hi!
[11:21] <dholbach> hey beuno
[11:21] <dholbach> how's life over there?
[11:21] <beuno> dholbach, I finished filling the pool with water yesterday, so not too bad I guess
[11:21] <beuno> you?
[11:22] <dholbach> nice :)
[11:22] <dholbach> doing well, thanks
[11:22] <beuno> dholbach, I've been seeing more and more people take to mailing lists and g+ as they hit some review scripts failures
[11:23] <beuno> and I see that a lot of failing tests don't have askubuntu links on them
[11:23] <beuno> I guess because we continue to grow tests :)
[11:23] <beuno> dholbach, do you think you could sneak in some time to fill that out a bit more?
[11:24] <dholbach> beuno, I'll have a chat with the guys
[11:24] <beuno> \o/
[11:24] <beuno> thank you
=== chihchun is now known as chihchun_afk
=== _salem is now known as salem_
[12:46] <ahayzen> Hi, so over the past few boot on my mako i've noticed that either i don't get the 'Adjust brightness automatically' option in the power indicator or i have half of the scopes missing, has anyone else seen this behaviour (i always seem to get one working but not the other)?
[12:55] <dholbach> dpm, mhall119: do you get "Error establishing a database connection" too on developer.u.c?
[12:55] <dholbach> ah no... seems it was just intermittent
[12:57] <dholbach> dpm, mhall119: do you know what http://developer.ubuntu.com/web-app-tutorial/ was supposed to be about?
[13:19] <dpm> dholbach, it's the web apps tutorial. Hm, it seems it appears in the site's header now
[13:19] <dpm> let me see if I can fix it
[13:21] <dholbach> dpm, ok... I just noticed the page because I replaced "128x128" with "256x256" (for icons) everywhere (as that's what myapps uses now)
[13:23] <dpm> dholbach, ok, fixed, thanks for the heads up!
[13:23] <dholbach> ok cool
=== rmescandon is now known as rmescandon|lunch
[14:14] <zsombi> nik90_: bingo!!! :)
[14:15] <nik90_> zsombi: you solved the issue?
[14:15] <zsombi> nik90_: I found the problem...
[14:16] <nik90_> cool
[14:17] <zsombi> nik90_: in your app, you use model.enabled = checked
[14:17] <zsombi> nik90_: then mode.save()
[14:17] <zsombi> nik90_: the problem is that you/I used model
[14:17] <zsombi> nik90_: that will fetch the unmodified model data!
[14:17] <nik90_> zsombi: mode.save() or model.save()
[14:18] <zsombi> nik90_: each time you're trying to dereference model, the QAbstractItemModel will call the model to get the role...
[14:18] <zsombi> nik90_: model, sorry
[14:19] <zsombi> nik90_: so, that role fetch will always return you the unmodified data, so after model.enabled = false, you will still have print(model.enabled) printing true!
[14:20] <zsombi> nik90_: solution: var alarmData = model
[14:20] <nik90_> ah ok
[14:20] <zsombi> nik90_: and use alarmData whenever you wanna change something on the alarm
[14:20] <zsombi> nik90_: you must do this wherever you have changes on the "model" role!
[14:21] <zsombi> nik90_: mea culpa, I should have known this when I wrote the sample app...
[14:21] <nik90_> zsombi: do I need your sdk branch to land before doing this change?
[14:22] <zsombi> nik90_: nope, you can do it on your own, before my branch(es) land
[14:22] <nik90_> ack
[14:22] <zsombi> nik90_: I thought these roles are handled like the context properties, but no, they are not...
[14:23] <zsombi> nik90_: so each time you use a model role name in your ListView or other model based lists, those will land in QAbstractItemModel::data() calls!
[14:24] <zsombi> nik90_: but noone sais that anywhere in the docs...
[14:24] <nik90_> ok
[14:25] <nik90_> zsombi: ok, so where I need to *get* data I use model.propertyName ...and when I want to change the data, then I do var alarmData = model and then alarmData.enabled = true/false or whatever
[14:25] <nik90_> s/where/whenever
[14:25] <zsombi> nik90_: right
[14:26] <zsombi> nik90_: also alarmData.save()!!!
[14:26] <nik90_> yeah
[14:29] <nik90_> zsombi: after going through my alarm list delegate file, the only change I had to do was http://paste.ubuntu.com/9097197/. There was no other place where I did model.propertyName = someValue.
[14:29] <zsombi> nik90_: yes, but that was enough to not to disable the alarm :)
[14:30] <nik90_> zsombi: :)
[14:34] <zsombi> kalikiana: nik90_: ok, https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/alarm-data-adaptation/+merge/237611 is up to date now
[14:35] <zsombi> kalikiana: as you were reviewing all previous alarm code, would you mind looking at? thx!!
[14:37] <nik90_> zsombi: looking at your sample app, the switch code looks much simpler. For clock, we had to worry about looping issues and so on and as a result looks like http://paste.ubuntu.com/9097288/. Can I simplify it?
[14:38] <zsombi> nik90_: yes, you can, and perhaps the problem there was the same model role issue...
[14:38] <zsombi> nik90_: hope the simplified will work
[14:38] <zsombi> nik90_: can you help me? can you reproduce this bug? https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1336806
[14:38] <ubot5> Launchpad bug 1336806 in Ubuntu UI Toolkit "qmlscene crashed with SIGSEGV in UCAlarmModel::clear()" [Medium,Triaged]
[14:38] <nik90_> sure
[14:39] <kalikiana> zsombi: aye
[14:40] <zsombi> kalikiana: thx, pretty big one, almost same amount of code goes out as comes in :D
[14:40] <nik90_> zsombi: I cannot reproduce the crash on my 14.10 lxc container. I am using the memory manager by default.
[14:40] <zsombi> kalikiana: but I had to do this in order to support properly the model actions
[14:41] <zsombi> nik90_: I was afraid to hear that :)
[14:41] <zsombi> nik90_: thx!!!
[14:42] <nik90_> zsombi: do you remember when mzanetti fixed the alarm crashes with a simple fix. May be this bug was reported *before* that fix landed?
[14:42] <zsombi> nik90_: aaah, indeed, as I don't have the clear() func anymore :D
[14:42] <nik90_> zsombi: :) So i get the bug is invalid
[14:42] <nik90_> s/get/guess
[14:43] <zsombi> nik90_: yep, smells like
=== rmescandon|lunch is now known as rmescandon
[14:52] <nik90_> zsombi: can you review https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-model-usage/+merge/242221
[14:53] <nik90_> zsombi: I made the usage of model consistent in alarm delegate and fixed the above issue
[14:54] <zsombi> nik90_: the date, message, type and others were good as they were, as those are also roles, model is a role which gives access to the slots/ivokables of the Alarm type, so no need to get those changed
[14:55] <nik90_> zsombi: oh yes,
[14:57] <nik90_> zsombi: reverted
[14:57] <nik90_> zsombi: why do we refer to enabled as model.enabled though? It is not a slot/invokable
[14:58] <zsombi> nik90_: good question :)
[14:58] <zsombi> nik90_: oh, yes, because teh CheckBox also has enabled property
[14:58] <zsombi> nik90_: so enabled would use that
[14:58] <nik90_> ah...that makes sense
[15:01] <zsombi> nik90_: MR looks good :)
[15:01] <nik90_> zsombi: can you approve. I can then top-approve when I get the permission to land this in trunk.
[15:02] <zsombi> nik90_: done :)
[15:02] <nik90_> zsombi: cool, thnx. I will look into the switch code simplification tonight
[15:05] * zsombi eod
=== chihchun_afk is now known as chihchun
[15:36] <dholbach> beuno, do we know what the most failing tests are? :)
[15:36] * dholbach crosses fingers and hopes we store that in the database somewhere
[15:40] <dholbach> oops
[15:40] <dholbach> beuno, did you respond? :)
[15:42] <popey> he didnt dholbach
[15:42] <dholbach> ok, thanks
[15:42] <popey> <beuno> When that holbach comes back, tell him I owe him beer
[15:42] <popey> He may or may not have said that.
[15:42] <popey> :D
[15:43] * dholbach hugs popey
[15:55] <beuno> dholbach, I always owe you a beer
[15:56] <beuno> dholbach, the most common complains come from the ones that have "manual review"
[15:56] <beuno> and people don't understand why or what to do
[15:56] <dholbach> right......
[15:57] <dholbach> I was just wondering if we had a list of most common issues in database
[15:57] <beuno> dholbach, we don't currently record that at that level
[15:57] <beuno> sorry
[15:57] <beuno> I'll add that to my list, it'll be useful in the future
[15:57] <dholbach> yes
[15:57] * dholbach hugs beuno
[16:05] <seb128> nik90_, popey, is that known that the calendar app stopped showing all day events?
[16:06] <seb128> well in the day/week views at least
[16:06] <popey> s/nik90_/mihir/
[16:06] <kalikiana> t1mp: are you still there? I'm wondering if I'm looking at a ListItem.Standard regression. removing without confirmRemoval doesn't work
[16:07] <seb128> popey, nik90_, mihir, ups, sorry for pinging the wrong people ;-)
[16:07] <mihir> seb128: no issues.
[16:07] <nik90_> seb128: no worries, although when I saw the latest screenshots of calendar app, it was still there
[16:07] <popey> seb128: there's a bunch of in-flight design changes in calendar right now.
[16:08] <seb128> well, I've a patch pilot day today, which is listed in the agenda view
[16:08] <seb128> but not in the calendar
[16:08] <seb128> well, not in the week/day calendar views I mean
[16:08] <seb128> but the event is there, my phone ring as a reminder and it's listed in the agenda view
[16:09] <popey> gotcha
[16:09] <popey> will take a look
[16:09] <seb128> thanks
[16:10] <seb128> seems like it's not know in any case, and that I should open a bug about it ;-)
[16:10] <popey> sure, feel free
[16:10] <popey> ☻
[16:13] <popey> renatu: bfiller: i did a clean install, added google accounts and then installed calendar, then switched on calendar sync in online accounts, but got no sync-monitor popup.. and i see no events
[16:13] <popey> (nothing in calendar, nothing in indicator)
[16:14] <mihir> seb128: sorry i escaped your message without reading previous message.
[16:15] <mihir> seb128: here is new Day View / Weekview (WIP) https://www.youtube.com/watch?v=1Mw1_oJdAp4
[16:15] <seb128> mihir, no worry, I opened https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1394284
[16:15] <mihir> seb128: here is new way for New event (WIP) https://www.youtube.com/watch?v=WMZVKEpGFJY&feature=youtu.be
[16:15] <ubot5> Launchpad bug 1394284 in Ubuntu Calendar App "Day event not listed in day/week views" [Undecided,New]
[16:15] <ahayzen> dpm, ping
[16:15] <bfiller> popey: mind attaching your sync-monitor.log to the previous bug
[16:15] <popey> k
[16:16] <seb128> mihir, nice work there! :-)
[16:16] <mihir> seb128: :) both MP is in WIP as of now will land soon \m/
[16:16] <seb128> :-)
[16:22] <bfiller> popey: if you toggle calendar sync switch does the sync occur then?
[16:23] <popey> bfiller: updated bug 1393433
[16:23] <ubot5> bug 1393433 in sync-monitor (Ubuntu RTM) "Sync-monitor didn't sync contacts" [High,New] https://launchpad.net/bugs/1393433
[16:23] <popey> seb128: feel free to review them ㋛
[16:23] <popey> bfiller: what? switch off and on again?
[16:23] <bfiller> popey: yes
[16:23] <popey> k
[16:23] <bfiller> the calendar sync switch in accounts
[16:24] <popey> still no popup
[16:24] <bfiller> shit
[16:24] <popey> sorry ☹
[16:26] <bfiller> popey, renatu : looks like same errors in the log as last time "Failed to create session" for Calendar sync. Contact sync seemed to work ok, correct?
[16:27] <popey> yes
[16:27] <bfiller> popey: did you switch on contact and calendar sync at the same time after installing the calendar app? or did you switch on contacts sync before installing calendar app?
[16:27] <popey> the latter
[16:28] <popey> i only just installed calendar, then switched on calendar sync
[16:28] <bfiller> ok
[16:28] <popey> but I flashed the phone and turned on contact sync some hours ago
[16:28] <bfiller> trying to repro, without wiping my phone
[16:31] <bfiller> popey: did you launch calendar before switching on the sync setting?
[16:32] <popey> uh, yes.
[16:33] <bfiller> popey: just worked for me doing exact same steps (:
[16:34] <popey> dammit
[16:35] <bfiller> popey: do you have any logs in .cache/syncevolution/*calendar*?
[16:36] <bfiller> popey: if so those would be helpful
[16:36] <popey> yes, i see logs
[16:48] <kalikiana> t1mp: please check this one https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1394295
[16:48] <ubot5> Launchpad bug 1394295 in Ubuntu UI Toolkit "Swipe to remove is racy, 50% nothing happens (without confirmRemoval)" [Critical,New]
[17:53] <dpm> hi ahayzen, sorry for the late pong
[17:54] <ahayzen> dpm, no worries i was going to ask if we needed to switch the development focus of the translations from utopic to remix...i hit the big red button and nothing seems to have broken
[17:54] <ahayzen> ...as we changed our code development focus to remix as well
[17:55] <dpm> ahayzen, yep, looking at the translations page, it looks good. We should start talking of probably renaming the remix branch to trunk at some point, too
[17:56] <ahayzen> dpm, well if you branch lp:music-app it actually branches remix i think it is all ok now?
[17:56] <ahayzen> dpm, the only trace of the word remix left is the series name
[17:56] <dpm> ahayzen, yeah, that works well. I was just thinking of that - to rename both series at some point
[17:57] <ahayzen> maybe although we'll probably be onto the next series soon lol :)
[18:02] <popey> Music Remix, Remix.
[18:03] <ahayzen> popey, Music Restructure is maybe next ;)
[18:04] <ahayzen> popey, but Remix, Remix sounds possible... ;)
[18:07] <dpm> "Music App Greatest Hits III"
[18:07] <ahayzen> +1 lol
[21:05] <ahoneybun> hello all
=== salem_ is now known as _salem
[22:51] <zmaj> hello anyone online?
[22:53] <akiva-thinkpad> zmaj, yep
[22:53] <akiva-thinkpad> hows it going?
[22:53] <zmaj> nice you?
[22:53] <zmaj> apparently I am an Ubuntu app pioneer :D
[22:53] <akiva-thinkpad> zmaj, wasting time on reddit; save me
[22:53] <akiva-thinkpad> zmaj, ah I am jealous
[22:53] <akiva-thinkpad> nice work
[22:54] <zmaj> I wondered when will they contact me for my t-shirt
[22:55] <akiva-thinkpad> ping popey - he's in charge of t-shirts (probably)
[22:55] <popey> not me, mhall119
[22:56] <akiva-thinkpad> ah yes; hes really in charge of t-shirts
[22:56] <akiva-thinkpad> its why Canonical hired him. That and he is a good programmer.
[22:58] <zmaj> though .click packaging is a blessing... .deb is seriously complicated.
[22:59] <rpadovani> Discerning Duck is on the store :D
[23:00] <zmaj> nice
[23:04] <zmaj> so,just out of curiosity,what are you guys working on at the moment?I am thinking of either making my own web browser or a 4chan webapp...
[23:11] <zmaj> how would you make a vertical text input field in qml?
[23:16] <rpadovani> zmaj, you mean that every single char is on a new line?
[23:18] <zmaj> yep
[23:19] <zmaj> exacly like that
[23:20] <rpadovani> zmaj, I dunno if it's the better solution, but you can use a TextArea, set autoSize to true and set the width of the textarea to the width of one char
[23:20] <rpadovani> http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Components.TextArea
[23:21] <zmaj> thank you
[23:30] <ahoneybun> omg akiva-thinkpad
[23:31] * ahoneybun pokes mhall119 for his t-shirt as well
[23:31] <zmaj> @rpadovani :thank you for the help,I think i cracked it...
[23:32] <ahoneybun> seems ubuntu sdk does not like me using 3d on VM
[23:32] <rpadovani> zmaj, great, feel free to ask if you need something else :-)
[23:34] <zmaj> let me copy paste my solution
[23:35] <zmaj> http://pastebin.com/9cgfcrcC
[23:37] <rpadovani> zmaj, that's how I implement it if I need it - again, maybe there are better solutions, but not I'm aware of
[23:38] <zmaj> I am satisfied with it...