[00:57] <newbie-13442> hi!
[00:58] <newbie-13442> I'm trying to write my first web-app. For this I need to modify the user agent. but --user-agent-string="test" does not seem to work. Any suggestions?
[01:00] <newbie-13442> Plus I would like to test it on my Ubuntu Phone (the bq e4.5 thing). But every time I connect it to my pc I get: Checking installed emulator package. ii ubuntu-emulator 0.16-0~136~ubuntu14.04.1  Search configured emulator instances. Detecting device..; And then it vanishes again
[01:03] <newbie-13442> Anyone online?
[01:11] <newbie-13442> I'm trying to write my first web-app. For this I need to modify the user agent. but --user-agent-string="test" does not seem to work. Any suggestions?
[01:12] <ahoneybun> hey newbie-13442
[01:12] <jplatte> newbie-13442: There are people online; I am one of them though this is the first time for me writing something here
[01:13] <newbie-13442> Okay, thanks for the feedback :)
[01:13] <jplatte> If you're not getting help immediately, I'd recommend you to get yourself an IRC bouncer so you can read things that are written here while you're away, so you can get answers without actually being online
[01:13] <ahoneybun> newbie-13442: if you have a device you don't need the emulator really
[01:13]  * ahoneybun needs one
[01:13] <jplatte> Though I guess you'll have to have your own virtual server for that
[01:14] <jplatte> Hm, why would one need the emulator at all, you can build apps for x86 / x86_64 ...
[01:15] <jplatte> In my Ubuntu VM, the 'Computer' build target or whatever it's called was there from the beginning
[01:15] <ahoneybun> I've never had it built for the desktop
[01:16] <jplatte> why not?
[01:16] <ahoneybun> jplatte: I use the the computer icon
[01:16] <ahoneybun> hard to explain
[01:16] <ahoneybun> deployed it local
[01:16] <ahoneybun> but never built it
[01:17] <jplatte> Uhm, wat
[01:17] <jplatte> It has to be built before you can 'deploy' it. It's just done automatically
[01:17] <ahoneybun> deploying does not really build
[01:17] <ahoneybun> you can't run it outside of the sdk anyway
[01:17] <jplatte> I'm pretty sure you can
[01:18] <jplatte> Though I wouldn't want to, anyway
[01:20] <newbie-13442> Locally it runs. Still I would like to test it on my phone. But i could not find any instructions online how to configure the use of a mobile
[01:27] <ahoneybun> newbie-13443: same person
[01:27] <ahoneybun> ?
[01:32] <newbie-13443> yes, just switched browser
[01:37] <ahoneybun> newbie-13443: I'm looking for the docs
[01:53] <newbie-13443> editing the /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Extras/Browser/ua-overrides-desktop.js file and adding rules for the websites worked. Locally. For now. Not a nice solution though.
[01:56] <newbie-13443> editing the /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Extras/Browser/ua-overrides-desktop.js file and adding rules for the websites worked. Locally. For now. Not a nice solution though.
[01:57] <newbie-13443> @ahoneycutt
[01:57] <newbie-13443> remains the problem, that I don't get the app onto my device
[01:57] <ahoneybun> newbie-13443: what side are you making a web app for?
[01:58] <ahoneybun> *website
[07:57] <mardy> Mirv: hi! I forgot to follow-up: indeed copying the qmake-cross + mkspecs works, I could build my app :-)
[08:12] <Mirv> mardy: wow, not that I didn't believe it'd work, but I'm positively surprised anyway ;)
[08:13] <Mirv> mardy: my main concern was that the qmake could say that it wants qt 5.3.2 instead of rtm's 5.3.0, but luckily that wasn't the case then
[08:22] <davidcalle> Morning all o/
[08:26] <dholbach> good morning
[08:47] <justCarakas> morning :)
[09:54] <ogra_> against what package do i file sdk bugs ?
[09:54] <ogra_> (do we have some generic product ?)
[10:08]  * ogra_ looks on developer.u.c to see if there is any bug guidance for sdk issues
[10:10] <ogra_> doesnt seem like :(
[10:11] <Mirv> ogra_: qtcreator-plugin-ubuntu if IDE and ubuntu-ui-toolkit if UITK
[10:12] <Mirv> no generic product otherwise
[10:32] <ogra_> Mirv, thanks !
[10:32] <ogra_> the docs should really provide some links for that
[10:32] <ogra_> davidcalle, ^^^
[10:33] <davidcalle> ogra_, +1
[10:39] <dholbach> balloons, it'd be great if you could review/test https://code.launchpad.net/~dholbach/help-app/1434415/+merge/253844
[10:39]  * ogra_ files bug 1435778
[10:47] <ogra_> kalikiana, ^^^ this is the issue we talked about yesterday btw ...
[10:48] <ogra_> (i tried an alternative method too, that fails the same way)
[10:59] <zsombi> ogra_: kalikiana: from the logs I do see the app name being set to foo-bar.ogra
[10:59] <zsombi> ogra_: kalikiana: however the organization name is still QtProject...
[11:00] <ogra_> right
[11:00] <ogra_> something uses the empty "applicationName" before using the imports
[11:00] <ogra_> and seems to fall back to QtProject
[11:01] <dholbach> dpm, balloons: there's also https://code.launchpad.net/~dholbach/help-app/1435783/+merge/253952 if you have a bit of time
[11:01] <zsombi> ogra_: actually the applicationName when changed also alters the organizationName, so seems that is not set at all...
[11:02] <kalikiana> "~/.cache/QtProject/foo-bar.ogra/Cache" is clearly using the correct name in some manner
[11:02] <kalikiana> but it's odd that the other values don't match
[11:03] <kalikiana> it might be whatever uses this Cache folder is using APP_ID
[11:05] <zsombi> kalikiana: shouldn't the QtProject be missing as we set the org name to an invalid string?
[11:09] <kalikiana> zsombi: that's why I said it might be something using APP_ID directly
[11:09] <zsombi> kalikiana: ah, yea, sorry
[11:10] <dpm> dholbach, what does make -s do?
[11:10] <dpm> re: your merge proposal
[11:10] <zsombi> kalikiana: afaik we don't have our own launcher, do we?
[11:10] <zsombi> kalikiana: meaning we still use qmlscene
[11:11] <dholbach> dpm, "quiet"
[11:11] <dholbach> it's irrelevant
[11:11] <dholbach> or "silent" rather
[11:11] <dpm> ok, thanks
[11:11] <kalikiana> zsombi: outside of testing, yes
[11:17] <mcphail> dholbach: I was using your excellent tutorial on producing .debs for a PPA. You use bzr-specific commands. I prefer git and note there are debian-package git extensions. Have you used them? Do they work as well as bzr?
[11:31] <ogra_> zsombi, this app definitely runs "qmlscene $@ Main.qml"
[11:32] <ogra_> the code without the global var stuff (and still quite messy, its just a prototype yet) is at http://bazaar.launchpad.net/~ogra/junk/alternate-webapp-container/files/head:/
[11:55] <LangeOortjes> can I get the entire document from a delegate of a ListView that has a U1db.Database as its model? I can get to docId and contents individually, but I'd like to pass on the entire Document to a method
[12:11] <dpm> popey, dholbach, mhall119, I just noticed this: http://ubports.com/
[12:11] <dpm> davidcalle, balloons ^
[12:12] <dpm> it seems the guy who is working on the oneplus one port created it
[12:12] <dpm> they've got a nice feature where one can request for a port, and see which ones are the most popular
[12:13] <dpm> perhaps we could work with them to keep the list of devices?
[12:19] <nik90> zsombi: ping
[12:20] <zsombi> nik90: meeting, will ping U later
[12:22] <davidcalle> dpm, that's nice. Maybe I could make a list of recently enabled devices and open a thread on their forum? As a first step to build a common list and maintain it together?
[12:24] <nik90> zsombi: ok
[12:24] <dpm> davidcalle, could be a good idea
[12:37] <dholbach> dpm, nice :)
[12:44] <dholbach> and there's https://code.launchpad.net/~dholbach/help-app/1435772/+merge/253954 too
[12:44] <dholbach> ^ balloons
[12:52] <balloons> ack dholbach
[12:53] <dholbach> thanks :)
[13:02] <charles> renatu, ping
[13:04] <dholbach> balloons, did you see the mail I sent? I'm not quite sure what we can do to fix the jenkins builds...
[13:04] <renatu> charles, ping
[13:04] <dholbach> both pyflakes/pyflakes3 and the missing PPA looks like stuff not in the control of lp:help-app
[13:05] <balloons> dholbach, I looked yesterday at the build issues and thought it was on our end, but we can fix if not
[13:05] <balloons> it should be using the coreapps ppa for pelican
[13:05] <balloons> for pyflakes, we can change it to pyflakes3, it's not running pyflakes3
[13:06] <dholbach> ok... so we need to move away from https://code.launchpad.net/~ubuntu-touch-coreapps-drivers/+archive/ubuntu/collection?
[13:06] <balloons> where is pelican?
[13:06] <balloons> it uses https://launchpad.net/~ubuntu-touch-coreapps-drivers/+archive/ubuntu/daily
[13:06] <dholbach> ok, I'll upload pelican to that one then
[13:08] <dholbach> balloons, shall I also direct the daily build over to ppa:ubuntutouch-coreapps-drivers/daily?
[13:09] <dholbach> or shall I stop the daily build altogether?
[13:09] <dholbach> pelican is now building in the right ppa: https://code.launchpad.net/~ubuntu-touch-coreapps-drivers/+archive/ubuntu/daily/+build/7105050
[13:09] <balloons> dholbach, we can swap the ppa ci uses if you wish, but the other core apps use that ppa, so it makes more sense to swap to it I think
[13:10] <balloons> so yes, add builds to it
[13:10] <dholbach> no, I'll move everything
[13:10] <dholbach> cool
[13:12] <dholbach> https://code.launchpad.net/~dholbach/help-app/1434415/+merge/253844 will need to be landed to make the build pass on utopic
[13:12] <dholbach> (separate from the pelican requirement)
[13:15] <dholbach> now that I merged from trunk the diff should be smaller as well
[13:15] <dholbach> all in all we also have more tests in the pipe now :)
[13:32] <balloons> working on getting pyflakes changed to pyflakes3
[13:34] <dholbach> where is that defined?
[13:38] <balloons> in the jenkins job. Should be done in just a sec and we can re-run
[13:42] <dholbach> is that in a branch somewhere?
[13:43] <dholbach> or in a jenkins ui somewhere?
[13:43] <balloons> the latter
[13:43] <dholbach> ok
[13:43] <balloons> well.. actually it might be in the branch config
[13:45] <dholbach> let me know when you found it - I'd be interested to learn more about that bit as well :)
[13:46] <balloons> well I've simply asked CI to swap it. At one point there jobs read from a config we could make an mp against in bzr, but they still have the power
[13:46] <balloons> meaning, they could just change the value in jenkins anyway
[13:47] <dholbach> ok
[13:47] <dholbach> davidcalle, popey, mhall119, dpm: who's up for the Q&A today?
[13:48] <dpm> dholbach, popey, would you be up for it? Mike and I have a call at that time
[13:48] <dholbach> ok
[13:49] <dholbach> dpm, is it in 1h10m or 2h10m?
[13:49] <dpm> dholbach, in 2h10, despite what our calendar says
[13:50] <balloons> :-) DST <3
[13:50] <dholbach> cool
[13:52] <popey> dpm: I'm up for it
[13:52] <dpm> great, we have a plan, then
[13:52] <popey> #blamemhall119
[13:52] <popey> its at the right time in the UOA calendar
[13:56] <balloons> dholbach, why do you suspect we need pyflakes3 though?
[13:57]  * balloons is curious now and wondering as pyflakes2 seems to work fine locally
[13:57] <dholbach> mh?
[13:57] <dholbach> we use python3
[13:57] <balloons> sure.. the weird part is, so do all the other core apps and we've not had an issue
[13:58] <dholbach> daniel@daydream:~/dev/apps/help$ pyflakes internals/*.py internals/tests/*.py internals/translations/*.py
[13:58] <dholbach> internals/translations/build.py:314: undefined name 'NotADirectoryError'
[13:58] <dholbach> daniel@daydream:~/dev/apps/help$ pyflakes3 internals/*.py internals/tests/*.py internals/translations/*.py
[13:58] <dholbach> daniel@daydream:~/dev/apps/help$
[13:59] <dholbach> NotADirectoryError is builtin in python3
[14:01] <dholbach> maybe the other core apps only use features and classes which exist in both (and are imported from the same modules)
[14:01] <balloons> some use only py3 code and modules actually
[14:02] <balloons> but anyways, we'll use py3
[14:02] <dholbach> right
[14:03] <dholbach> I was just saying that they might be using code where the written code imports modules and classes which are the same on python2 and python3
[14:07] <zzarr> hello! I can't get the webview to work, I've copy pasted the example in the documentation
[14:22] <zsombi> nik90: I'm back, sorry, it took a bit more than expected
[14:24] <nik90> zsombi: hey np...I figured out the source of the clock app crasher and while trying to fix it I ran into some stuff that I wasn't sure about
[14:24] <nik90> zsombi: so it turns out that clock app is crashign due to the bottom edge which uses the get() function to find out the next closest active alarm
[14:25] <nik90> zsombi: and it checks every minute (which sucks)
[14:25] <zsombi> nik90: so it crashes when it calls the get()?
[14:25] <nik90> zsombi: yes
[14:25] <zsombi> hmm!!!
[14:26] <nik90> zsombi: and that's why the clock app pretty much crashes randomly at different places...it doesnt matter if the user is in the settings page, or the add world city page..it still crashes because of the bottom edge
[14:27] <nik90> zsombi: so I figured that I would use the signals provided by alarm model which include dataChanged, countChanged and modelReset to update the bottom edge
[14:27] <zsombi> nik90: if teh crash comes due to the get(), then we are in trouble...
[14:27] <zsombi> nik90: yes, you coudl use that, however this get is a crazy dude
[14:29] <nik90> zsombi: the thing is I need to use the get() to iterate through the alarm list and figure out the most recent active alarm
[14:29] <nik90> I can't use any other method
[14:29] <nik90> zsombi: and guess what, to do that I am using the same method that caused the crash in the edit alarm page
[14:29] <nik90> where I passed the alarm mode
[14:29] <nik90> s/mode/model
[14:30] <nik90> zsombi: so I figured I would better solve this crash by using the signals to retrieve the recent alarm and pass the *alarm date* alone which can then be used to display "next alarm in 3h 40m" etc..
[14:31] <zsombi> nik90: then we are still having issues in the model...
[14:31] <nik90> zsombi: there by no more alarm model passing (which is the cause of the crash)
[14:31] <zsombi> nik90: get() should never crash
[14:32] <nik90> zsombi: could get() perhaps be crashing when it is called before the alarm model is fully initiated?
[14:32] <nik90> zsombi: so in essence it is trying to read a null state or something?
[14:33] <zsombi> nik90: nope, it's a different thing then... last time I saw some QHash hickup, it does not run in a separate thread, so there shouldn't be any fancy problems like that
[14:33] <popey> pmcgowan: ^
[14:34] <zsombi> nik90: do you have the bug for the app for this?
[14:34] <zsombi> nik90: let's assign toolkit for it as well
[14:35] <nik90> zsombi: yeah, 1 sec.. there are 2 bugs reported
[14:35] <zsombi> nik90: one is enough :D
[14:35] <nik90> zsombi: bug 1431579 and bug 1434504
[14:36] <pmcgowan> zsombi, ok will start tracking that as a blocker
[14:36] <zsombi> pmcgowan: right
[14:39] <zsombi> nik90: does the New Alarm bug also call AlarmModel.get()?
[14:39] <zsombi> nik90: or is the bottom-egde swipe which tips in there as well?
[14:40] <nik90> zsombi: well the code bottomEdgeTitle: alarmUtils.set_bottom_edge_title(alarmModel, currentTime) is called every minute which in turns calls the alarm model get function
[14:41] <zsombi> nik90: ok, so if you comment that code out, does the New Alarm crash still?
[14:41] <nik90> http://bazaar.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/utopic-3.0/view/head:/app/alarm/AlarmUtils.qml#L137
[14:41] <nik90> zsombi: nope it doesn't crash anymore
[14:41] <zsombi> nik90: excellent, so the get() is our monster
[14:42] <nik90> yeah definitely
[14:43] <zsombi> nik90: so smells like all teh crashes are having teh same root cause
[14:44] <popey> nik90: we have 3 bugs for this it seems - shall we mark them dupes and add a task for uitk?
[14:44] <popey> bug 1422693 bug 1429273 bug 1434504
[14:44] <zsombi> nik90: I just need a good minimalistic QML file to repro this
[14:45] <nik90> zsombi: I will try to create a minimalistic project for that
[14:45] <nik90> popey: bug 1422693 is fixed and no longer relevant, no?
[14:46] <zsombi> nik90: no project, a QML file... :)
[14:46] <popey> ah right
[14:46] <popey> the other two though.
[14:46] <nik90> zsombi: well since it happens only with pagestack and passing alarm model around, I need multiple qml files ;P
[14:46]  * popey dupes
[14:46] <nik90> popey: yes, they can be marked dupes
[14:47] <zsombi> nik90: perhaps a component loaded dynamically would also do teh job
[14:47] <nik90> zsombi: ack
[14:47] <popey> ok, lets use bug 1429273 - task added pmcgowan
[14:48] <pmcgowan> popey, thanks
[14:49] <zsombi> popey: haha, I added one to https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1431579
[14:50] <zsombi> popey: that is also a dupe of teh same toolkit issue
[14:50] <popey> also marked dupe
[15:00] <zsombi> nik90: interesting! seems get() sometimes returns null, so if you dereference a null pointer then crash can happen
[15:06] <zsombi> nik90: so beware of the null result get() may return
[15:13] <nik90> zsombi: oh..so if I do,  var currentAlarm = alarmModel.get(i).. .I need to check the validity of currentAlarm by if(currentAlarm) ?
[15:31] <zsombi> nik90: this is crazy! I made a simple test with a model, initTestCase generates 10 alarms and 10 test alarms, when I start to remove the test alarms in clearTestCase, I get null atth e3rd test alarm removal
[15:32] <zsombi> nik90: the alarmList[0] sais the Alarm is a valid pointer, and that pointer is passed across the whole chain, fromadapter to model, and by the time arrives in QML is null... wth?
[15:32] <nik90> hmmm
[15:35] <zsombi> nik90: QDEBUG : components::AlarmModelStressTest::cleanupTestCase() (ucalarmmodel.cpp:217, UCAlarmModel::get) - get 4 UCAlarm(0x1a37350) "testAlarm_4"
[15:35] <zsombi> QDEBUG : components::AlarmModelStressTest::cleanupTestCase() (file:///home/zsombor/CloudStation/projects/alarms/alarmmodel-get-crash/tests/unit_x11/tst_components/tst_stress_alarmmodel.qml:73, clearTestAlarms) - null
[15:35] <zsombi> nik90: the first line is the trace from teh AlarmModel::get() just before returns the alarm
[15:35] <zsombi> nik90: the second trace is from teh QML right after the get() returns
[15:35] <zsombi> nik90: and that oen is null
[15:40] <nik90> zsombi: it fails while accessing from the qml side..have you noticed this before (in any other projects) ?
[15:41] <zsombi> nik90: not really... I don't recall any such weirdness
[15:43] <zsombi> nik90: and the thing is that it is not teh first one which fails...
[15:43] <zsombi> nik90: it si random...
[15:43] <zsombi> is
[15:46] <nik90> yeah the crash happens at different times as well for me.. sometimes straight on app startupp .. sometimes while navigating to another page
[15:46] <nik90> and surprise surprise..it doesn't crash when there are 0 alarms
[15:54] <zsombi> nik90: hmm... I just added a mutex into the AlarmList.... and seem sdelete is the guilty one
[15:54] <zsombi> seems
[15:56] <nik90> zsombi: but I don't call delete though during my crashes
[15:56] <zsombi> nik90: right.... and you still get NULL pointer
[15:56] <zsombi> which is weird, you shouldn't
[15:57] <zsombi> nik90: or you may, if the given index is out of model.count
[15:57] <zsombi> nik90: but even then you;d get a crash...
[15:57] <nik90> zsombi: well I do check (!alarmModel || !alarmModel.count)
[15:57] <nik90> before trying to access the alarm model
[15:57] <zsombi> nik90: but the thing is you most likely call ... yes L)
[15:59] <zsombi> nik90: ok, mutexes don't help at all, as I thought....
[15:59] <zsombi> nik90: the only thing I can foresee is that the alarm is deleted... for some reason
[16:01] <nik90> zsombi: I can't get the sample app to crash.. I used a Loader to load the alarmModel, passed it around to the function and accessed it pretty much the same way as the clock app does
[16:02] <nik90> I added debug statements after pretty much every line of the function that causes the crash and it promptly crashes at the  "var currentAlarm = alarmModel.get(i)" line
[16:07] <zsombi> nik90: so you cannot get it repro with a sample code?
[16:08] <nik90> yes
[16:08] <zsombi> nik90: damn....
[16:08] <zsombi> nik90: I can clearly see it returning null...
[16:11] <zsombi> nik90: I hav etraces in Alarm destructor, the alarm that is supposed to be returned is not deleted :/
[16:14] <zsombi> thsi stupid backend is killing me...
[16:21] <nik90> zsombi: let me using the alarm model signals to update the bottom edge title and avoid passing alarm model as an argument to other functions
[16:22] <nik90> zsombi: since that was the cause of the crash in the edit alarm page that we fixed
[16:22] <zsombi> nik90: ok, but beside that, calling a get() which has a valid return value in C++ and in QML a null result is utmost brainkiller
[16:28] <zsombi> nik90: DAMN IT!
[16:29] <zsombi> nik90: if I create a temporary Alarm object and not the stock one, it works
[16:38] <zsombi> nik90: ok, so seems we have a solution
[16:38] <nik90> zsombi: ?
[16:39] <zsombi> nik90: you make sure you don't pass any model in between the pages
[16:39] <zsombi> nik90: and I have to create temporary Alarm objects each time get() is called
[16:40] <zsombi> nik90: I'll have an MR from toolkit
[16:41] <nik90> zsombi: well I instantiate the alarm model in MainView and have to pass it to the alarm list page. If not I need to declare a AlarmModel twice
[16:41] <nik90> zsombi: and if I don't instantiate the alarm model in MainView then the bottom edge wont work
[16:41] <zsombi> nik90: ah... hmm
[16:42] <nik90> zsombi: the crash appears when I pass the alarm model and use the get() function.. Fortunately I don't do this in the alarm list page since I use a listview to get the alarm objects and show them
[16:42] <nik90> that combination is what I previously mentioned that I will try to avoid
[16:53] <zsombi> nik90: bzoltan_: https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/alarmmodel-get-crash/+merge/253981
[16:54] <zsombi> nik90: get this MR before ytou do anything with your app
[16:54] <nik90> zsombi: ack. Testing it now
[16:55] <zsombi> nik90: thx, lemme know what happened, I most likelly will see it tiomorrow morning
[16:55] <nik90> zsombi: ok. I need to grab dinner soon but I will definitely have the results by tonight
[16:55] <zsombi> nik90: the test I have it with teh MR reproduced the get() crap
[16:56] <zsombi> nik90: thx!!!
[16:56]  * zsombi eod
[16:56] <dholbach> davidcalle, what can we do about bugs 1313764, 1434887, 1435473, 1435471, 1317065?
[17:02] <Risikoruk> Hello anyone, anyone I can ask about QTCreator not detecting the Aquaris Ubuntu?
[17:02] <davidcalle> dholbach, for web api and cookbook, we could probably redirect to the guide page.
[17:03] <dholbach> I'm wondering what kind of content is missing now
[17:03] <Risikoruk> Does anyone have any idea why a Aquaris Ubuntu Edition doesn't appear in the Ubuntu Device section of the Ubuntu-SDK?
[17:03] <dholbach> is this stuff that should be on unity.u.c or am I conflating two different issues?
[17:04] <dholbach> davidcalle, ^
[17:05] <davidcalle> dholbach, it's not the same thing (afaik), the web api was docs put together by the old webapp team, standalone html files, with how to integrate website into the launcher (count), indicators (messaging, music control), notifications
[17:05] <davidcalle> websites*
[17:06] <davidcalle> dholbach, it's still somewhere on lp, and is deprecated (13.10 only)
[17:08] <davidcalle> dholbach, that's why I think we should redirect to the guide.
[17:08] <dholbach> AlanBell, which docs are you missing there?^
[17:08] <dpm> kalikiana, t1mp, zsombi, perhaps one of you guys can help Risikoruk? ^^
[17:15] <bzoltan_> dpm: davidcalle: dholbach: if you see Risikoruk back would you proxy him that he needs to enable development mode in the Settings → About this device → Developer mode.
[17:16] <dholbach> bzoltan_: I don't know Risikoruk :/
[17:16] <dholbach> and need to run now
[17:17] <davidcalle> bzoltan_, I'm out in a few minutes, but sure, if I see him
[17:18] <dpm> same here
[17:19] <ogra_> i think he found help in -touch
[17:24] <nik90> zsombi: hmm that seems to have done the trick. The app did crash *once* at startup. I will keep testing throughout the night to see if I can reproduce it.
[17:24] <nik90> zsombi: without your MP it crashes pretty much on every run which I don't see now
[17:53] <daker> nik90: faced another issue http://paste.ubuntu.com/10671409/
[18:06] <nik90> daker: I have seen those errors as well, but it still installs the necessary packages required by the sdk
[18:07] <nik90> daker: just ignore them and proceed to create the desktop file and open the app using lxc
[18:09] <akiva-thinkpad> ... qtcreator is still compiling...
[18:31] <mhall119> bzoltan_: kalikiana: what else is needed to merge https://code.launchpad.net/~kalikiana/u1db-qt/qmlDocs/+merge/208818 ?
[19:05] <keef> Bit stuck using the Ubuntu SDK.  I just got my Ubuntu phone this morning & I'm trying to copy an application I've written to it.  Can't seem to work out what to do.  Is there a tutorial or an explanation of what to do?
[19:20] <dobey> keef: have you enabled developer mode on the phone?
[19:23] <kalikiana> mhall119: I need to tweak the docs as per marco's comments, I'll do that now, then it can be passed to ci
[19:23] <mhall119> thanks kalikiana
[19:24] <kalikiana> mhall119: thank you for checking, sometimes I just have too many tabs open…
[19:25]  * mhall119 looks at his tab bar
[19:25] <mhall119> I understand completely :)
[19:28] <dobey> whenever i see "tab bar" all i can think is that someone is dyslexic
[19:28] <dobey> or it's time they should pay it and go home
[19:29] <mhall119> lol
[19:32] <keef> dobey: I've got  a bit further, I'm using a different cable to connect the device & it's detected it, but the Ubuntu>Install application on device... comes up with a progress bar, but it doesn't appear on the device
[19:34] <dobey> keef: ah ok. i'm not quite sure how all that works exactly, and i've not used it. maybe someone else can help you though
[19:35] <keef> dobey: Thanks anyway :) I'll keep bashing my head against it
[19:35] <nik90> keef: if that progress bar comes up, then it means that the SDK hasn't detected your device
[19:35] <nik90> keef: Can you run "adb devices" in the terminal and see if your device is listed
[19:36] <nik90> rpadovani: ping
[19:36] <dobey> keef: make sure your screen is unlocked when you do the "install on device' perhaps ^^
[19:37] <dobey> based on what nik90 said
[19:43] <kalikiana> Mirv: still around? mind passing this on to ci? https://code.launchpad.net/~kalikiana/u1db-qt/qmlDocs/+merge/208818
[19:53] <justCarakas> akiva-thinkpad:  what was that name of the help app again on launchpad ,
[19:54] <akiva-thinkpad> justCarakas, hmmm?
[19:54] <akiva-thinkpad> help app? I think that is ahoney's project
[19:54] <akiva-thinkpad> or are you talking about my autopilot plugin?
[19:55] <balloons> justCarakas, https://code.launchpad.net/help-app?
[19:56] <justCarakas> yes balloons that one thx :)
[20:01] <nik90> seb128: I might finally have a fix for your bug 1381432
[20:13] <rpadovani> nik90, pong
[20:13] <nik90> rpadovani: hey, how is it going?
[20:14] <rpadovani> nik90, busy as hell, but all it's more than good :-) What about you?
[20:14] <nik90> rpadovani: Good. I saw your g+ post about getting your glasses removed..I was thinking of doing the same later this year using a lasik surgery
[20:16] <nik90> rpadovani: hey, when you find time, could you review https://code.launchpad.net/~nik90/ubuntu-clock-app/improve-setting-listitem/+merge/252930
[20:16] <rpadovani> nik90, you totally have to do it: no pain at all. I had 10 dioctries for each eye, so the surgery was a bit long, but I had no problem. Two days of blind to a life without glasses
[20:16] <rpadovani> nik90, sure, I do it tonight :-)
[20:17] <nik90> rpadovani: yeah I was planning to do it in feb what I went to india, but didnt have time to get it done
[20:18] <nik90> s/what/when
[20:18] <nik90> rpadovani: well enjoy a glass free experience :-)
[20:18] <rpadovani> \o/ ty
[20:23] <aquarius> Who's feeling knowledgeable about QML? Specifically, I have a checkbox which, when changed, gets its value (true or false) written to the database. However, that checkbox's initial value depends on that read *from* the database. So, if you create a variable isEnabled, set CheckBox { checked: isEnabled; onCheckedChanged: updateDB(checked); } and updateDB() saves the value and then updates the isEnabled var...
[20:23] <aquarius> you get an infinite loop.
[20:23] <aquarius> How is one *meant* to do this?
[20:23] <aquarius> it'd be easier using u1db rather than sql, but I don't think that a scope can read a u1db database.
[20:29] <nik90> aquarius: hey
[20:29] <nik90> aquarius: why don't you instead use the onClicked signal instead
[20:29]  * nik90 has run into this paradox before :P
[20:30] <aquarius> nik90, because there's also a Label next to the checkbox, and clicking the label should also toggle the checkbox
[20:31] <nik90> hmm ok
[20:32] <aquarius> the Label contains a MouseArea which calls checkbox.clicked(), but I am exceedingly mistrustful of the idea that programmatically invoking .clicked on a thing will properly fire its onClicked handler :)
[20:32] <nik90> aquarius: let me try it on my end, 1 min'
[20:36] <nik90> aquarius: then when you click the label, change the checkbox's checked value and also update the database
[20:37] <aquarius> ya, but then if the database write *fails*, I have to switch the checkbox back agan, from inside the db update function, which is a massive layer violation :)
[20:38] <nik90> aquarius: I tried setting the label's mouse area to call checkbox.clicked() and verified that it does call the onClicked signal correctly
[20:39] <nik90> I mean you are firing a signal, so I don't see why its handler wouldn't be called by qml
[20:39] <aquarius> huh. Maybe what I do is *cancel* the clicked handler
[20:39] <aquarius> and *only* set the checkbox value from the db function
[20:40] <aquarius> nope; you can't cancel a clicked handler
[20:40] <aquarius> well, not by returning false, anyway
[20:41] <aquarius> is that possible?
[20:41] <nik90> aquarius: well since you set the checkbox value to the database's value, if the db write fails, wouldn't the checkbox also return to its original value?
[20:41] <nik90> I am not sure how to cancel the clicked handler
[20:41] <aquarius> yep. but that's what I *want* it to do, because the db value didn't change
[20:43] <nik90> aquarius: paste.ubuntu.com/10672572
[20:44] <nik90> I am not sure how to simulate db write fails thouhg
[20:44] <nik90> s/thouhg/though
[20:45] <aquarius> yeah, that's what I'm basically planning to do, I think
[20:45] <dobey> write a mock for the DB API which fails
[20:46] <dobey> returns an error, or whatever
[20:49] <aquarius> yeah. I think I was just overcomplicating things and I didn't need to. It works with onClicked
[20:50] <aquarius> sweet. So, app basically works
[20:50] <aquarius> now all I need is the scope to go with it :)
[20:51] <ogra_> hmm, is there a way to make a qml app fullscreen without having to use a window ?
[20:51] <aquarius> for which cwayne has said he'll write some docs, if he gets a chance.
[20:51] <ogra_> MainView doesnt seem to support something like toggling fullscren
[20:51] <aquarius> ogra_, um, how does it not have a window? :)
[20:52] <ogra_> well, none i have defind
[20:52] <ogra_> *defined
[20:52] <ogra_> i mean the qml Window element :)
[20:52] <aquarius> oh!
[20:52] <aquarius> that makes more sense ;-)
[20:54] <aquarius> I don't *think* so. MainView imports Qt.Window, but it is not itself an ApplicationWindow :(
[20:54] <ogra_> i have a webview inside a page inside a mainview ... if the webview goes fullscreen, it only does that inside the mainview ... so the panel stays visible and the app behaves like maximized
[20:54] <aquarius> because your app isn't creating the window; qmlscene is
[20:54] <ogra_> right
[20:55] <aquarius> qmlscene --fullscreen will run it fullscreen, wooo, but that's not toggleable from code inside that window, I don't think
[20:55] <ogra_> lol
[20:55] <ogra_> yeah, not what i want
[20:56] <ogra_> well, if it bothersme enough i might try to use a Window ...
[20:56] <nik90> ogra_: I heard that's planned in the SDK to add Mainview support for fullscreen apps
[20:56] <ogra_> how does the browser do that i wonder
[20:56] <nik90> ogra_: the gallery apps does this using c++ code afaik
[20:56] <aquarius> if you were a horrible person you could start the app with qmlscene --resize-to-root and then resize your root item to be the size *of* the screen, but that is doom
[20:56] <ogra_> yeah
[20:56] <nik90> lol
[20:56] <ogra_> i dont want to use C++ :)
[20:56] <aquarius> the browser is a c++ app, so I suspect it creates a Window
[20:56] <aquarius> or actually it'll create a QtWindow and handle fullscreening itself
[20:57] <ogra_> the browser is 80% QML ...
[20:57] <aquarius> if I had to guess.
[20:57] <ogra_> but yeah, quite a bit of C++
[20:57] <aquarius> bet you a quid that the fullscreen stuff is in the 20%
[20:57] <aquarius> does the browser go actual fullscreen on a desktop?
[20:57] <ogra_> hmm, looks like it actually uses the Window element from QML
[20:58] <nik90> ogra_: well use your powers to convince sdk devs to implement this feature in MainView
[20:58] <aquarius> F11 doesn't toggle webbrowser-app to be fullscreen for me
[20:58] <aquarius> I wonder if the JS API does?
[20:58] <ogra_> nik90, i need all my powers to get bug 1435778 fixed first ;)
[20:59] <aquarius> yeah. I wanted to do that, a while back, and got mocked
[20:59] <ogra_> (thats a really annoyign onne if you want to build somthing generic)
[20:59] <aquarius> partially because the appid gets read out of other stuff and used by upstart-app-launch, or at least it did, so changing it after startup was useless :)
[21:00] <ogra_> well, it gets read before the import stanzas are processed
[21:00] <ogra_> but ovbiously after the app has actually started
[21:00] <ogra_> judging by what i see in the logs
[21:00] <ogra_> so i think it is just a matter of ordering
[21:03] <aquarius> I admire your optimism ;)
[21:04] <ogra_> heh
[21:04] <ogra_> well, i started by poking mr.mendoza ... who pointed me to ted ... who pointed me to sdk team :)
[21:05] <justCarakas> does anyone know if you can use a tags with hrefs to other html files in an HTML5 app ?
[21:05] <ogra_> i guess i'll end up at the mir team in the end :)
[21:05] <nik90> rofl
[21:06] <ogra_> justCarakas, why not ... with relative paths and inside your appp dir that should work
[21:06] <justCarakas> ok thx :)
[21:06] <nik90> ogra_: its ironic how you work on the lower level stack of ubuntu touch and yet go to the highest level (sdk) to raise questions :P
[21:06] <ogra_> nik90, well, i try to know the whole stack ... also, if i dont write the apps i want nobod does or i have to wait :)
[21:07] <ogra_> its after all just my impatience ;)
[21:07] <nik90> ;)
[21:07] <ogra_> the webapp-container annoys me since a long time, thats why i write my own now :)
[21:09] <ogra_> or rather glue it together from code of others :)
[21:09] <ogra_> one thing that really annoys me is that it is really hard to find documentation if you try to do something non-standard
[21:10] <ogra_> we all need to blog more :)
[21:10] <nik90> hmm true, its been ages since I blogged
[21:11] <ogra_> (it took me a day to find out how to properly intercept a click on a link in the webview so i can validate the url before going forward)
[21:12] <mhall119> ogra_: a week?
[21:12] <ogra_> theere are wonderful blogs from daker and chrisccoulson ... but exactly the info i needed was in neither of them ... yet ... no matter how you enhance or adjust your google search ... all you hit is their blogs :)
[21:12] <ogra_> ... because there simply isnt more documentation :)
[21:12] <chrisccoulson> Oxide seriously lacks documentation. I'd love somebody to come along and write some :)
[21:13] <ogra_> well, i'll surely blog about my experience and put some code examples in
[21:13] <ogra_> so the next person looking for that info can find something
[21:13] <ogra_> mhall119, a week ?
[21:14] <ogra_> (context ?)
[21:14] <mhall119> sorry, s/week/day/
[21:15] <ogra_> yeah
[21:15] <mhall119> which is quite a bit more reasonable :)
[21:15] <nik90> ogra_: I have to say your g+ app provides an almost native g+ experience .. one wouldn't be able to tell the difference without looking hard
[21:15] <mhall119> don't know how I read "week"
[21:15] <ogra_> nik90, my local one is already better :) i need to push to the branch again .. (removed the menu handle in fullscreen videos, rotates properly)
[21:16] <nik90> balloons: can you kick jenkins again for https://code.launchpad.net/~nik90/ubuntu-clock-app/fixed-bottomedge-status/+merge/253998 .. not sure what the failure is about as it passes that part locally for me
[21:16] <nik90> ogra_: oh
[21:16] <ogra_> i dont really want to make another G+ app in the store though, i'd like more if someone who has one switches to my framework :)
[21:18] <nik90> ogra_: yeah hopefully szymon would adapt his g+ app using your framework
[21:18] <ogra_> right
[21:18] <ogra_> he is not much on IRC, is he ?
[21:18] <nik90> nope
[21:19] <ahoneycutt> mhall119: hey
[21:19] <balloons> nik90, sure
[21:21] <nik90> balloons: curious but how does one see the object names for the location prompt dialog when it is only possible to test that while running on the phone?
[21:21] <nik90> balloons: I mean autopilot vis cant be used here
[21:22] <balloons> nik90, true, vis doesn't work
[21:22] <balloons> if all else fails, run on device and use print_tree
[21:22] <balloons> but I would probably look at the qml source if I could as well
[21:24] <nik90> balloons: hmm I will have to scour the trust-store project for the qml source then
[21:25] <mhall119> hey ahoneycutt
[21:25] <aquarius> ogra_, I may use your container thing :)
[21:25] <ahoneycutt> mhall119: https://launchpad.net/gazeteer
[21:25] <ogra_> aquarius, awesome .... its still a little prototypish and not cleaned up yet ... but already usable :)
[21:26] <aquarius> ogra_, well, my little "add web apps to the home screen" app, which now mostly works, needs a way to run those apps when they're started by the scope
[21:26] <ogra_> sweet !
[21:26] <aquarius> I could have it start the existing webapp container
[21:26] <balloons> nik90, can you not use print_tree? does it not prompt on the emulator (I assume location service means no). Do you need a dump of the object?
[21:26] <aquarius> but I also want to start them from within the app itself as well
[21:27] <balloons> I could help if you just need an object dump
[21:27] <aquarius> and I don't believe that I can start up a webapp container from inside my own QML app
[21:27] <ogra_> not easily i think
[21:27] <aquarius> but do correct me if I'm wrong here -- does webapp-container register a magic URL scneme?
[21:27] <aquarius> (it should, if it doesn't, but I bet it doesn't ;))
[21:27] <nik90> balloons: I will just use the print_tree method..seems easy enough.
[21:27] <ogra_> it has some validation checks by default
[21:28] <ogra_> but you have to define a pattern if you want it to do more
[21:29] <aquarius> actually...
[21:29] <aquarius> I want to start a new applicationName, don't I?
[21:29] <aquarius> I don't want to invoke it in my own app.
[21:29] <aquarius> darn it.
[21:29] <ogra_> technically yes, but that wont work
[21:29] <aquarius> which I can't do, because I can't edit the applicationName on the fly
[21:29] <aquarius> as per above bug ;)
[21:30] <ogra_> yeah, even if you could ... you couldnt "fork" into a new ubuntu-app-launch session
[21:30] <aquarius> sure I can
[21:30] <aquarius> I ship two apps in my click package; one is my app, the other is the new webapp container
[21:30] <ogra_> ah
[21:30] <aquarius> webapp container registers for url scheme sil-webapp-container://
[21:31] <ogra_> except that you end up with a useless icon in the app scope ...
[21:31] <aquarius> and to start a web app in it, I Qt.openUrlExternally("sil-webapp-container://kryogenix.org") or whatever
[21:31] <ogra_> one more mediaplayer :)
[21:31] <aquarius> can't I just not give it a desktop file or something?
[21:31] <ogra_> but right, that combo will indeed work
[21:31] <aquarius> or X-Only-Show-In: gnome or something so it doesn't show in unity? ;-)
[21:31] <ogra_> you cant make a desktop file without providing an icon
[21:32] <ogra_> and there is no "OnlyShowIn"
[21:32] <aquarius> that sucks
[21:32] <ogra_> thats why we have the mediaplayer in the app scope ...
[21:32] <aquarius> so I can't ship helper apps which register for a URL scheme?
[21:32] <aquarius> BAH.
[21:32] <ogra_> which cant d anything but show you an error if you tap itr
[21:32] <ogra_> *do
[21:33] <ogra_> you can, but you have to ship a proper .desktop file and need to handle the case where the user taps it
[21:33] <aquarius> yeah, Readability has the same problem, as does AddToHome which is what I'm doing right now -- they're installed to be Share destinations, not to be directly invoked
[21:33] <aquarius> on the other hand, if they don't show up in the apps scope then they can't be uninstalled ;-)
[21:33] <ogra_> well
[21:33] <ogra_> you dont really want to have half of your scope/app combo uninstalled
[21:34] <ogra_> while the other half stays around ...
[21:34] <aquarius> well, no, but Uninstall surely uninstalls the click package it came in....
[21:34] <ogra_> right
[21:36] <aquarius> webapp-container doesn't even ship a desktop file at all!
[21:36] <aquarius> how does anyone start it?
[21:36] <ogra_> you call it from your desktop file
[21:37] <ogra_> its also not a click ... its is part fo the system
[21:37] <ogra_> *of
[21:37] <aquarius> oh, it's Special Magic because it's a default package
[21:37] <ogra_> right
[21:37] <aquarius> there is, I have to say, quite a lot of Special Magic going on
[22:16] <mhall119> aquarius: yes you can
[22:16] <mhall119> I *believe* in you :)
[22:16] <mhall119> you can do it!
[22:39] <AskUbuntu> How to solve Bazaar error bzr: ERROR: unknown command "<ID>"? | http://askubuntu.com/q/600887
[22:54] <rpadovani> nik90, sorry, I haven't time 2night for the review, could you please ping me in 8 hours? Need a shower and some sleep
[22:55] <nik90> rpadovani: no worries mate, its not urgent
[22:55] <rpadovani> thanks, see you o/