/srv/irclogs.ubuntu.com/2015/05/12/#ubuntu-app-devel.txt

=== aaron__ is now known as ahoneybun
=== aaron_ is now known as ahoneybun
=== salem_ is now known as _salem
dholbachgood morning06:18
nerochiarooSoMoN: do you mind if when addressing https://code.launchpad.net/~uriboni/webbrowser-app/search-suggestions/+merge/257062 i slip in a one line change to the main CMakeLists.txt that names the project webbrowser-app ?07:48
nerochiarooSoMoN: it is of no practical consequence except it looks nice in qtcreator07:49
nerochiarooSoMoN: i'd rather really not have a separate MR for something so trivial07:49
oSoMoNnerochiaro, src/app/webbrowser/CMakeLists.txt already has that project name defined, isn’t it going to conflict?07:50
nerochiarooSoMoN: i will use another name then, just "webbrowser" for eample07:51
nerochiaroexample07:51
nerochiarobut i am tired to see it named "Project" in qtcreator :)07:51
oSoMoNnerochiaro, fine by me then07:51
nerochiarooSoMoN: thanks07:51
oSoMoNnerochiaro, btw, I could use a review for https://code.launchpad.net/~osomon/webbrowser-app/delay-showing-fullscreen-hint/+merge/25883907:53
nerochiarooSoMoN: it is now in my queue. will try to get to it today07:54
oSoMoNcheers07:54
nerochiarooSoMoN: probably post standup07:54
oSoMoNyeah, no urgency on that one07:54
oSoMoNnerochiaro, I’m more interested in updates on the search-suggestions branch, I’m eager to put it in a silo and land it07:55
nerochiarooSoMoN: that i am doing right now07:56
nerochiarooSoMoN: after merging trunk i see that new data_location and cache_location are defined during tests, to point to temporary locations. but is there anything for replacing ~/.config or should i keep overwriting the real one ?08:12
oSoMoNnerochiaro, I had initially overlooked that, it’s fixed by https://code.launchpad.net/~osomon/webbrowser-app/autopilot-temp-profile-config/+merge/25880708:13
nerochiarooSoMoN: i will depend on that then08:13
oSoMoNnerochiaro, yeah, I’d suggest merging that branch into yours and marking it a prerequisite, we’ll put them in the same silo anyway08:14
=== oSoMoN_ is now known as oSoMoN
oSoMoNnerochiaro, there’s a conflict when merging lp:~uriboni/oxide/find-in-page into lp:oxide08:33
oSoMoNit looks rather trivial to fix08:34
dholbachdpm, I just pinged IS about help.u.c - it's still in their queue, waiting for them to have time for it - I just pushed an update to the site (just translations), the site will update around midday UTC08:37
nerochiarooSoMoN: joining now08:40
dpmthanks dholbach08:48
nerochiarooSoMoN: i think we are still missing a test override for ~/.local/  (for ~/.local/share/webbrowser-app/searchengines/)08:51
oSoMoNnerochiaro, that’s self.data_location08:52
=== chihchun_afk is now known as chihchun
oSoMoNmore accurately: os.path.join(self.data_location, "searchengines")08:52
dholbachdpm, I'd be much obliged: https://code.launchpad.net/~dholbach/help-app/1446493-pt2/+merge/258848 :-)09:01
dpmdholbach, it's been my pleasure ;)09:06
dholbach<309:07
dholbachdpm, now we can maybe get the fix in before it lands on help.u.c :)09:07
dholbachor rather before the auto-updater works its magic09:08
dpmcool :)09:09
dpmdholbach, hm, looking at the help app on my bq phone, it seems that the fonts and the header are quite bigger than the rest of apps. It seems to me that the HTML5 UI toolkit has either changed since we last looked at the app?09:17
dholbachdpm, I think so09:46
dholbachdpm, there's going to be a difference between vivid and utopic too now09:47
dakerdpm: hmm, i don't didn't change anything09:50
dpmdaker, dholbach, here is a comparison of a QML app's header (Reminders) and an HTML5 app's header (Help), on a bq phone -> http://i.imgur.com/WXuWUPl.png09:58
dpmLast time I tested the help app I hadn't noticed the size difference, but perhaps it was because I did it on a Nexus 4?09:58
dakerwell maybe :/09:59
nerochiarooSoMoN_: i addressed your suggestions on https://code.launchpad.net/~uriboni/webbrowser-app/search-suggestions/+merge/257062 however I am not sure how to add more than one prerequisite branch on the MR10:20
=== oSoMoN_ is now known as oSoMoN
oSoMoNnerochiaro, can you change the prerequisite branch? the bookmarks-in-suggestions branch has already been merged, so it doesn’t really need to be marked prerequisite any longer10:22
nerochiarooSoMoN: doing that10:22
nerochiarooSoMoN: all done10:26
oSoMoNnerochiaro, thanks, I’m on it10:26
davidcalledpm, open source phonegap app if you are still looking for one (they have just asked me for a dedicated scope as well) https://github.com/openfoodfacts/openfoodfacts-android/tree/master/phonegap/Open%20Food%20Facts10:45
davidcalledbarth__, for what I've gathered, you were looking for one right ? ^10:46
davidcallefrom*10:47
oSoMoNnerochiaro, one more comment on https://code.launchpad.net/~uriboni/webbrowser-app/search-suggestions/+merge/258856 , after which this should be good to go10:50
justCarakasis the app store broken ?11:31
justCarakasit doesn't seem to work on my nexus 4 on the RTM channel11:32
justCarakasnm rebooting fixed it11:33
=== MacSlow is now known as MacSlow|lunch
jgdxhttps://developer.ubuntu.com/api/apps/qml/sdk-14.10/QtQuick.Text/ <- anyone able to click on props/methods and be scrolled?11:39
jgdxmhall119, what about you? :)11:40
vitimitijgdx, the clicks are not working for me11:40
jgdxvitimiti, thanks.11:41
vitimitiyw11:42
jgdxcould not find anything, so filed bug 145421611:44
ubot5bug 1454216 in Ubuntu App Developer site "[api docs] Clicking a property, signal or method does nothing" [Undecided,New] https://launchpad.net/bugs/145421611:44
dholbachballoons, dpm: can you maybe help review https://code.launchpad.net/~dholbach/help-app/1433525/+merge/258866?11:52
renatucharles, could you review this: https://code.launchpad.net/~renatofilho/qtorganizer5-eds/fix-1347836/+merge/25572612:30
rpadovanikalikiana, thanks for the example, works like a charm :-) I don't know why I wasn' t able to have it working yesterday... thanks again!12:31
kalikianarpadovani: happy to hear that! I can see how you might have not gotten it to work, unfortunately when there's a race with component creation (which I think is the issue here) errors tend to be silent12:36
=== MacSlow|lunch is now known as MacSlow
rpadovanikalikiana, just FYI, I spent some time to have it working in my app: in my main.qml there are 2 pages, and I had to put first the one with the textfield, so instead of PageOne{}, PageSearch{}  I had to write PageSearch{}, PageOne{}. Weird behavior, but, well, now works all ok, thanks again :-)13:11
kalikianarpadovani: I don't follow13:22
kalikianamoving Component.onCompleted into the Page wasn't enough for your real code?13:23
rpadovanikalikiana, nope. I had also to switch these two components (as declaration order) in the main13:23
kalikianarpadovani: ooohhh13:24
rpadovanikalikiana, sorry, code isn't mine and it uses private APIs, so atm isn't in any public repo. I'll share with you code and the diff as soon as I can13:25
oSoMoNnerochiaro, I’m looking at http://bazaar.launchpad.net/~uriboni/webbrowser-app/search-suggestions/revision/992 , and IIRC in python if an object is not referenced anywhere the garbage collector may run at any time, destroying the object, so I think it would be safer to keep a reference to the servers in member variables13:27
oSoMoN(even though this seems to work as is, there is no guarantee it will continue working in the future)13:27
nerochiarooSoMoN: let me do that real quick13:27
kalikianarpadovani: did you try if you can reproduce this also in the smaller example? at the very least it would be good to document the behavior. though it's hard to say if it'll be easy to fix. I wonder if it's related to external file loading as there are some known pitfalls in imports that have side effects eg. image:// urls extended by Ubuntu.Components13:32
nerochiarooSoMoN: you got it13:32
oSoMoNthanks13:33
oSoMoNnerochiaro, can you do the same for the setup of the main test server in tests/autopilot/webbrowser_app/tests/__init__.py ?13:34
oSoMoNnerochiaro, ideally, the main test server would be called self.http_server, and the one in suggestions would be called self.suggestions_http_server, or something like that13:35
rpadovanikalikiana, here we are: http://paste.ubuntu.com/11096098/13:39
rpadovanijust move the useless page at the bottom of the page13:39
kalikianagrrrrrrrrrrrrrrrrrrrrr13:39
rpadovanikalikiana, a bit more elaborated example: the focus isn't set first time you click a button, but it's set every next time13:40
rpadovanihttp://paste.ubuntu.com/11096100/13:40
kalikianadidn't I just mention earlier to somebody else how I love that p.u.c wants me to SSO only once I hit the download button13:40
kalikianasuch a ux mess13:40
nerochiarooSoMoN: all done13:40
oSoMoNnerochiaro, thanks, I’ll be requesting a silo shortly13:41
nerochiarooSoMoN: great. and in oxide " - In test_new_text_resets_count() and in test_navigation_does_not_reset(), next() should be called after verifying that the count is 2." ... why ?13:41
oSoMoNnerochiaro, because updating the search results is asynchronous, right? so you need to wait for them to have arrived before you can actually navigate them, no?13:42
oSoMoNor did I misunderstand how the API works?13:43
mhall119jgdx: it's something with the new theme, it's intercepting the event to do some fancy scrolling, but failing at it13:45
nerochiarooSoMoN: you can call next while waiting for the results of a previous search, but you are right, it might not have found any matches yet and i guess in that case the call to next will not work13:48
nerochiarooSoMoN: in this case it works because the first call will basically find all the results immediately, as the page is tiny13:48
nerochiarooSoMoN: i will fix it13:48
kalikianarpadovani: moving the uselessPage below pageFocus in the first one does not appear to make any difference here13:55
oSoMoNnerochiaro, thanks13:56
rpadovanikalikiana, that's weird. So does it work for you when it is at top?13:57
rpadovanior it never works?13:57
kalikianarpadovani: it always works :-|14:06
kalikianarpadovani: how's the second example meant to work? I click the button and the text field has focus14:07
rpadovanikalikiana, actyally, on my pc it doesn't have focus the first time you click :S14:08
rpadovanikalikiana, maybe we have different qt/qml packages?14:08
kalikianarpadovani: hm. I'm on vivid. if you're on anything older you'd have an older qt14:11
dholbachballoons, if you have a bit of time to review that'd be swell :)14:11
kalikianarpadovani: or we're on different uitk versions - let me install the latest staging14:12
balloonsdholbach, review what exactly?14:13
rpadovanikalikiana, I'm on vivid, without any PPA14:15
dholbachhaha14:17
dholbachballoons, https://code.launchpad.net/~dholbach/help-app/1433525/+merge/25886614:17
dholbachsorry14:17
kalikianarpadovani: in that case I'm baffled, we should be on the same stack14:23
rpadovanikalikiana, mhhh, I have no idea. How do you run it? I use qmlscene via CLI14:25
kalikianarpadovani: same14:25
rpadovanikalikiana, I have also different output: in the first one the uselessPage is below and the autofocus work, in the second one no14:27
rpadovanihttp://paste.ubuntu.com/11096640/14:27
kalikianarpadovani: hmmm so you don't have staging judging from the lack of uitk output14:29
kalikianalemme try with trunk14:29
kalikianarpadovani: sae with trunk14:59
kalikianarpadovani: now I'm a bit suspicious, though. trunk should be in vivid but you don't have any deprecation output - or did you remove that?14:59
=== MacSlow is now known as MacSlow|errand
rpadovanikalikiana, no, I didn't remove anything15:02
kalikianarpadovani: so are you behind in distro updates?15:04
=== dholbach_ is now known as dholbach
rpadovanikalikiana, nope, and I've both proposed and backports enabled15:08
rpadovanikalikiana, I'm using an italian mirror, let me try with the main mirror...15:08
dholbachballoons, mhall119: Unrelated to the earlier discussion, but why do I get a "download flash plugin" thing on https://developer.ubuntu.com/en/start/quality/?15:12
rpadovanikalikiana, nope, my machine is up to date15:12
dholbachis that a plugin which makes us use the flash version of a youtube video or something?15:12
SPeck84Hy everyone15:13
mhall119dholbach: no idea, maybe the video embed code can be changed so that it uses the HTML5 player instead?15:13
dholbachok15:14
kalikianarpadovani: hrm. no idea why that would be15:14
SPeck84I currently working on a HTML5 app project and can I ask somebody how to disable the landscape mode?15:14
balloonsdholbach, that's a bug.. I filed something for it15:14
dholbachthanks balloons!15:14
balloonshttps://bugs.launchpad.net/developer-ubuntu-com/+bug/144772215:14
ubot5Ubuntu bug 1447722 in Ubuntu App Developer site "Embedded Videos prompt for flash on mobile" [Undecided,Confirmed]15:15
balloonswow, it's starting to age :-)15:15
davmor2dholbach: because chromium and chrome use pepper flash where available iirc which is not adobes so causes issues with some flash based youtube videos.15:15
balloonslooks like popey has a workaround we could try.. basically don't use youtube for the embed, which I suppose we should look into anyway to be more friendly for those outside of it's reach?15:15
dholbachdavmor2, this is on my desktop where I disabled flash15:17
davmor2dholbach: I got it all the time with the UOS videos I had to use FF to stream as the video would say starting and then this video is not available try again later15:17
davmor2dholbach: that will be why then15:17
dholbachdavmor2, what I was trying to say was that if we just include a youtube video on the site, we shouldn't require flash :)15:17
davmor2dholbach: agreed, you would have to re-record the video in a format that youtube can release on html5 aiui15:19
dholbachoh?15:19
dakerdholbach: you can just force youtube to play the video using the html5 player15:19
dholbachso that's probably what mhall119 said above (change the video embed code)15:20
davmor2dholbach: yeap that would do it if it is availble in html5 format15:20
dakerdholbach: like <iframe width="560" height="315" src="https://www.youtube.com/embed/En1MaDDp9_8?html5=1" frameborder="0" allowfullscreen></iframe>15:21
rpadovanikalikiana, well, this will remain a mistery. Thanks for your time anyway :-)15:21
dholbachballoons, ^ goodness! :-)D15:22
balloonsdaker, dholbach, hmm.. I can try to change it. We use the django plugin for it, but I guess we can manually try15:23
dholbachoh ok, then that django plugin would need to try the html5 version first?15:23
balloonsahh right, no dice.. django doesn't give us such access15:24
mhall119balloons: you're using a django-cms plugin for the video?15:24
balloonsmhall119, to embed it yes15:24
mhall119balloons: then we'll probably need to override the template tha plugin uses15:25
dakerballoons: how do you tell the plugin which video to embed ?15:25
balloonsdaker, you give it a video file, or a url15:26
balloonsI'll try forcing html5 in the url15:27
davmor2daker: any advice you can give to speck8415:47
speck84Can somebody know how to set fix orientation my html5 app?15:47
speck84thx15:47
=== chihchun is now known as chihchun_afk
=== HoloIRCUser is now known as flash067
dakerdavmor2: i don't think it's possible16:38
davmor2daker thanks if I see him around I'll let him know16:39
dakerand that does apply to both html5 apps & webapps16:39
=== dpm is now known as dpm-afk
=== MacSlow|errand is now known as MacSlow
christian___anyone with experience in modifying locale and using locale-gen? Need more technical info.20:16
taiebotPfew trying to learn how to code. I have to say it might not be for me :-/20:32
taiebotTrying to port a meego app to UT20:32
=== Benno-0071 is now known as Benno-007
=== Benno-007 is now known as lgd
renatuom26er, could you top approval this mr? https://code.launchpad.net/~renatofilho/address-book-app/fix-test_import_from_sim/+merge/25893221:23
om26errenatu, need to wait for the CI boat to pas21:23
renatuom26er, ok, I will ping you21:24
renatuthanks21:24
vitimitiI am trying to build a program for the rtm-14.09 emulator, but when I run qmake it says it can't find "feature ubuntu-click" for the load(ubuntu-click) command. How can I fix this?22:50
vitimitiAlso, it makes the manifest.json.in file disappear from the files list22:51

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