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

Elleopopey: would mentioning the possibility of running "sudo service powerd stop/start" in CuteSpotify's store description be frowned upon?00:42
=== chriadam|away is now known as chriadam
beunoElleo, well, users won't typically have sudo access, right?02:07
Elleobeuno: they do on current images02:09
Elleoor is that only enabled after the ubuntu sdk has talked to the phone?02:09
beunoElleo, only through the SDK, yeah02:09
Elleoah, okay02:12
Elleothanks, I'll leave it out then02:12
Elleoany non-devs can just keep tapping their screen to keep it awake :P02:12
beunoElleo, we'll provide enough in the SDK that they don't have to, hopefully02:20
Elleoyeah, but for now there doesn't seem to be any other option02:20
Elleoheh, just had to rip liblastfm support out of CuteSpotify because Nokia don't seem to understand how the GPL works :P03:01
ca18detwhy would the keyboard work on my app in the sdk but not on my device, it pops up and goes away instantly. This also usually makes the app lock up as well08:17
JamesTaitGood morning all; happy Origami Day! :-D09:23
nerochiarooSoMoN: i just pushed the less hacky hack that we discussed the other week to https://code.launchpad.net/~amanzi-team/notes-app/notes-app-cursor-in-view/+merge/19374309:25
nerochiarooSoMoN: as well as updating to refer to the bug in UITK that prevents anchorToKeyboard from working in landscape orientation09:25
oSoMoNnerochiaro, cool, I’ll take another look later this morning09:26
nerochiarooSoMoN: ok thanks. also bill didn't sent me any list of priorities, i guess i'l just go on killing bugs in notes ?09:26
oSoMoNnerochiaro, I guess so09:27
AskUbuntuQuickly app not working on raspberry pi | http://askubuntu.com/q/37535409:27
oSoMoNnerochiaro, also, I’d appreciate if you could review a couple of MRs for webbrowser-app09:28
oSoMoNnerochiaro, (not urgent, when you have a moment) https://code.launchpad.net/~osomon/webbrowser-app/cleaner-workaround-1248620/+merge/194455 and https://code.launchpad.net/~osomon/webbrowser-app/always-use-local-server-in-tests/+merge/19437709:29
nerochiarook, will have a look09:29
oSoMoNthanks09:32
nik90hey everyone, can you guys tell me how to play a remote video in url? I have tried searching online but couldn't find anything.09:51
nik90Does the SDK offer anything on this?09:51
nik90I rather handle the video playing in my app instead of redirecting it to the webbrowser-app09:52
t1mpnik90: we didn't add something to the UITK for this.09:56
t1mpnik90: It would be nice to integrate the components from lp:mediaplayer-app into the SDK, but currently we don't have it.09:56
nik90t1mp: ah thnx.09:57
nik90t1mp: would redirecting to the webbrowser play it there?09:57
nik90or better redirect to the mediaplayer-app?09:57
t1mpgood question09:58
t1mpoSoMoN: ^ ?09:58
nik90t1mp: on looking at the URlHandler, there is a handler for movies -> video:///..although not sure about the online part.09:58
nik90will try both methods09:58
t1mpbest would be to open the url and let the system figure out which app to use.09:58
nik90yup09:58
t1mpnik90: ^ yes, that. :) But I don't know which app it will open.09:59
oSoMoNnik90, ideally, it should be redirected to the media player, although IIRC at the moment it doesn’t handle remote URLs10:11
oSoMoNnik90, so it will fall back on the browser (I guess)10:12
nik90oSoMoN: okay10:13
=== chriadam is now known as chriadam|away
nerochiarooSoMoN: i'm not exactly sure what https://code.launchpad.net/~osomon/webbrowser-app/always-use-local-server-in-tests/+merge/194377 does, can you expain a bit better ?10:25
oSoMoNnerochiaro, it does what it says on the tin: make the tests more consistents by using the local test server everywhere10:34
oSoMoNnerochiaro, for historical reasons, some tests are still writing temporary html pages to disk, but there’s no good reason for this any longer10:35
oSoMoNnerochiaro, this MR is merely refactoring, it doesn’t fix any bug or add any new feature10:35
nerochiarooSoMoN: i guess what confuses me is that StartOpenRemotePageTestCaseBase seems not to be using a "local" test server, and StartOpenLocalPageTestCaseBase looks like it's doing just that10:36
oSoMoNnerochiaro, yeah the naming could probably be improved10:36
oSoMoNnerochiaro, StartOpenLocalPageTestCaseBase writes a temporary html page on disk and opens it, whereas StartOpenRemotePageTestCaseBase uses the local test server10:37
oSoMoNnerochiaro, "remote" as in talking to a server, but I agree the naming is not super clear10:37
nerochiarooSoMoN: if you want to change it in another MR i can review it. but this one sounds good. i'll have another look and approve for now if all looks clean. in the meantime can you please run the example file in https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1243164 by pushing to device and from phablet shell run "qmlscene test2.qml --desktop_file_hint=/usr/share/applications/gallery-app.desktop" and see if the prob10:40
nerochiarolem happens for you ? I can confirm it but gush can't10:40
ubot2Launchpad bug 1243164 in Ubuntu UI Toolkit "TextArea generates onTextChanged events when OSK is displayed or screen is rotated" [Undecided,New]10:40
nerochiarooSoMoN: and i really need that bug confirmed so that the sdk ppl can look at it, as it's necessary to fix a very annoying notepad bug10:41
oSoMoNnerochiaro, testing now10:41
nerochiarotx10:41
oSoMoNnerochiaro, regarding the renaming, I’ll do it in a separate MR10:41
nerochiarooSoMoN: perfect10:41
oSoMoNnerochiaro, I can confirm the issue10:45
nerochiarooSoMoN: both MRs approved10:45
nerochiarooSoMoN: ok, please confirm the bug and if you can add a comment saying how you ran the test that would help too10:45
oSoMoNnerochiaro, not sure where to confirm the bug though, in ubuntu-keyboard or in ubuntu-ui-toolkit?10:45
nerochiarooSoMoN: i don't know, confirm both, then i'll take it from there with the devs10:46
nerochiarozsombi: tmoenicke: when you have some time, can we discuss bug #1243164 again ? oSoMoN just tested it and he managed to reproduce it. I would like to figure out with you why you can't reproduce it instead11:05
ubot2Launchpad bug 1243164 in Ubuntu UI Toolkit "TextArea generates onTextChanged events when OSK is displayed or screen is rotated" [Undecided,Confirmed] https://launchpad.net/bugs/124316411:05
nerochiarozsombi: tmoenicke: it's rather important to make notepad work properly11:05
zsombinerochiaro: ok, we'll try to check it again11:06
tmoenickenerochiaro: ok, will try again11:13
nerochiarotmoenicke: in the bug report there's the command oSoMoN used to do it, please try that way11:14
=== _salem is now known as salem_
AskUbuntuplugin any software in to Ubuntu operating system | http://askubuntu.com/q/37540212:17
tmoenickenerochiaro: do you have the bug number?12:38
=== MacSlow is now known as MacSlow|lunch
mihirhey dpm :)12:52
dpmhi mihir, how are you doing? :-)12:57
mihirhey dpm i am doing great :) how are you ?12:57
dpmgood good :)12:58
nerochiarotmoenicke: bug #124316413:06
ubot2Launchpad bug 1243164 in Ubuntu UI Toolkit "TextArea generates onTextChanged events when OSK is displayed or screen is rotated" [Undecided,Confirmed] https://launchpad.net/bugs/124316413:06
nerochiarotmoenicke: i'm going to get some lunch, ttyl13:06
tmoenickenerochiaro: ok, thx13:06
timppajoo13:27
timppasorry, wrong window :)13:27
=== MacSlow|lunch is now known as MacSlow
blarochebzoltan: ping13:43
=== greyback is now known as greyback|lunch
=== greyback|lunch is now known as greyback
guschtmoenicke: https://code.launchpad.net/~schwann/ubuntu-keyboard/spellchecker-languages/+merge/19469514:38
oSoMoNnerochiaro, can you please confirm https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1236360 ?15:13
ubot2Launchpad bug 1236360 in Ubuntu UI Toolkit "MainView.anchorToKeyboard doesn’t resize the contents in landscape orientation" [Undecided,New]15:13
nerochiaro_oSoMoN: looking15:20
nerochiaro_tmoenicke: did you manage to try getting the onTextChanged bug ?15:20
nerochiaro_oSoMoN: ah, ok, not sure why i hadn't confirmed it earlier15:22
dpmpopey, do you know who scheduled the "Music app 14.04 development" session? (the first one on the client track at http://summit.ubuntu.com/uds-1311/2013-11-21/display15:26
popeyvictor15:26
dpmok, we'll need to make sure there is a blueprint to track the WIs15:28
dpmand good to see the developers taking the initiative for the roadmap, btw!15:33
=== gatox is now known as gatox_lunch
=== gatox_lunch is now known as gatox
=== salem_ is now known as _salem
=== dpm is now known as dpm-afk
=== _salem is now known as salem_
mhall119dpm-afk: beuno: do we have good docs for cross-compiling C++ apps using the SDK so they can be uploaded to the click store?18:24
beunomhall119, not yet, no. It's on the SDK's and foundation's team's roadmaps to develop a good story there18:24
om26ert1mp, hey!18:48
om26ert1mp, did you get a report from someone that with the new tabs behavior it seems the startup of a few apps have become slow..18:48
om26erI don't have any figures to show but its something that I noted.18:48
t1mpom26er: no, I didn't get that report18:50
t1mpom26er: on which device? On my magure startup of apps becase slow some time ago18:50
om26ert1mp, I am talking about mako. is there a way to switch that behavior off to get a "before after" result ?18:51
mhall119beuno: do we have anything for the people who currently have C++ apps written?18:54
dpm-afkmhall119, we've got https://wiki.ubuntu.com/CrossBuilding and https://wiki.ubuntu.com/Touch/CrossCompile, but it's still hard to get an environment for cross-compilation18:54
mhall119or apps with a C++ plugin?18:54
t1mpom26er: I don't have a mako device for testing18:54
t1mpom26er: not really. The change was actually made some time ago, but we didn't have releases so only since recently people got that change18:54
t1mpom26er: there are several changes that can be called the "new behavior" together.18:55
dpm-afkmhall119, another option is to set up a PPA and let the builders do the cross-compiling, but it's a workaround more than anything else18:55
mhall119dpm-afk: but that'll build a .deb, not a .click18:55
om26ert1mp, I am specifically talking about the auto visible toolbar and the tabs bar showing other tabs on start18:55
mhall119is there an easy way to convert a binary deb to a click?18:56
t1mpom26er: you can try removing this from MainView.qml:18:56
t1mp    Component.onCompleted: {18:56
t1mp        tabBar.selectionMode = true;18:56
t1mp    }18:56
t1mpom26er: in your UITK installation.18:56
t1mpom26er: no what I said is wrong. It is not in MainView but in TabBar.qml18:56
om26ert1mp, sure, anything for toolbar ?18:56
t1mplet me check18:57
dpm-afkmhall119, yeah, but it builds an armhf binary that you can drop into a .click18:59
t1mpom26er: that one is a bit more tricky. Toolbar automatically opens when you change the Page19:00
mhall119right, but still not easy, you'd have to understand both deb binary format and click file layout19:00
t1mpom26er: that is in onToolsChanged of Toolbar.qml. If you remove the toolbar.open(); on l.63 the toolbar won't open automatically when changing pages (or when starting the app).19:01
om26ert1mp, I can try to revert the uitoolkit packages, if there are no apps depending on any new changes19:01
t1mpom26er: it is not desired behavior, but it may be useful for testing performance19:01
om26ert1mp, great, will try that19:01
t1mpom26er: reverting is tricky, because as I said these changes were actually made some time ago.19:01
t1mpom26er: I don't think apps depend on it, but some autopilot tests do.19:01
t1mpom26er: and it is possible that more recent UITK changes depend on it.19:02
t1mpom26er: so I propose you first try it with the small code changes that I suggested19:02
om26ert1mp, ack, will do.19:02
t1mpom26er: if you see that there is a problem with performance caused by the new toolbar behavior, can you please report a bug here? https://bugs.launchpad.net/ubuntu-ui-toolkit19:23
* t1mp off now19:23
om26ert1mp, sure.19:23
t1mpthanks19:23
dpm-afkmhall119, indeed, that's just a workaround19:29
dpm-afkmhall119, I think this is an important topic. We discussed it at the last UDS, but we didn't get that far, as everyone was busy getting the release out. It might be worth assessing if we want a session and who'd be able to work on it on our UDS call tomorrow19:31
=== salem_ is now known as _salem
Elleopopey: new version of cutespotify in the review queue, adds lots of nice extras over the version I sent you a while back (favouriting, more search options, top lists, shuffling, repeating, automatic shifting between songs, etc.) :)23:34
Elleomy plan is to use new features as a bribe for QA reviews :P23:34
popeyElleo: ooh23:42
popeyElleo: bounced23:43
Elleooops, thought I'd changed that23:43
Elleohmm, I have changed that :/23:44
Elleoperhaps I uploaded the wrong package23:44
Elleoit'd be nice if you could reupload a failed package without having to bump all the version numbers23:47
popeyi thought you could?23:47
Elleowhen I tried with Eyrie it complained about a version with that number already existing23:48
Elleoand then when I tried just bumping the number in the web interface it complained that it didn't match the version in the package (which is fair enough)23:48
popeyah23:48
popeyi guess they've made it more strict23:49
Elleoright, uploaded a definitely correct one23:50
Elleoor at least my local copy of the click review tools passes it23:50
popey23:51
popeythey all say that ㋛23:51
Elleoheh23:51
popeyapproved23:52
Elleoawesome23:52
Elleooh nice, line breaks appear correctly in the app info on the phone23:53
Elleowasn't sure if they would23:53
popeyodd. one of my phones shows an update to cutespotify, the other doesn't23:57
Elleostrange23:58
Elleohopefully not my fault though :P23:58
popeyheh23:58
Elleois it possible that you have an ancient package on the one that's not updating?23:59
Elleothat one might be com.mikeasoft.uspot23:59
ElleoI changed the name shortly after starting on it, but might not have updated the packaging right away23:59

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