/srv/irclogs.ubuntu.com/2014/03/12/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
=== nik90_ is now known as nik90
=== jackson is now known as Guest1184
=== Borborygmi is now known as Casmo
useryyanybody oneline?02:53
geek42hi, so the html5 app is for ubuntu phone or full platform?03:05
=== jhodapp is now known as jhodapp|afk
=== chihchun_afk is now known as chihchun
AfrobeeThis is nice04:02
=== luxe is now known as Guest66631
=== salem_ is now known as _salem
werr4ftes05:39
=== Guest1184 is now known as Noskcaj
mihirany idea of OptionSelector , clicked delegate?07:09
mihiri am trying like this , http://pastebin.ubuntu.com/7077903/07:10
mihirbut it isn't working at al07:10
aquariusmihir, delegateClicked isn't a method, it's a signal. So you want onDelegateClicked, I think07:17
aquariusbut that's a bit weird, so go with that for now but you may want to ping an sdk team person such as bzoltan once he's online07:18
mihiraquarius: yeah , thanks for that07:19
mihiri tried that , but it is not behaving properly i guess07:19
aquariusmihir, http://pastebin.ubuntu.com/7077939/ works for me?07:24
mihiraquarius: thanks a lot it worked !! , i used SelectedIndex but it didn't work http://pastebin.ubuntu.com/7077942/07:27
mihiri don't know what exactly07:28
aquariusmihir, i think that delegateClicked is fired as soon as the delegate is clicked, before selectedIndex is set07:31
aquariusif what you care about is the selectedIndex, then use onSelectedIndexChanged: { console.log(selectedIndex); }07:31
mihiraquarius: gotcha !!!! thanks a lot :)07:32
DanChapmangood morning all07:36
bzoltanaquarius: I never sleep and I am always online :)07:41
aquariuswaaah! it's zombie bzoltan!07:41
bzoltanaquarius: I reached that level of enlightenment :)07:41
aquariusbzoltan, I think that you're supposed to use onSelectedIndexChanged on an OptionSelector, and that delegateClicked is weird and it feels like an internal signal that shouldn't be documented07:41
mihirbzoltan: heheh07:42
mihirbzoltan: aquarius helped me as of now , was confused between delegateClicked and selectedIndexChanged07:43
zsombiaquarius: delegateClicked is there to provide the ability to execute additional actions before the selectedIndex is changed07:46
aquariuszsombi, ah, OK. Having a little example in the doc page of how to use optionselector "normally" (attach to onSelectedIndexChanged) and how to do extra stuff (attach to onDelegateClicked to do a thing first, *and* attach to onSelectedIndexChanged) might make this a lot clearer, I think?07:48
zsombiaquarius: :) agree... the component itself is too restricting, meaning you canot really customize anything on that... There are things like ListItem's Expandable which provides you more freedom on what you exactly want, and OptionSelector will also get some love at some point... and its documentation is not the best money can buy :)07:50
=== Wellark_ is now known as Wellark
JamesTaitGood morning all; happy No Smoking Day! :-D08:58
=== chriadam is now known as chriadam|away
randomcppnik90, is there a mockup of how flashback should look like on desktop?09:06
=== dkessel_ is now known as dkessel
nik90randomcpp: none at the moment.. I haven't got that far yet :)11:13
nik90randomcpp: but I am currently focussed on some trakt features such as new user profile page and so on..once those get implemented, my target is convergence :D11:15
randomcppok don't worry :)11:15
nik90randomcpp: you are welcome to help me with those11:15
randomcppthank you :)11:15
kalikiananik90, aquarius: code mockup of sorting, transforming and filtering via functions https://code.launchpad.net/~kalikiana/u1db-qt/transformers/+merge/21045711:21
kalikianaany input welcome11:21
nik90kalikiana: taking a look now11:21
randomcppkalikiana, this is interesting :) thanks for your work11:22
randomcppkalikiana, is document deletion also supported now?11:23
kalikianarandomcpp: you can use deleteDoc11:24
kalikianaand of course you're also invited to have a look at this api for brainstorming, I just poke the first two guys I saw :-D11:24
randomcppok I'll have a look!11:24
nik90kalikiana:Would functions like LowerThan(), SortBy() etc be provided by U1db-qt? This way in the query, the developer can reference them by lowerThan(a.year)?11:29
nik90kalikiana: Also in the optionSelector code, 184+ ListElement { label: 'Year'; comp: 'a.year < b.year' }, what does the comp refer to?11:30
aquariuskalikiana, splitwords creates one result item *per split word*11:42
aquariusit does not create one single result item with a value of ["first", "second", "third"]11:43
aquariusalso, you've invented lowerThan.11:43
aquariussee the reference implementation docs for transformation functions; we didn't choose thm lightly. If you invent new ones which know that their data is a number, without being very careful, you'll break syncing, later11:44
aquariusnow, back to packing things for me11:44
randomcppkalikiana, am I missing something? TypeError: Object U1db::Database_QML_127(0x2927940) has no method 'deleteDoc'11:45
nik90randomcpp: did you try this on the desktop or phone?11:45
randomcppdesktop11:45
nik90randomcpp: 14.04?11:45
randomcppyep11:46
nik90randomcpp: it works for now..the way I use it is by db.deleteDoc(docID)11:46
randomcppI'm using recipesdb.deleteDoc(docId);11:47
randomcppwhere     U1db.Database {11:47
randomcpp        id: recipesdb11:47
randomcpp..11:47
nik90randomcpp: can you paste the output of apt-cache policy qtdeclarative5-u1db1.011:47
randomcppqtdeclarative5-u1db1.0:11:48
randomcpp  Installed: 0.1.5+13.10.20130916-0ubuntu111:48
randomcpp  Candidate: 0.1.5+13.10.20130916-0ubuntu111:48
randomcpp  Version table:11:48
randomcpp *** 0.1.5+13.10.20130916-0ubuntu1 011:48
randomcpp        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages11:48
randomcpp        100 /var/lib/dpkg/status11:48
nik90randomcpp: do you have the core apps daily ppa?11:49
nik90randomcpp: https://launchpad.net/~ubuntu-touch-coreapps-drivers/+archive/daily11:49
=== jhodapp|afk is now known as jhodapp
nik90randomcpp: I think I know the problem. If you look at the u1db-qt trunk, the last 6 commits have not yet been released to the trusty archive. It is available through the core apps daily ppa.11:50
randomcppahh this should be the problem11:50
randomcppI don't have that ppa installed11:51
nik90randomcpp: currently the update to trusty archive is being blocked due to the qt 5.2 landing.11:51
nik90so only after qt 5.2 lands in the phone images, can we start updates to u1db land in trusty11:51
randomcppgood to know, thanks nik90 :)11:52
nik90randomcpp: np11:53
kalikianaaquarius: how would sync break due to a transformation function? only documents are exchanged12:00
aquariusbecause you're assuming that you can store data in arbitrary formats12:00
aquariusping pedronis or __lucio__ and talk about why we picked the functions we did, and about storing numbers as numbers12:00
aquarius(I am packing things into boxes)12:00
kalikiananik90: yes, some functions would be included out of the box; if you look more closely you can see that model.get().comp gets pushed to eval12:02
nik90kalikiana: ah yes12:03
kalikianaaquarius: well, you can put garbage in a json object right now. that's besides the point :-)12:05
kalikianapython u1db has different functions for strings and numbers12:05
kalikianathey even explicitly state that they discard unexpected data types12:05
kalikianaso that's what we'll do in the worst case12:06
nik90kalikiana: what does lower() do?12:07
kalikianaaquarius: lowerThan was proposed by another qml developer so you can do stuff like "only movies < 5min"12:08
kalikiananik90: ImaCamelYO → imacamelyo12:08
kalikianaso if you do "ima*" in a query it will match regardless of case12:08
nik90kalikiana: cool12:09
kalikiananik90: if you can think of other ones you would find useful in some apps, suggestions are welcome. I'd like to see if there's other use cases I'm not considering12:11
nik90kalikiana: definitely12:12
nik90randomcpp:  ^^12:12
=== _salem is now known as salem_
dakeraquarius: Multiplayer tablet version http://emils.github.io/2048-multiplayer/ :D13:08
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
randomcppnik90, can I ask you why you changed the user's tv show library to user's watchlist?14:25
nik90randomcpp: I felt that on the phone atleast showing the user's tv show watchlist seemed more relevant than the tv show library.14:26
nik90randomcpp: For instance, in my test account, I had about 20 tv shows in the library. However out of that 20, only 9 tv shows were currently running. The others shows ended some time back14:26
nik90randomcpp: in that case, showing the other 11 shows did not benefit the user too much.14:27
nik90randomcpp: I would recommend using this for a little while on your computer and let me know if that makes sense. In theory the watchlist seems to work. However I am still currently user testing it myself :)14:28
nik90randomcpp: Frankly I feel that showing shows that have already ended doesn't benefit anyone.14:29
randomcppmy problem is that I put shows in library rather than in watchlist14:29
randomcppbecause other apps (read: seriesguide for android) work this way14:29
nik90ah okay...14:30
randomcppmaybe we could hide ended tv series14:30
nik90randomcpp: does Trakt show shows in the upcoming shows category if they are added to the user's library or to the user's watchlist?14:31
randomcppthere's should be a flag somewhere in the json feed14:31
=== kyleN is now known as kyleN-afk
nik90randomcpp: As of now, Flashback doesn't yet provide the feature to add a tv show to the library :/ Hence there was no way to control which episodes are being shown in the "Upcoming shows" carousel14:32
nik90randomcpp: That is also why I changed to show the user's watchlist. Since if a user adds/removes a tv show to the watchlist, Trakt will automatically update the "Upcoming shows" carousel which made sense14:33
randomcppmh ok14:34
nik90randomcpp: What I could do is to remove the "watchlist" feature of tv shows and instead add the feature "Add/Remove to User Library". Then I can change to showing the tv show library.14:37
randomcppthis could be a solution, yes14:37
nik90randomcpp: However I need to first confirm that adding a show to the tv show library will also show upcoming shows.14:37
randomcppI think you need to pull the airing shows data each time there's a change in the user's library14:43
randomcppat the moment using watchlist, there's no upcoming episode in tv page14:43
nik90randomcpp: yeah that's what I do currently with the user's watchlist. When a user adds/remove a show in the watchlist, I update the airing shows data. That is something I can do.14:44
nik90randomcpp: however what I essentially do is that I request trakt to update the airing shows data when the user watchlist changes14:45
randomcpplibrary should work the same way, doesn't it?14:46
nik90randomcpp: only if trakt supports it14:47
nik90randomcpp: since if trakt doesn't update the airing shows data when a user adds a show to the library, then I cannot do much14:47
randomcppweird, seriesguide when a show is added/removed to/from the library automatically shows recent/upcoming episodes correctly14:50
nik90randomcpp: do you have time for a quick hangout?14:50
randomcppnot now sorry, maybe in half an hour14:53
nik90no worries14:53
=== caribou_ is now known as caribou
mzanettipopey: dpm: is the meeting happening today?15:09
popeymzanetti: no.15:10
* mzanetti leaves the hangout again... nothing happened on my side the last week anyways15:10
mzanettiok15:11
popeywe have session tomorrow i believe15:11
=== gatox is now known as gatox_lunch
rmescandon_hi everybody15:29
=== chihchun is now known as chihchun_afk
=== niemeyer_ is now known as niemeyer
=== chihchun_afk is now known as chihchun
=== gatox_lunch is now known as gatox
=== chihchun is now known as chihchun_afk
=== kyleN-afk is now known as kyleN
dpmnik90, if you're around/interested and you can make it, it'd be great to have you around for the core apps designs showcase to talk about the clock designs for tablet17:37
nik90dpm: Don't you think lucas should do that since he and andrea were the ones who came up with it?17:37
nik90dpm: I only added the descriptions to the design in the doc17:37
dpmnik90, yeah, I invited the designers, but it seems none of them will be able to make it, so essentially I'll be showcasing their work17:38
nik90dpm: oh..I will be in the hangout17:39
nik90I can help with that17:39
dpmcool, thanks!17:39
ARudikhello18:04
JoshStroblhttps://twitter.com/jonobacon/status/443815614574886913 event at 19.00 UTC, IRC channel is #ubuntu-uds-plenary18:31
JoshStroblhttp://t.co/mA8mzLvw9x18:31
JoshStroblgah, sorry about that, damn automatic twitter URLs, http://summit.ubuntu.com/uds-1403/meeting/22220/keynote-mark-shuttleworth/18:31
randomcppcan anyone with a phone running ubuntu do me a quick favor?19:38
PaoloRotolorandomcpp, I've a Nexus 7 running raring right now19:43
randomcppPaoloRotolo, could you please run saucybacon? (deleting all its data before if you ever used it)19:45
randomcppoh sorry, I need that it runs ubuntu-touch :/19:46
randomcppok I think I found what's wrong19:49
PaoloRotolorandomcpp, I'm running Ubuntu Touch (raring), I'm installing the app19:49
PaoloRotoloOk, I'm in.19:50
randomcppok, tell me if the toolbar when you launch the app shows just "New" button19:50
PaoloRotolorandomcpp, yes, I can see in Recipes tab "No Recipes!" with a toolbar showing a "New" button19:51
randomcppok thank you a lot19:52
PaoloRotolorandomcpp, you're welcome :)19:52
randomcppthere's something wrong in how toolbar are created in latest ubuntu images19:52
randomcppnow I should find which version brings the regression..19:53
randomcppI don't know why it loads the wrong toolbar buttons20:06
randomcppon the desktop everything works just fine20:06
snwhiBelieve, https://dl.dropboxusercontent.com/u/7027392/project-dashboard.png21:03
iBelievesnwh: oh, wow, that's awesome!!!! Thank you!21:04
iBelievesnwh: I gotta go right now, feel free to send me a Google+ message if you need to21:06
elopiovthompson: ping. You around?21:17
vthompsonelopio, yep. What's up?21:19
vthompsonI see your comments in https://bugs.launchpad.net/music-app/+bug/129139821:22
ubot2`Launchpad bug 1291398 in Ubuntu Music App "test_add_song_to_queue_from_albums_sheet fails with Qt 5.2" [Critical,In progress]21:22
elopiovthompson: yes, I have just seen yours :)21:22
elopiovthompson: and I saw your branch. Thanks for working on it!21:23
vthompsonI think it's an issue with setting the cover art for the canned mediascanner database. I'm not sure why it's broken. But I don't think it's *just* qt5.2. It's probably something to do with grilo--which was rebuilt21:23
vthompsonelopio, awesome. Please test if you can.21:23
elopiovthompson: I'm not sure how. I deployed your branch to my phone with click buddy, and now I can't run the tests.21:27
elopioI can't launch music app. How are you testing it?21:28
=== salem_ is now known as _salem
vthompsonDeploying the click doesn't seem to copy the libs that we are dependent on21:33
vthompsoncopy /usr/share/click/preinstalled/com.ubuntu.music/current/lib to /opt/click.ubuntu.com/com.ubuntu.music/current/21:35
vthompsonelopio, ping in case you didn't see my response21:37
elopiovthompson: I'm back, I was trying to reproduce the calendar errors.21:39
elopioI'll give that a try now.21:39
elopiovthompson: yes, the tests passes here. I'll leave my approval on your branch.21:42
elopiothanks a lot.21:42
vthompsonelopio, no worries. Actually, I do have worries because all this new stuff causes the page header to cover the top/back button of the Now Playing queue just by scrolling up/down in the queue21:43
elopiovthompson: can you report that as a bug with the tag qt5.2, please?21:44
vthompsonelopio, Will do21:44
vthompsonelopio, actually since we do already have a bug for this, lp:1239106, but it doesn't happen very often or with the same stimulus (scrolling up/down) should I just tag that bug and update the info?21:49
vthompsonhttps://bugs.launchpad.net/music-app/+bug/123910621:49
ubot2`Launchpad bug 1239106 in Ubuntu Music App "Empty tab header obscures the queue's close button" [Medium,In progress]21:49
elopiovthompson: sounds good. So what's happening is that 5.2 makes this happen more often?21:50
=== jhodapp is now known as jhodapp|afk
vthompsonelopio, seems like just scrolling in the queue causes it each time21:52
vthompsonelopio, I'm removing the qt5.2 tag from https://bugs.launchpad.net/music-app/+bug/123910623:00
ubot2`Launchpad bug 1239106 in Ubuntu Music App "Empty tab header obscures the queue's close button" [Medium,In progress]23:00
vthompsonIt seems to only be an issue if the music library contains only the 3 test tracks. It's odd, but it wasn't an issue due to the upgrade itself--I don't think23:01

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