[00:01] Is there a coding standard/style guideline for the core app autopilot tests? [00:01] (or for Python autopilot tests in general?) [00:19] Okay seriously; is there a way in QML to write the user input from a TextArea to a text file? [00:19] right now I am using qprocess, but there is just so many ways for that to go wrong. [00:53] Also, is anyone familiar with the KTerminal object used in ubuntu-terminal-app. I'm looking for a way to check some text I type onto the command line (for an autopilot test) [00:54] gerlowskija, what is an autopilot test? Should I be putting one in my program? [00:59] They're high level regression tests. And you should definitely write some, they're a good way to make sure everything's in working order for your app. You can simulate swipes, clicks, keyboard types, etc and then check how your app responds [00:59] Aki-Thinkpad: ^^ [01:00] (not meant to be a smiley, I just typed two ^'s to point to my last comment) [01:00] gerlowskija, oh... I thought you liked me there for a sec [01:00] ;_; [01:04] I've got nothing against you Aki, just had to be honest! : ) [01:06] (if you're interested in trying out an autopilot test though, http://unity.ubuntu.com/autopilot/tutorial/getting_started.html might be a decent place to start) [01:12] gerlowskija, Thanks, I really appreciate it! Do you suggest I write it while I am still developing my application, or after? [01:13] like for example, I am still making UI choices in regards to, well, a keyboard layout [01:14] http://imagebin.org/306859 for reference :) [01:16] cool [01:20] Well, for the record, I'm definitely not an expert. So take my opinion with a grain of salt. (Anyone else feel free to correct me if I say something dumb ^^). [01:20] But I'd say it makes sense to write them early. [01:21] If you have the tests around, and then change your UI. All you have to do to make sure everything still works is run the tests [01:21] (in theory ;-p) [01:23] You might have to alter some of the tests if you do a huge UI overhaul, but hopefully the time you save catching mistakes offsets the time you'll spend updating a few of the tests. [01:38] sarnold, thanks :) I plan to make ubuntu the first ever phone os to have an implimentation of APL [01:38] The geek credwill be amazing. [01:39] Aki-Thinkpad: with an APL implementation, finally smartphones may catch on :) [01:39] ha ha ha [01:39] I always got the feeling that I'd really like APL if I were to put in the effort [01:39] sarnold, half the battle is inputting the symbols [01:40] Aki-Thinkpad: no kidding [01:40] Aki-Thinkpad: step 1: buy an ancient keyboard. step 2: try to figure out how to hook it up. :) [01:41] sarnold, they have alternative languages which just use ascii, but I don't see the fun in that. [01:42] Aki-Thinkpad: it'd more than double the length of programs for starters.. [01:43] :O [01:43] what is this, JAVA?! [01:44] lol [01:49] Will anybody be at jono's q&a tomorrow? I won't be there, but I want to ask a question. [01:50] Namely, will the ubuntu-terminal, namely root, be disabled in the upcoming ubuntu phones, and what will this mean for convergence? If I can not use the terminal on the phone, what about when I dock it to the desktop? [01:52] Aki-Thinkpad: I think we're all pretty interested in making a phone that is still a useful computer when running 'converged' [01:53] sarnold, I can't imagine the phone manufactures wanting to enable root though... [01:53] Aki-Thinkpad: yeah, me neither :) [01:54] Aki-Thinkpad: hopefully we'll find some enlightened oems and cellular providers who are interested in selling a full-blown computer that also fits handily in a pocket :) [01:55] sarnold, they could also alternatively just put, "Enable root, VOID YOUR WARRANTY!!!!" [01:55] sarnold, maybe system 76 will get in the biz [01:55] Aki-Thinkpad: heh, that'd be fun, but perhaps outside of their experience range by a bit too much [01:56] I hate the name, "System76". [01:56] its like that beatles song, "Number 9, Number 9...." [02:05] hey guys i was wondering how to execute an SH script during an installation of a deb file [02:06] basically the user has downloaded my deb file and is going to install it. when the click install i want it to install some items in a directory (already done) but then run an sh script [02:06] if that is not possible can i run terminal commands (like wget , cd, etc..) during a deb package installation? [02:11] ambush276: removing the ability of packages to specify post-inst script was one of the motivating factors behind the design of the new click packages [02:11] sarnold so how can i install certain packages [02:11] ambush276: if you want to create a .deb, you can use a post-inst script. if you want to create a .click package that can be installed via the software store, you cannot [02:11] basically i have an SH file that has a bunch of includes im checking for and if they do not exist install them [02:12] well its not really via the software store.. they DL the deb from my site [02:12] ambush276: well, that'd be the wrong way to install them even for .deb packages :) [02:12] ambush276: ah, good good good [02:12] so i guess then.. Is there a way for someone to DL something.. from my website.. and just click on it once to install it [02:12] none of this go to terminal, find file, and do sh run.sh [02:13] i know this seems really trivial but for the people this is going to be used for.. sadly.. its not [02:13] a click and go architecture [02:13] (if possible) [02:13] ambush276: simple set some Depends: or Pre-depends: headers in your control file as described here: https://www.debian.org/doc/debian-policy/ch-relationships.html [02:14] the depends though are in python [02:14] pip install [02:14] eww ;) [02:14] hahah yea.. kind of eww [02:15] sorry, no idea there. best is if you can just use a debianized version of the dependency.... [02:15] hahaha kk [02:15] but that's just not always possible :( [02:15] so technically there is no way to execute an SH script by a one click n Go [02:15] i dont mind hodling the files in a wget command and installing them manually via SH [02:16] well, if you drop off a /usr/lib/ambush/install_deps.sh file, you could have someone click it.. [02:18] ambush276, didnt read much, but there is #ubuntu-packaging [02:18] I assume they are experts [02:18] ok ill give it a shot thanks guys [02:44] well. I think the issue that i want to look into now is making a file executable on download [05:29] Good Morning === chihchun_afk is now known as chihchun [07:05] good morning [07:13] dholbach: good Morning :) [07:14] hey mihir :) [07:14] hey dholbach :) [07:15] how'S life over there? [07:17] dholbach: heating india :) and rest is good [07:23] nice :-) [07:47] good mornign === chriadam is now known as chriadam|away [09:16] popey: ping [09:16] hi mihir [09:16] popey: hi popey :) [09:17] popey: just wanted to confirm, our meetings are continued , or we taking break for couple of weeks? [09:17] mihir: I'll keep the meetings in the calendar for now, but will confirm with you once I speak to jono/dpm/mhall later.. [09:18] popey: okay sure , if any updates could you please shoot an email :) [09:18] ok [09:55] fginther: do you know why trying to download this gives me a 500 server error ? http://s-jenkins.ubuntu-ci:8080/view/click/job/gallery-app-click-from-branch/lastSuccessfulBuild/artifact/out/com.ubuntu.gallery_2.9.1.954_armhf.click [09:55] om26er: ^ [10:00] nerochiaro, francis is sleeping. I need to setup VPN connection first [10:02] nerochiaro, here https://jenkins.qa.ubuntu.com/job/gallery-app-click-from-branch/lastSuccessfulBuild/artifact/out/com.ubuntu.gallery_2.9.1.954_armhf.click [10:02] download that [10:04] om26er: is it from the same branch of the other link ? [10:04] nerochiaro, it is the lastSuccessfulBuild which is the same your link would direct to [10:04] (if that was working)]] [10:06] om26er: ok, well, what I'm trying to do is going here: http://s-jenkins.ubuntu-ci:8080/view/click/job/gallery-app-click-from-branch/build?delay=0sec and putting in the LP address of a branch [10:06] popey: i see, if events are recuurent, i don't see in event details , could you confirm on device ? [10:06] om26er: to have jenkins build the click package for it for armhf [10:06] i guess it has some EDS change. [10:07] popey: also, you won't be able to update event [10:08] nerochiaro, if that page does not open thats a problem then [10:10] om26er: the problem is that whenever i insert any branch tehre, it always brings me back to http://s-jenkins.ubuntu-ci:8080/view/click/job/gallery-app-click-from-branch/ and shows the latest successful builds. I don't think that is what is supposed to happen === MacSlow is now known as MacSlow|lunch === chihchun is now known as chihchun_afk [12:07] popey: ping !! [12:07] mihir: pong [12:08] popey: could you quickly check on latest image , for calendar, user won't be able to update event [12:08] i can in a moment.. [12:08] also , won't be able to see proper recurrence in event details, it will be always ONCE === chihchun_afk is now known as chihchun === mpt_ is now known as mpt === _salem is now known as salem_ [13:06] daker, do you know a way to access the DOm tree of a webview ? (i know i can do a XMLHttpRequest to load a local doc in parallel, but was wondering if the webview doesnt perhaps offer a method) [13:06] ogra_: with oxide ? [13:06] either [13:07] the app currently still uses the old webkit API [13:08] its a personal ebook reader ... that converts pdfs into a click package (and the pdf itself into html ... with one anchor for each page ... to get the total number of pages i need to know the number of anchors inside the doc) [13:08] nerochiaro, om26er, the storage array attached to s-jenkins is having issues today, that's causing the issues you're seeing [13:08] ogra_: you can still use the devtools [13:08] hmm [13:09] ogra_: you need something using JavaScript ? [13:09] fginther: aw, ok. please let us know when things are back to normal [13:09] later on perhaps, first of all i want to know how to access the content of the webview [13:10] ogra_: ah you mean from QML ? [13:10] yes [13:10] i.e. something like webview.url ... but rather webview.content.anchors :) [13:11] you can use for ex : webview.experimental.evaluateJavaScript() [13:11] i know it is easy to load it in a XMLHttpRequest and inspect it from there ... but that means i need to load it twice [13:12] ok. i'll take a look at that, thanks ! [13:12] ogra_: can you explaina the use case exactly ? [13:13] tsdgeos: seen https://bugreports.qt-project.org/browse/QTBUG-38451 by any chance? [13:13] ogra_: or something like https://stackoverflow.com/questions/14342220/invoke-c-method-from-webviews-javascript/14365144#14365144 [13:13] tsdgeos: any suggestions on a workaround or what we can do to mitigate the issue.. [13:14] daker, well, its my personal ebook reader app, all my books are scanned paperbacks as pdfs ... http://paste.ubuntu.com/7306919/ the first one is the script creating a html book from the pdf and rolling that into a click package ... the second one if the actual qml app [13:14] s/if/is/ [13:15] popey: nope haven't seen it, but i'd say you can try forcing the JIT to be off and see if that helps [13:15] popey: QV4_FORCE_INTERPRETER=1 [13:15] thanks. [13:15] popey: or maybe even swtiching off the registry allocator [13:15] QV4_NO_REGALLOC=1 [13:15] QV4_NO_REGALLOC=1 should be faster than QV4_FORCE_INTERPRETER=1 [13:15] since it still JITs [13:16] also if you find out it works with any of those [13:16] tell Simon in the bugreport [13:16] actually i guess i can try the minimum example too [13:17] popey: hmmm, i get "-2124464854" that the reporter says it's the correct result both with the console.log commented or uncommented [13:18] popey: is the reporter using ubuntu packages? [13:18] Should be. [13:18] ogra_: i see now you want to get all the anchors from the webpage, so the user can choose with page to open, right ? [13:18] maybe it's one of those i386 vs arm vs x86? [13:18] popey: is he on IRC? [13:19] daker, well, i just want the upper limit of pages (teh page selectiojn dialog should become a slider and that needs the upper limit) [13:19] not right now. [13:19] popey: are you in i386? [13:19] amd64 [13:19] daker, its also nothing that will ever go to the store ... just my little toy project for home use and reading in bed ;) [13:19] ok, same here [13:19] i have an i386 vm up [13:20] popey: can you try https://bugreports.qt-project.org/secure/attachment/40019/BugJsMin.qml both with the console.log line commented and uncommented [13:20] and see what you get [13:20] ya [13:22] tsdgeos: i get same result with ConsoleLog commented or not [13:22] (on amd64) [13:22] lemme try on i386 [13:22] popey: and the i386vm? [13:23] wouldn't be the first bug that depends on the registry allocator and thus happens only on i386 [13:23] need a few mins, i stated a dist-upgrade on it a few mins ago [13:23] which has a different and less tested allocator [13:23] sure [13:23] ping me back when you're done :) [13:23] kk [13:23] ta === MacSlow|lunch is now known as MacSlow [13:34] ogra_: here is my idea(not tested) http://paste.ubuntu.com/7307034/ [13:35] daker, cool, i'll test it later and will let you know if it works [13:35] thanks a lot !! [13:35] yw [13:36] this kind of APIs Webview <=> QML doesn't exist yet [13:36] in oxide [13:37] right, i guess in webkit it can still work ... and it looks like we will still carry webkit with us for a while [13:37] (and as long as the app isnt in the store i dont really care for latest API if it works) [13:38] yes [13:38] t1mp, ping === jhodapp|afk is now known as jhodapp [13:41] Anybody can help me with Powerd in UT? [13:43] tsdgeos: on i386 it's different! [13:43] popey: use QV4_NO_REGALLOC=1 [13:43] QV4_NO_REGALLOC=1 qmlscene blalba.qml [13:43] ok [13:44] that changes it [13:44] popey: with it, it's correct all the time, right? [13:44] yes [13:44] popey: can you comment that in the bug? or want me to? [13:45] i can [13:45] cool :) [13:46] I want to add Powerd support to my music app, how I can do it? [13:47] Ubuntu.Powerd? Ot Qtpowerd? [13:47] *Or [13:53] popey, "i can" - you told to me? [13:53] cat_: no [13:54] popey, sorry in that case) [13:54] np [13:54] popey, but who can help me and is it possible now to make music app, that are working when phone is suspend. [13:55] cat_, this is the code to *remove* powerd from the ubuntu music-app [13:55] cat_, https://code.launchpad.net/~vthompson/music-app/remove-qtpowerd/+merge/210944 [13:56] cat_, however we run unconfined but there is a service landing soon that will allow the music to run with the app suspended [13:56] cat_, no app can access or modify powerd actually ... your app needs to use the new media-hub (which didnt make it into trusty but should land within the next days once U is open) [13:57] ahayzen_, ogra_, thank you for your answers! It is great! [14:03] ahayzen_: hello [14:03] t1mp, i'm on trusty desktop running the music-app and when i scroll a gridview i'm getting some strange flickering of the whole window [14:03] t1mp, https://docs.google.com/file/d/0B3XynHVKfrvMQTBOVFhMWUpva0U/edit [14:03] t1mp, was wondering which of u SDK guys are best to talk to about it? [14:04] t1mp, or if u have seen the issue before/know how to resolve [14:05] t1mp, it happens when i 'throw' the view so i have to click-drag and release it then flickers, it doesn't occur if you click-hold and drag the view [14:05] t1mp, or if i use the smooth scroll on my touchpad [14:08] ahayzen_: I'm back. Sorry my PC crashed :s [14:08] t1mp, hah no problem [14:08] I have some broken hardware... waiting for my new laptop to be delivered today :) [14:08] hmm.. I haven't seen that flickering before [14:09] t1mp, the strange thing is popey couldn't replicate [14:09] ahayzen_: is that on desktop? [14:09] t1mp, yeah [14:09] ahayzen_: how did you record it? [14:09] t1mp, the only major difference we could see between our installs is that i have unity8-desktop-session-mir installed [14:09] ahayzen_: I'd say it looks like a driver issue.. but then if you have software to record you wouldn't see it in the recording [14:09] t1mp, gtkrecordmydesktop [14:10] ahayzen_: you could try without unity8-desktop-session-mir, or popey with :) [14:10] t1mp, we are both intel [14:10] I don't think I can test it now. My PC is crashing all the time, I think because of a gpu driver issue [14:11] t1mp, no worries i'll try removing unity8-desktop-session-mir and see wht happens [14:11] loicm: do you have ideas what might cause this flickering in 14.04 on desktop? 16:03:39 < ahayzen_> t1mp, https://docs.google.com/file/d/0B3XynHVKfrvMQTBOVFhMWUpva0U/edit [14:12] t1mp, just gonna restart be back in a second [14:12] looks like really slow redawing of the scene withouth double-buffering in gpu [14:13] t1mp, it still occurs :/ [14:13] looks like really slow redawing of the scene withouth double-buffering in gpu [14:13] ahayzen: which gpu do you have? [14:13] t1mp, $ lspci | grep VGA, 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) [14:14] t1mp, it is an Intel® Core™ i5-3210M [14:14] as far as I know the drivers that we have for intel graphics are quite good === chihchun is now known as chihchun_afk [14:15] t1mp, i haven't seen any other issues only in the music-app but i guess that we have quite a large gridview [14:15] ahayzen: before you were running 13.10 and all was fine? [14:15] t1mp, yep [14:15] interesting [14:15] did you try the 14.04 beta before the release? [14:15] t1mp, no :/ [14:16] hmm [14:16] on 13.10 do you remember which qt version you had? perhaps it was 5.0 and now you have 5.2? [14:16] t1mp, i had been running in KVM but that obviously uses different drivers and was really laggy anyway [14:16] t1mp, yeah i suspect 5.0 i was just running all of the PPA for sdk, coreapps etc [14:17] t1mp, but it is strange how others don't see the same issues [14:17] t1mp, and nothing appears in the console [14:18] About Showdown: deadline was change, so judging period was changed too? [14:19] *was changed [14:20] ahayzen: you could test by using Rectangles instead of UbuntuShapes. If that fixes it then I'd say we have a bug for UbuntuShape with Qt 5.2/trusty [14:21] t1mp, ok i'll try that... i was gonna try creating a mini app with just the gridview etc [14:23] nerochiaro, ping [14:23] nerochiaro, you used to work on mediaplayer-app, who works on it now ? [14:25] t1mp, ok i see no flicker when changing UbuntuShape to Rectangle [14:28] t1mp, ahayzen: mmh, looks like you've just revealed a new bug with the shape on Qt 5.2 [14:28] om26er: i don't now, i think gunther was but he's not working for us anymore. not sure though [14:28] bfiller: ^ do you know ? [14:28] ahayzen: can you report the bug here? https://bugs.launchpad.net/ubuntu-ui-toolkit [14:29] t1mp, yep will do [14:29] thanks [14:29] om26er: no real owner, I'm familiar with it and so is renato [14:29] om26er: if there is a bug assign it to me please [14:30] bfiller, ok, I am testing the ubuntu sdk apps with a touch screen laptop, so mediaplayer wouldn't play what totem is playing just fine [14:30] Error: "Your GStreamer installation is missing a plug-in." [14:30] nerochiaro: https://bugs.launchpad.net/ubuntu/+source/camera-app/+bug/1299073 [14:31] Launchpad bug 1299073 in camera-app (Ubuntu) "[desktop] Video recording is not working" [Critical,Triaged] [14:31] om26er: right, makes sense. it's a codec issue [14:31] om26er: mediaplayer-app uses gstreamer0.10 and totem uses gstreamer1.0 [14:31] bfiller, oh, that might be the case then [14:32] om26er: if you are trying to play an mpeg4 you need ffmpeg codec which is no longer in trusty (: [14:32] om26er: you have to install it here: sudo add-apt-repository ppa:mc3man/trusty-media [14:32] sudo apt-get update [14:32] sudo apt-get install gstreamer0.10-ffmpeg [14:32] w [14:33] bfiller, ok, I'll do that [14:33] bfiller, regarding gallery-app who works on it ? [14:33] I reported bug 1311123 [14:33] om26er: artmello and nerochiaro and myself [14:33] Launchpad bug 1311123 in gallery-app (Ubuntu) "'Configure facebook for sharing' does nothing on the desktop" [Undecided,New] https://launchpad.net/bugs/1311123 [14:34] it should not be there if its not supposed to work [14:34] om26er: ack, that should be disabled for desktop. [14:34] om26er: I'll assign it [14:37] t1mp, https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1311155 [14:37] Launchpad bug 1311155 in Ubuntu UI Toolkit "Flickering occurs when scrolling a GridView with UbuntuShapes" [Undecided,New] [14:38] ahayzen: thanks [14:38] loicm: I assigned you [14:39] t1mp: alright, that's on my plate === chihchun_afk is now known as chihchun [14:39] ahayzen: probably it is helpful to have a simple qml app that can reproduce it, without having to branch the full music-app [14:40] loicm: cool :) [14:40] t1mp, cool i'll have a go in a bit :) [15:20] .oO( why has nobody writtne a raw data GPS sattelite tool yet) [15:21] we dont provide that data do we? [15:35] t1mp, appears to be related to having an Image inside the UbuntuShape within the GridView [15:49] bfiller, video recording does not work on desktop with front cam, well it pretends its recording but does not actually record anything, shouldn't that be disabled ? [15:50] om26er: it works for me, should work [15:50] om26er: this bug is tracking the issue https://bugs.launchpad.net/ubuntu/+source/camera-app/+bug/1299073 [15:50] Launchpad bug 1299073 in camera-app (Ubuntu) "[desktop] Video recording is not working" [Critical,Triaged] [15:51] om26er: you sure there is no .mkv file in ~/Videos? [15:52] bfiller, it actually creates a .ogg file which is 0kb [15:53] om26er: interesting [15:53] om26er: must have something to do with gstreamer configuration [15:54] om26er: please add any info into the bug, nerochiaro_ is going to be looking into this one [15:54] bfiller, does it also require gstream0.10 ? [15:54] OK [15:54] om26er: yes === gatox is now known as gatox_lunch [16:22] ahayzen: that's useful information. [16:22] ahayzen: note that you don't need to have the @30 inside the image source. It is automatically converted from 30 to whatever pixels per grid unit you have when running the app [16:23] t1mp, i've commented on the bug with an example attached [16:23] t1mp, yeah i just quickly put it together aha [16:23] t1mp, i realised something else wasn't needed either i'll patch it up ;) [16:23] ahayzen: it is loic's bug now :) he knows the UbuntuShape best [16:24] every corner of it ? [16:24] :) [16:24] t1mp, hmm taking out the @30 makes it really blurry on the desktop [16:25] perhaps the input image is not really @30 but less? [16:25] hmm... or it is because of the scaling of the image [16:26] t1mp, maybe, i just ripped the stuff out of the music-app and QtCreator suggested to put @30 so i did === gatox_lunch is now known as gatox === bfiller is now known as bfiller_afk [16:56] hi [18:21] #ubuntu-classroom-chat if anyone is interested in juju development === chihchun is now known as chihchun_afk === bfiller_afk is now known as bfiller [20:05] ahayzen, ping [20:05] balloons, pong [20:06] balloons, i see u've been battling autopilot ;) [20:06] ahayzen, hey, trust you had an enjoyable release and perhaps a bit of holiday. I'm curious about what's going on with grilo and music. What is the timeline for the plugin? [20:07] balloons, short hopefully [20:07] ahayzen, I was battling python3.. but it was me being stupid as usual. I solved popey's annoying bug about killing his music library [20:07] balloons, i'm running the silo with the media-hub at the moment (which will hopefully land soon) and i think Victor started looking in mediascanner-2.0 [20:07] ahayzen, what are we waiting on exactly? We can get tests running on real devices now, but we need the click package to either include the plugin, or for music to not need it [20:08] ahayzen, ok so do you have an MP tracking the changes, or a branch? [20:08] balloons, i'm just looking at this to remind myself https://code.launchpad.net/~music-app-dev/music-app/use-mediascanner2.0/+merge/214140 [20:09] balloons, i guess now i'm on trusty it will be easier to test/develop against :) [20:09] ahayzen, perfect.. I'll sub to that proposal and watch [20:09] balloons, i need to catch up with Victor to see how far he has got [20:10] balloons, i've been testing the NonBlockingSwapTesting and media-hub lately [20:11] ahayzen, thanks for the update. It's ramping up time again after release [20:12] balloons, it is gonna be awesome when it all lands (hopefully pretty soon :) ) === jhodapp is now known as jhodapp|afk === salem_ is now known as _salem