/srv/irclogs.ubuntu.com/2015/07/20/#ubuntu-app-devel.txt

akiva-thinkpadello all01:03
ahoneybunhey akiva-thinkpad01:07
akiva-thinkpadahoneybun: o/01:08
akiva-thinkpadwhat you working on these days?01:08
ahoneybunnothing atm01:10
ahoneybunwell getting a talk ready for next month01:10
ahoneybunand my trip to spain01:10
ahoneybun:)01:10
ahoneybunakiva-thinkpad: http://usefoss.com/index.php/2015/07/19/my-first-ubuntu-hour/01:10
akiva-thinkpaddoughnuts!01:12
akiva-thinkpadthis sounds awesome01:12
ahoneybunyes!01:13
akiva-thinkpadi gave my first talk a few months back at my local lug, it went down great01:14
akiva-thinkpadwhat will your talk be on?01:14
ahoneybunsometime in aug01:14
ahoneybunoh01:15
ahoneybunUbuntu Touch01:15
akiva-thinkpadsweet01:15
akiva-thinkpadif you record it, post it on youtube01:15
ahoneybunI have not seen a single talk recored at thsee meetings01:15
akiva-thinkpadahoneybun: record it on your phone :P01:17
ahoneybunI don't like my voice lol01:17
akiva-thinkpadahoneybun: heh, I was in that boat for awhile.01:18
akiva-thinkpadI find when I talk to groups, my voice deepens, but when I talk to individuals, it rises01:18
akiva-thinkpadweird01:18
ahoneybunyea01:19
ahoneybungoing to get something together for Global Jam01:20
akiva-thinkpadahoneybun: whats going on with the global jam?01:23
ahoneybundo you know about the Global Jam?01:23
akiva-thinkpadahoneybun: not really01:23
ahoneybunakiva-thinkpad: https://wiki.ubuntu.com/UbuntuGlobalJam01:24
akiva-thinkpadtldr?01:24
akiva-thinkpadnvm hmmmm should maybe make an event01:24
ahoneybunI'm thinking of doing a Bug Triage01:25
ahoneybunbut with LibreOffice01:25
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
kbroulikwhen trying to connect to the emulator using 15.04 sdk it times out with an error https://paste.kde.org/pjrfgorvz any idea?09:52
=== _salem is now known as salem_
=== javiercrowsoft1 is now known as javiercrowsoft
=== chriadam is now known as chriadam|away
=== chihchun is now known as chihchun_afk
=== mihir_ is now known as mihir
popey  /13114:50
popeybah14:50
faenilpopey: irssi fail?14:50
popeykeyboard fail14:51
faenilhappens to the best :)14:51
didrocks… and to popey ;)14:51
popeyhaha14:51
* didrocks hugs popey14:51
* popey hugs didrocks 14:51
* faenil forever alone14:52
ahoneybunhey popey and all14:52
popeyyo yo yo14:53
ahoneybun4 more days14:54
popeyuntil?14:55
ahoneybunAkademy!14:55
popeyahhh14:57
tathhuyololo14:57
balloonsahoneybun, wahoo! have fun!15:04
ahoneybunthanks balloons15:04
=== JamesTai1 is now known as JamesTait
tim`is there a way to force the MX4 to stay in A17 mode?15:19
tim`idk if i am running on big or little15:19
tim`:{15:19
ogra_why would you care ?15:19
tim`want to benchmark performance15:19
ogra_(and no, there isnt, thats managed on a very low level)15:19
ogra_(there is some android binary inside the container that manages it)15:20
tim`my meaurements had it running slower than an Odroid XU and XU315:21
ogra_thats a good thing :)15:21
tim`on http://stats.gnuradio.org15:21
tim`well -- its good if you like doing slow signal processing15:21
ogra_you only want it to scale up if there is a request from the system to scale up ... i.e. if a UI app requests more power15:22
tim`so -- basically, i want to request more power15:22
tim`while running the benchmark15:22
ogra_just start a kernel compile in parallel ?15:22
ogra_:)15:22
SturmFluttim`: This is a MediaTek chip, not an Exynos, and it is not actively cooled. Why should it be faster than an Odroid?15:22
tim`SturmFlut: no reason, i just assumed it might be15:23
tim`A17 > A15 ?15:23
tim`lol15:23
SturmFluttim`: Without cooling? Unlikely.15:23
tim`ok, well - just asking the question15:24
tim`to make sure i am getting fair results15:24
SturmFluttim`: The MX4 has to throttle back quite soon, the Odroids don't. Also there's not much of a performance difference between the A15 and A17. So the MX4 has to be slower.15:25
tim`it's clocked a little bit lower15:26
ogra_tim`, also, the guys working on the android layer of the mx4 are all in china and rarely seen on IRC ... if you want details about the device and the android layer i supposed a mail to the ML is better to get answers15:26
ogra_(you can look for alextu in #ubuntu-touch but due to the TZ difference he is hard to catch)15:27
tim`hrmm cool thx15:32
=== timp is now known as t1mp
DF_how do i do it for webapps so that they dont open browser when you click on the link??17:14
DF_some one here??17:21
nemoI'm here, but no idea.17:26
DF_ok ty nemo17:27
balloonsDF_, use the template17:31
balloonsit even gives you cool bottom edge goodness17:32
balloonsalso checkout https://developer.ubuntu.com/en/web/tutorials/web-app-tutorial/ for more info. you have to provide the webapp container instructions17:33
nemomcphail: hey. any time to fiddle w/ HW? ☺17:34
DF_ballons17:38
DF_with template??17:38
DF_thats what im seeing right now17:39
DF_but i just want the app in the app file not to open the browser when you click on a link17:39
mcphailnemo: I'm not at home just now - won't be back until next Tuesday. Would like to have a look then :)17:40
DF_MSG ballooons: are you talking about ora's template??17:43
DF_ogra*17:48
balloonsrpadovani, you about?17:52
balloonsohh hey popey btw, ahayzen was wanting highlight notice in the topic17:53
=== popey changed the topic of #ubuntu-app-devel to: http://developer.ubuntu.com | App development on Ubuntu: how to do it & how to make it better | Make scopes! (and apps) | --allow-untrusted | Use keyword "appdevs" to highlight developers if they're around.
popey:D17:53
popeydone17:53
ahayzen\o/17:53
ahayzenthanks popey17:53
rpadovaniballoons, o/17:53
balloonsahayzen, you wanted info on how to run tests?17:53
ahayzenballoons, i did :-)17:54
balloonsFrom https://developer.ubuntu.com/en/start/quality/, https://developer.ubuntu.com/en/start/platform/guides/running-autopilot-tests/17:54
* ahayzen trying to get weather-app-reboot going17:54
balloonsdo let me know if things need more info, etc17:54
balloonsthat should cover everything :-)17:54
balloonsrpadovani, so I'm trying to figure out a cmake error when building calculator17:55
balloonsrpadovani, here's the log: http://paste.ubuntu.com/11910338/17:55
balloonsThis is from the new jenkins jobs17:55
balloonsthe install destination for ubuntu-calculator-app.png is specified as file(INSTALL DESTINATION "//share/qml"17:57
balloonswhich is confusing for me :-)17:57
rpadovaniballoons, I can indeed reproduce it with click-buddy, but not only compiling in the normal way17:58
rpadovaniI'll take a look, thanks for pointing out17:58
balloonsawesome, ty :-)17:59
* balloons wasn't expecting a generous offer of fixing it, but I'll take it!17:59
rpadovaniballoons, until you ask me to write tests, I'm happy :-P18:01
ahayzenballoons, so that command the docs say to run wasn't working for me when i tried it yesterday...18:01
* ahayzen tries again18:02
balloonsahayzen, ok, I'm happy to both troubleshoot and update the docs based on our findings18:02
ahayzenhaha let me double check18:02
ahayzenballoons, if i supply the -p <password> i get "adt-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds..." ... but if i don't it seems to be attempting todo things18:07
ahayzenooo its managed to start the app! but getting loads of warnings as it couldn't sudo things and is getting denials18:09
ahayzenbut i can see my mocking has worked :-D18:09
ahayzenballoons, this is the MP i'm trying to test on my device https://code.launchpad.net/~ahayzen/ubuntu-weather-app/reboot-ap-create-fake-env/+merge/265191 and this is the WIP readme we are documenting the commands with https://code.launchpad.net/~vthompson/ubuntu-weather-app/reboot-ap-readme/+merge/26522118:13
balloonsahayzen, so what are you concluding then?18:14
ahayzenballoons, -p causes adt-run not to work... meaning that i cannot get a full test run...as it gets blocked my apparmor18:14
balloonsahayzen, I basically commented to say the readme's from clock app have been updated18:15
ahayzenbut i can at least see that my mocking is working (which is what this MP is doing)...but the next MP will be adding tests18:15
balloonsyou could copy those again18:15
ahayzencool, do you have any ideas why i get that error?18:15
ahayzeni got it before lol18:15
balloonsahayzen, so the ssh connection fails if you supply a password eh?18:18
ahayzenyup18:18
balloonsand the password is correct of course? is the device unlocked?18:18
ahayzenmagic18:18
ahayzenyes and yes18:18
balloonsahayzen, what version of autopkgtest?18:18
ahayzenerr vivid18:18
balloonslatest from sid?18:19
ahayzen"Version: 3.13"18:19
balloonshttps://packages.debian.org/sid/all/autopkgtest/download18:19
balloonsI wonder if I should make that in bigger / brighter letters.. download the newest version!18:20
ahayzenahhh maybe this is why and i think this is what we did in malta/dc to get it working18:20
rpadovaniballoons, no clue what's going on atm - dinner time, I hope to find a fix tonight18:20
ahayzenballoons, ok i gotta go shops etc, i'll try it when i'm back thanks :-D18:20
balloonsI don't think it will magically fix anything, but we'll see18:21
balloonseither way, we can blame pitti and get it checked out18:21
ahayzen\o/ lol18:21
DF_ballons18:21
balloonsrpadovani, ack, ty. Enjoy!18:21
DF_balloons*18:21
balloonsor baloons, depending on your lang of choice18:22
balloonsor luftballon18:22
DF_i've used the great template, but still it's opening the web browser when i click on a link18:22
balloonsDF_, the tutorial would do a better job of explaining than me, but afaik, you have to tell the container what links should stay inside and what can go to the browser18:23
balloonsyou have to whitelist some domains. I'm thinking there is also a magical switch to force everything to stay inside, but I don't remember offhand18:23
DF_ok, i'll watch again18:23
DF_thanks balloons18:24
balloonsDF_, if nothing else, I guess I can pull my own webapp and look at the switches, he18:24
balloonsone sec18:24
mcphailgreyback: for an example of the problem have a look at http://themcphails.uk/pong.njmcphail_0.1_armhf.click - the x and y is offset and width and height are wrong. Before OTA5 (and rotation) it displayed "properly" but in portrait orientation.18:26
DF_ok ty balloons18:27
balloonsDF_, ahh, I just used --webappUrlPatterns=18:28
DF_wai where??18:28
DF_i have this18:29
DF_var webappUrlPattern = "http://www.m.abola.pt/*"18:29
balloonsMy full exec line is Exec=webapp-container  --webappUrlPatterns=https?://www.cardsagainstoriginality.com/* http://www.cardsagainstoriginality.com/18:30
DF_but did you use the template of ogra??18:31
mcphailgreyback: the other think to look at is SturmFlut's SDL template app. If you rotate the screen the display doesn't dynamically resize, but I _think_ it does if you resize a desktop window (can't check that just now)18:32
greybackmcphail: noted. I suspect sdl not dealing with surface resizing correctly.18:33
mcphailgreyback: I suspect you're right18:34
balloonsDF_, no, my webapp is many months old, and I haven't updated it18:35
balloonsbut I was pointing out that it contains properly18:35
DF_i try it with my app and still nothing18:36
balloonsyou can see the full options webapp-container --help18:36
balloonsDF_, get rid of "18:37
DF_ow maybey it's that18:37
DF_i don't use the ""18:37
balloonsDF_, can you paste your full .desktop file?18:42
DF_sure18:42
DF_http://pastebin.ubuntu.com/11910563/18:43
DF_even when i don't use ogra's template it does the same thing18:43
balloonsDF_, here's mine for comparison: http://paste.ubuntu.com/11910568/18:43
DF_http://pastebin.ubuntu.com/11910571/18:44
balloonslooks good.. perhaps simplify to Exec=webapp-container --webappUrlPatterns=https?://m.Abola.pt/*  http://m.Abola.pt18:45
balloonsif it's not working; see if that works18:45
DF_i changed it to this18:46
popeyx6818:47
DF_http://pastebin.ubuntu.com/11910586/18:47
popeybah18:47
DF_bah this is kind of shitty18:49
SturmFlutgreyback, mcphail: According to bschaefer SDL does not yet listen for all the window change events it gets from Mir18:51
mcphailSturmFlut: aah. Good to know bschaefer is on it18:52
DF__allons do you think i should send an email to the list of ubuntu phone developers??18:54
DF__balloons*18:54
greybackSturmFlut: thanks!18:54
SturmFlutmcphail: Also there seems to be a problem where the windows aren't created with their correct size and resized later. For example if you're in portrait mode and start an app that forces landscape, it is initialized at portrait size and then suddenly resizes to landscape.18:54
balloonsDF__, does it work?18:55
mcphailSturmFlut: yes - I think that is what is going wrong with my simple app18:55
DF__nope18:56
DF__app begins, but when i click on a link or page of the site he opens the browser18:56
DF__to show it there18:56
popeyso the url patterns is wrong18:56
popeyprobably the url is getting changed by the site and you haven't got the changed url in your urlpatterns18:57
DF__maybey18:57
DF__because the begin page opens well18:57
DF__the problem is when i try to open one of the site pages and he then send me to the browser18:58
SturmFlutDF__: The URL patterns are case sensitive18:59
SturmFlutDF__: webapp-container --enable-back-forward "--webappUrlPatterns=https?://m.abola.pt/*" http://m.abola.pt18:59
DF__StrumFlut19:00
DF__i dont have that in ""19:00
SturmFlutDF__: You don't have to, I just tried something19:00
DF__ow19:01
DF__ok19:01
DF__but still using the ogra template and normal19:01
DF__is going to the samething19:01
DF__only shows normaly the site19:02
DF__and then when i click on a page he opens the browser to show it there19:02
DF__and more it happend to me in 2 sites19:04
DF__this is the second one19:04
DF__now it works!!!!19:05
balloonsahayzen, fyi, I get the same error on my device :-)19:06
DF__only in the ogra it doesnt work19:06
balloonsw8, we get to blame ogra_ ?19:06
DF__nope19:08
DF__he did a good job19:08
DF__but i used the same url as Strum19:08
DF__send me and i past it on the pasrt to weburl19:09
DF__and it didnt work19:09
DF__balloons he did a great job really great job19:10
DF__strange but it now works on ogra to...19:11
DF__really strange19:11
rpadovaniballoons, but the issue is only with calculator?19:15
balloonsrpadovani, for cmake builds? yea, only calculator has that problem amongst the core apps that I saw19:15
rpadovanimhhhh19:15
balloonsahayzen, problem solved.. it's a syntax issue. Updating the page19:17
balloonsahayzen, note the -- in front of -p: adt-run --click com.ubuntu.calculator --- ssh -s adb -- -p 000019:19
balloonsrpadovani, so where does the png file need to go? Can we list an absolute path?19:22
rpadovaniballoons, I think I fixed it, I'm pushing a branch19:22
rpadovaniballoons, https://code.launchpad.net/~rpadovani/ubuntu-calculator-app/fix-new-jenkins-build/+merge/26531319:25
balloonsrpadovani, awesome, I'll try building19:26
balloonsrpadovani, built just fine :-)19:30
rpadovani\o/19:30
balloonsthanks rpadovani19:34
rpadovanipopey, take a look to bug 1476374 please19:56
ubot5bug 1476374 in Ubuntu Calculator App "[Calculator][Proposal]Remove partial result feature" [Undecided,Triaged] https://launchpad.net/bugs/147637419:56
=== karni is now known as karni-afk
rpadovanisooo, how can I force the screen to be on :-)20:06
rpadovani?20:06
balloonsrpadovani, force screen to be on?20:17
rpadovaniballoons, for a game, I don't want users have to touch the screen to have keep it on20:22
=== karni-afk is now known as karni
popeyrpadovani: import QtSystemInfo 5.0 and ScreenSaver { screensaverEnabled: false }20:45
popeyrpadovani: but you shouldn't just do that, you should check things like if the game is being played20:45
popeyi.e. don't do it on the title screen20:45
rpadovanipopey, nice suggestion, thanks!20:46
rpadovanipopey, doesn't seem to work - does it require any special policy?21:05
popeyi dont think so, mzanetti told me about it :)21:08
kalikianat1mp: https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/back/+merge/26483922:33
t1mpkalikiana: great idea. Done :)22:41
t1mpkalikiana: hold on, I tweak it a bit.22:42
kalikiananice22:43
kalikianaI'll wait22:43
kalikianawas actually in the middle of grabbing food :-D22:43
t1mpdone22:43
t1mpkalikiana: enjoy your meal :)22:45
* t1mp off22:54
=== salem_ is now known as _salem

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