/srv/irclogs.ubuntu.com/2013/10/30/#ubuntu-app-devel.txt

vthompsonahayzen, are you around?01:12
=== seb128_ is now known as seb128
ahayzenvthompson, o/01:34
vthompsonahayzen, howdy. I was just going to ask if you could review the user metrics and library loading time merges.01:35
vthompsonBut, I've already approved the user metrics one now that it's been fixed.01:36
ahayzenvthompson, i'll have a look in a bit...just battling business cwk :/01:36
vthompsonahayzen, well enjoy. I'm happy to know that reviewing/testing should be an improvement to your current activities ;)01:37
ahayzenvthompson, this one? https://code.launchpad.net/~vthompson/music-app/fixes-1234990/+merge/19277101:37
vthompsonahayzen, yep01:37
ahayzenvthompson, cool01:38
ahayzenvthompson, wht build u now using to test?01:38
vthompsonahayzen, I've been testing with the trusty builds. I'm on r5.01:38
ahayzen:)01:39
vthompsonahayzen, I don't think you should have issues if you're still on saucy01:39
ahayzenvthompson, i'm still on a really old build for the dev mode stuff01:39
ahayzenvthompson, but haven't tried updating recently as have got caught up with cwk :(01:40
vthompsonahayzen, ah. The only thing of note would then be that you're probably still pulling cover art from the web. I didn't fix that--the mediascanner people did01:40
ahayzenok01:41
vthompsonahayzen, so you should notice that the blank cover arts show up much more quickly... but the cover art might still be laggy for you01:41
vthompsonthat was fixed w/ a mediascanner update around Oct 1201:41
ahayzenwht about on the desktop?01:41
vthompsonYou're probably running saucy with a new mediascanner. If you blow away your old mediascanner stuff and rescan you'll get fresh cached cover art01:42
vthompsonthe improvements to load time for the app is similar on the desktop though01:42
ahayzenok cool01:44
AskUbuntuQuestion for Ubuntu devs, I have concerns about Ubuntu SDK, will changes effect backwards compatibility? | http://askubuntu.com/q/36823701:50
ahayzenvthompson, ur branch is notably faster on the desktop at loading :)02:30
vthompsonahayzen, you'll be happy to know that I got rid of that stupid timer we had :)02:30
ahayzenvthompson, awesome02:31
vthompsonahayzen, one thing I'd like you to check out is how responsive navigating to the albums/artists/songs tabs is for the first time. ESPECIALLY the Songs tab. I wait to populate their models until the tab is clicked the first time.02:32
vthompsonahayzen, for me it was very reasonable given not having to wait as the app loads the first time02:32
ahayzenvthompson, yh i'll have a play...but before onCountChanged was taking ~5seconds now onFinished is the highest thing taking ~0.2seconds!02:33
ahayzenvthompson, artists and albums isn't too bad as their aren't tht many compared to songs02:33
vthompsonahayzen, another change is that the queue isn't automatically populated with the contents of the songs tab as it isn't loaded yet. I think this is a good thing and probably per the design spec.02:34
vthompsonso you'll notice that if you swipe the toolbar up it initially comes up as empty state02:35
ahayzenvthompson, yh tht will be helping alot...have u tested adding files in the cmd line args?02:35
vthompsonahayzen, no, but I think you just shot down waiting to load the songs tab02:36
vthompsonI think that's required for the file arg stuff02:36
ahayzenvthompson, i'm don't think it does anymore02:36
ahayzenvthompson, IIRC it manually adds them to the queue itself02:37
vthompsonI'll try to test as well, but even if we have to add it back the time saves were over 30%02:37
ahayzenvthompson, oh it gets them from libraryModel02:37
vthompsonyep :\02:37
ahayzenvthompson, could we get it to query the Grilo model directly?02:38
vthompsonahayzen, exactly I'll look into that now02:38
ahayzenvthompson, all it is trying to get is the metadata02:38
ahayzenvthompson, note there are two different ways tht the arguments work02:40
ahayzenvthompson, u have the URI handler @ line 123 on music-app.qml02:40
vthompsonyea, it seems file args might be working02:41
ahayzenvthompson, and then u have the argFile on line 67602:41
ahayzenboth *should* probably be changed to talk to the Grilo model?02:41
vthompsonI'd assume so. I just tried and it worked, but now it isn't working. But I agree complete it should load from the Grilo model02:42
ahayzenvthompson, i guess the 676 can be moved into the griloModel onFinished?02:43
vthompsonyea yea, that would work perfectly02:44
ahayzenvthompson, and for the first one could libraryModel be substituted for griloModel?02:45
vthompsonmaybe, that's what I'm testing now02:45
ahayzenu'll need to make a griloModel.indexOf(file) though or just loop through until the file is right02:46
ahayzenvthompson, ping04:21
vthompsonahayzen, pong04:22
ahayzenvthompson, just noticed that if u go to the songs tab then the play queue gets loaded04:22
vthompsonahayzen, yea, if the user hadn't populated the queue there is probably a missing piece that populates it with the songs tab04:23
ahayzenvthompson, also think there typo in ur latest branch? u pushed to lp:~vthompson/music-app/vixes-1234990 ?04:24
vthompsonhowever, I just reverted it because I couldn't get 100% of the file arg stuff working. I think we can offload the loading of the songs tab's model soon, but the savings we have now are significant in many cases04:25
vthompsonahayzen, ha you are right, I didn't even check that. Re pushing04:25
ahayzenvthompson, i think the argFile should be pretty simple04:26
ahayzenvthompson, just looking at the URIHandler bit now...04:26
vthompsonI was having issues loading the trackqueue for some odd reason from grilo04:26
vthompsonIt may have been silly errors, though...04:27
ahayzenvthompson, surely this would work? http://pastebin.ubuntu.com/6328057/04:27
ahayzenvthompson, i haven't tested but can't see why it wouldn't just looking at the other bit then i'll have a test04:27
vthompsonWell, at that point the Library nor the libraryModel have that file04:29
vthompsonI was delaying the same call until they had been added, but still had issues04:29
vthompsoneh, just realized I was appending to the trackqueue in an invalid format04:32
ahayzenvthompson, tht works other than the cover art http://pastebin.ubuntu.com/6328074/04:36
vthompsonso yea, we are on the same page04:39
vthompsonIs your version playing the selected file?04:39
ahayzenvthompson, it is playing the file i parse in the cmd args04:40
ahayzenvthompson, http://pastebin.ubuntu.com/6328098/ tht is wht the URIHandler would look like i think04:41
ahayzenvthompson, but why is the cover art not working?04:41
vthompsonmaybe need to do a qt.resolveurl?04:43
ahayzenvthompson, well in my case i think it is an empty string so it should be using the fallback04:45
ahayzenvthompson, when there is cover art it has the value file:///home/andy/.cache/media-art/album-de88b1d1abf69a8537aed23f7f62a8f0-c2d715596c4d05ebe9d17f743250e165.jpg04:46
ahayzenvthompson, ah we are getting the error music-app.qml:495: Error: Cannot assign QVariantMap to QString04:48
vthompson495>04:49
vthompson?04:49
ahayzenvthompson, all working :) http://pastebin.ubuntu.com/6328116/04:50
ahayzenvthompson, haven't been able to test the URIHandler though04:50
ahayzenvthompson, yh the line is probably skewed for u due to my other changes04:50
ahayzenvthompson, this is a diff off ur lp:~vthompson/music-app/fixes-1234990 @ revision 238 ... not 239 so it is doing this without loading the songs tab :)04:52
vthompsonyea good call, that seems to work04:53
vthompsonI'm not sure it's working once the app is already up though04:54
vthompsonThe other section is probably wrong04:54
ahayzenvthompson, just fixed the issue with it loading the queue when u switch to tht tab04:54
ahayzenvthompson, ah tht'll be wrong? griloModel.get(i).file04:55
ahayzenvthompson, we want griloModel.get(i).url.toString()04:55
vthompsonyep, it should be the url04:56
ahayzenvthompson, does ^^ fix it?04:56
vthompsonchecking04:56
vthompsonhm, partially, the next song doesn't play though04:57
ahayzenvthompson, we are looking at a diff like this now (with the tab loading fix) http://pastebin.ubuntu.com/6328146/04:57
ahayzenvthompson, hmm looking at the current code it only plays if it is the first?04:58
ahayzenvthompson, wht do u mean by doesn't play?04:58
vthompsonit seems to load the queue, but the track isn't playing05:00
vthompsonduh, I think I know what I did05:00
vthompsonThe append should have true at the end right?05:00
ahayzenappend?05:01
vthompsonthe trackQueue.model.append05:01
vthompsonaround L 15005:01
ahayzendon't think so....05:01
ahayzeni've never put a true in an append05:02
vthompsonnm, thinking of the trackclicked call05:02
ahayzenwell either trackClicked() isn't being called or the file is invalid05:03
vthompsonSeems valid though05:03
ahayzenah05:03
ahayzenif (i == 0)05:03
ahayzenif the code i added i may have used the variable i as i lifted code from elsewhere whoops05:03
ahayzenrookie error :P05:04
vthompsonheh05:04
vthompsonyou have your own loop though05:04
ahayzenvthompson, this *should* work http://pastebin.ubuntu.com/6328173/05:05
vthompsondon't know if that i is isolated to just the for loop though05:05
ahayzenvthompson, it isn't i don't think05:05
vthompsonjust changed your for loop to j instead of i?05:05
ahayzenyep :)05:05
vthompsonheh, still doesn't seem to work05:07
ahayzen:(05:07
ahayzenwhts happening now?05:07
ahayzenah05:08
ahayzenoh no it wouldn't have even appeared then05:09
ahayzenvthompson, not sure whts going on there :/ i'll have another look tomoz if u don't figure it out...anyway gotta get to bed only 7hr 45min until i'm in a lecture doing Python :)05:13
vthompsonahayzen, cool. Thanks and enjoy! I might try a bit more yet tonight as well05:14
vthompsonahayzen, night!05:14
ahayzenvthompson, its pretty close now anyway :) cyas05:14
=== noob is now known as Guest76236
gaara_akashhello, is it appropriate to ask a unity webapp related question here?07:08
JamesTaitGood morning all; happy Orthopaedic Nurses Day! :-D09:21
=== zsombi is now known as zsombi|afk
razzo78hi09:25
razzo78i'm new in ubuntu cordova developemet. how do I generate a debug message to the console?09:26
aquariusrazzo78, console.log("something")09:52
davidcalleaquarius, I've spent way too much time on level 24. It's probably time I try to bribe you : how many beers? ;)11:32
aquariusdavidcalle, which one's level 24?11:36
davidcalleaquarius, El Paso11:36
aquariusdavidcalle, how much of a hint do you want? A little hint or a big hint? :)11:37
aquariusalso: would you have paid $2 to get a hint sheet? ;-)11:37
davidcalleaquarius, I think a little hint would do, and I'm not at the point of paying (I would probably stop playing for some time until someone find it :P)11:38
* aquarius laughs11:39
aquariusOK. Little hint. "Marty".11:39
davidcalleaquarius, I went down this road already, but at least it reduces the search field. Thanks ;)11:41
aquariusyou asked for a little hint ;)11:41
aquariuswoo, davidcalle finishes Riddling!12:15
aquariusfirst to finish :)12:15
=== MacSlow is now known as MacSlow|lunch
AskUbuntuThe CurrencyConverter tutorial does run on desktop with no problem however do not respond on Nexus 7 | http://askubuntu.com/q/36845712:28
=== zsombi|afk is now known as zsombi
aquariuspopey, you are now officially falling behind :)13:39
popeyhah13:41
=== MacSlow|lunch is now known as MacSlow
mhall119aquarius: time for an expansion pack for Riddling14:02
mhall119aquarius: also, did you see my comment about the API website having QtQuick docs too?14:03
AskUbuntuIs QtQuick.Controls available on Ubuntu 13.10 | http://askubuntu.com/q/36850714:12
aquariusmhall119, Riddling 2 is already being thought about :)14:20
aquariusmhall119, I did indeed see your comment, and I didn't realise that they were there. I'd love to see those sets of docs integrated: in the same way that http://developer.ubuntu.com/api/qml/sdk-1.0/QtQuick.AnchorAnimation/ says taht it inherits Animation (with link to http://developer.ubuntu.com/api/qml/sdk-1.0/QtQuick.Animation/) I'd love to see Label say that it inherits Text14:21
aquariusI did look at https://wiki.ubuntu.com/DeveloperNetwork but I almost completely do not understand it :014:23
aquariusand QtQuick qml stuff itself does not seem to be available in .qml files: there is no Text.qml on my filesystem, like there is for Ubuntu/Components/Label.qml, so I don't know how to look at the qdoc  stuff for QtQuick widgets and work out how they do the linking (and thus propose patches)14:26
ogra_popey, do you know if there is a click package for the docviewer app anywhere ?14:31
popeyogra_: sergiusens: submitted them to the store...14:33
popeyhe has them automatically building in jenkins.14:33
ogra_hmm, is it already approved ?14:37
ogra_i dont see it on my phone14:37
ogra_my android phone just died ... and it took my pdf ebooks with it ...14:39
mhall119aquarius: yeah, I'm not sure where qdoc gets it's sources from.  I do know that within a project the components can link to each other (QtQuick.Foo -> QtQuick.Bar), but that's probably because they are generated together, where as separate projects are generated seperately and can not (Ubuntu.Components.Label -> QtQuick.Text) unless there is some way for me to tell qdoc where the QtQuick qdoc data is when it generates the Ubuntu.Components14:39
aquariusmhall119, yeah. I don't know how to do that at all14:39
mhall119ogra_: IIRC, there's a package but it's not installed or available because there's no way to use it without the contenthub work being done14:39
aquariusactual qml people might be able to help?14:39
mhall119aquarius: yeah, I was going to try and rope Mirv into helping me with that14:40
ogra_mhall119, ah, damned14:40
mhall119ogra_: so basically it exists, it works, but the only way to launch it with a file is from the terminal14:41
mhall119ogra_: I did offer to write a patch for url-dispatcher as a short-term solution, but was told no14:42
Mirvmhall119: kalikiana or zsombi have possibly battled with qdoc, I have not (besides packaging)15:42
kalikianamhall119: Mirv I have. if you provide some context I can try to help.15:44
mhall119kalikiana: when I generate Ubuntu.Components docs, it doesn't cross-link to QtQuick docs.  The specific example is Ubuntu.Components.Label, which inherits from QtQuick.Text, but the docs make no reference to QtQuick.Text, or properties inherited from it15:46
mhall119kalikiana: so http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Components.Label/ should reference and link to http://developer.ubuntu.com/api/qml/sdk-1.0/QtQuick.Text/15:47
kalikianamhall119: I think we don't use "indexes" I'm not certain but it can be that we didn'T/ don't have them packaged15:50
kalikianalet me check that, hold on15:50
kalikianamhall119: qtdeclarative5-doc-html looks to be what you're after. let me try real quick to add it to the toolkit .qdoc magic15:55
kalikianamhall119: success! at least partly. would need more time to check which indexes are needed16:05
kalikianais there a bug for it?16:05
kalikianathen I can make a branch to add the linking properly16:05
mhall119kalikiana: no bug, no, because I didn't know where a fix would go if it was even possible16:06
kalikianain the ubuntu-ui-toolkit16:06
kalikianait needs to add the doc packages from qt and specifiy them in qdoc16:06
kalikianasince it's all generated it must be at build time16:07
kalikianamhall119: https://code.launchpad.net/~kalikiana/ubuntu-ui-toolkit/cutedocs/+merge/19328016:46
=== gatox is now known as gatox_lunch
=== gatox_lunch is now known as gatox
=== snwh_ is now known as snwh
randomcppdoes anyone here use SeriesGuide on Android?18:47
=== mefrio is now known as mefrio|afk
nik90randomcpp: I don't but it seems like a cool app19:29
romain__hello19:33
romain__ :D19:33
nik90hello19:35
=== mefrio|afk is now known as mefrio
aquariusmhall119, ping: the QtQuick SDK docs on dev.u.c are missing embedded images. See for example http://developer.ubuntu.com/api/qml/sdk-1.0/QtQuick.PropertyAnimation/#easing.type-prop20:18
aquariusmhall119, I can file this as a bug, but if you're fiddling with that stuff anyway it might be easier to just tell you :)20:18
randomcppnik90, I was thinking to write a similar app for ubuntu touch and ubuntu desktop20:20
randomcppit is pretty useful to me since I watch a lot of tv series20:21
randomcppand it uses trakt api, which is pretty cool20:21
popeyrandomcpp: seen TV Stalker on Ubuntu phone? ☻20:26
randomcpppopey, nope, link?20:26
popeyrandomcpp: it's in the store.. http://popey.com/~alan/phablet/device-2013-10-30-202707.png20:27
mhall119aquarius: it's on my work items list20:27
popeydunno where upstream code is20:27
randomcpppopey, you have to tell me how you do those awesome smile faces :p20:27
aquariusmhall119, cool; I thought it would be20:27
popeyI have an alias in my irc client ㋛20:27
popeyit's automatic20:27
randomcppwhich client?20:27
randomcpppopey, so I don't have to code anything, great :)20:28
popeyirssi20:28
aquariusSmiley face: type Ctrl-Shift-U, let go, type 263b, press space.20:30
aquariusthat's the way to type any generic unicode character on Ubuntu.20:31
randomcpp20:31
randomcppit works20:31
aquariusIt's better if you can use the Compose key, but not all characters are available via Compose. Compose is good for quotation marks, accented letters, etc (see http://kryogenix.org/days/2013/10/17/smart-quotes-for-smart-ubuntu-people ☻)20:31
nik9020:32
nik90yay I got it20:32
aquarius㋛ is not actually a smiley face at all, it's a katakana symbol, and popey should be beaten for using it :)20:32
popeyhaha20:34
popeyi use it for debugging20:35
popey</excuse>20:35
aquariususing ㋛ as a smiley face is like a Japanese person using b as a symbol meaning "golf club". ;)20:35
popeyobserve my launchpad name, and my twitter name. I insert it to QA for unicode compliance20:35
=== ryukafalz_ is now known as ryukafalz
* popey looks for a UNICODE_PILE_OF_POO for aquarius 20:36
aquariuspopey, that is a very good idea, indeed :) http://kryogenix.org/days/2006/11/06/internationalisation is precisely advocating that, since I seem to be quoting from my own site today ;)20:36
aquarius💩20:36
popeyi only started doing this after Fedora discovered their bug tracker didn't like their chosen distro name of "Schrödinger's cat"20:37
popeyLaura Cz<tab> was very assertive that no such problem existed in launchpad20:37
popeyI proved her wrong with one unicode character, a smiley ☻20:37
* snwh is away: Away20:53
* snwh is back (gone 00:24:05)21:17
tsimpsonsnwh: please don't use those public away/back messages, they are generally considered obnoxious21:23
snwhtsimpson, I'm aware of that. -_- I didn't realize it was on by default in this IRC client.21:26
tsimpsonwell now you do ;)21:26
snwhyeah that's annoying. back to xchat.21:28
=== txwikinger is now known as txwikinger2
=== txwikinger2 is now known as txwikinger
* snwh is away: Away21:55
snwhson of a.21:55
nik90snwh: lol21:56

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