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

ahayzenthat could be fun :)00:00
ahoneybunahayzen, I have *no exp* with API's00:00
ahayzenRhythmbox used to pull from multiple places for its lyrics IIRC00:00
ahoneybunoh00:01
ahoneybunool00:01
ahoneybun*cool00:01
ahayzenahoneybun, there is a 'song lyrics' plugin in RB you can enable .. then under the plugins preferences you can see a few sites00:02
ahoneybunsweet00:02
ahoneybunahayzen, Dying Light (video game is on Linux) :)00:03
ahayzenahoneybun, is it any good?00:03
* ahayzen is still dreaming for the day of GTA/COD/Battlefield to appear on Linux00:04
ahoneybunahayzen, both Windows and Linux have some low performance00:04
ahoneybunat times00:04
ahoneybunbut it is a AAA game on Linux first day!00:05
ahoneybunnot 2 years later like Borderlands 200:05
ahayzenoh cool :)00:06
ahoneybunyep00:06
ahoneybunBioshock Infinite is coming to Linux00:07
ahoneybunsorry offtopic00:07
ahoneybunahayzen, I need a teacher for apps lol00:10
ahoneybunand a project XD00:10
ahayzenhah the docs and coreapps are your friends00:10
ahoneybunif you have programming lang exp00:11
=== _salem is now known as salem_
=== salem_ is now known as _salem
zsombicharles: hi there, have you seen the document I made about the alarm backend?06:01
=== chihchun_afk is now known as chihchun
=== chriadam is now known as chriadam|away
dholbachgood morning07:31
rpadovanipopey, o/ when you have 5 minutes, could you please try https://code.launchpad.net/~rpadovani/ubuntu-calculator-app/fixComplexStorage150131/+merge/248182 ?07:52
davidcalleGood morning all08:43
rpadovanidavidcalle, o/ do you plan to make a guide also to port cyano based rom to ubuntu?08:55
davidcallerpadovani, hey, yes, but probably not this month08:56
rpadovanidavidcalle, okay, great, thanks!08:59
davidcallerpadovani, np :)08:59
popeyrpadovani: of course09:15
bzoltan_rpadovani:  Thanks for testing the static image script ... I think you just captured a chroot blac magic in action09:34
rpadovanibzoltan_, you're welcome - I'm sure the first time I tried I was unlucky. Trying again this morning seems it worked well :-)09:45
rpadovanibzoltan_, thanks to you to trying to make less paining using chroot09:45
JamesTaitGood morning all; happy "What If Cats and Dogs Had Opposable Thumbs?" Day! :-D10:06
bzoltan_rpadovani:  the whole bootstraping is a very fragile part of the SDK story, I try to get rid of that and speed up. Now the test images come from a slow network, imagine if they were coming from the same place as other images.10:09
wardsterhi quick question i have a emulator running ubuntu touch and connected external ssh how do install the ubunu touch app terminal on the emulated phone from a command promt as the store doesnt work10:10
rpadovanibzoltan_, could be a great improvement! Please let me know if you need more tests10:13
bzoltan_rpadovani: OK, thanks10:13
wardsteri sussed how to get terminal but app installed from apt wont run on MIR so i try and recompile from source ?10:55
rpadovaniwardster, why do you want to install via apt and not the click package?11:06
wardsteri just got it installed dont know how to install click files yet :(11:13
wardsterim just trying to compile lifeogrpah from source to see if i can get it to run on the emulator11:14
wardsterbut compiler not setup yet CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND11:15
wardstersussed it need build tools im trying to compile apps from source11:25
davmor2popey: quick reminders test for you, create an empty note.  Wait for it sync.  Then edit that note, save it and then hit the sync button.  Let me know what happens11:30
popeyk11:31
popeydavmor2: worked as expected11:33
popeyi now have an edited note11:33
davmor2popey: new app crashed11:34
popeywhen going back from a note?11:34
popeycould be the oxide bug - mzanetti ?11:34
davmor2popey: nope.  Added a reminder and hit save11:35
popeya note or a reminder?11:35
davmor2popey: so create a note (in my case a check list) then click on the alarm + button added a reminder time for 5 minute time and tapped on the save button11:44
mzanettiright.... meh...11:46
mzanettidavmor2, oh wait... so it crashed when you pressed the save button?11:46
mzanettithat shouldn't happen :S11:47
davmor2mzanetti: yeap11:47
=== MacSlow is now known as MacSlow|lunch
nik90bzoltan_: looks like you are getting a lot of test results for your static chroots :P11:55
bzoltan_nik90:  thanks to you :)11:55
nik90zsombi: hey, I tested your alarms fix on vivid btw, and commented on the bug.11:55
zsombinik90: thx!11:56
nik90bzoltan_: well hopefully you found it useful. Looking forward to minimized chroot creation time :)11:56
zsombinik90: about the crashes, please check if you are using teh proper alarm object when creating the alarm. If you call reset() on an object which comes from the model you may get in trouble11:57
nik90zsombi: hmm let me check11:58
nik90zsombi: I don't seem to have any reset() function calls at all..I searched the entire project12:09
nik90zsombi: I only have cancel() which is used to delete an alarm12:09
zsombinik90: ok12:09
zsombinik90: ah, yes, because when you create an alarm, that uses a separate page created dynamically, right?12:10
nik90zsombi: indeed12:10
nik90zsombi: and the crash usually happens when loading that separate page12:10
zsombinik90: hmm!... weird!!!12:10
nik90zsombi: I will do a gdb trace and upload the logs for more info12:11
zsombinik90: thx!!!!12:11
=== _salem is now known as salem_
popeydavmor2: you continuing testing and give us a report, right?12:14
nik90zsombi: hey btw I transitioned the world clock list view to the new list items. Lot of custom code removed ;)..although it exposes a ugly bug in the clock app which is happening due to u1db where the last item on the listview is not being removed after it was deleted by the user.12:14
davmor2popey: yeap that was plan at any rate12:15
popeykk12:15
nik90zsombi: I want to transition the alarms listview as well, but I need multiselection mode which has not been released to vivid yet..but the api looks nice12:15
zsombinik90: we are just trying to get all the ListItem - and 1.2 released12:15
nik90zsombi: oh..as in the new listitem transition from beta to stable?12:16
zsombinik90: yep12:16
nik90nice12:16
kalikianat1mp: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1427663 lack of spacing on the right side of the header12:31
ubot5Launchpad bug 1427663 in ubuntu-ui-toolkit (Ubuntu) "No padding on right side of Header" [Medium,Confirmed]12:31
kalikianahrm, even with automatic orientation it seems impossible to run autopilot in landscape12:33
=== chihchun is now known as chihchun_afk
kalikianaand rotation lock setting doesn't have any effect12:34
kalikianaapparently that's https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/142188012:39
ubot5Launchpad bug 1421880 in ubuntu-system-settings (Ubuntu) "Rotation Lock in line does not work" [Low,Confirmed]12:39
kalikianagrrr ap still is in portrait despite the lock12:40
t1mpkalikiana: yeah, valid bug12:44
zsombinik90: beware that there were some small API changes, so depending on whether you were using them or not, you may need to adjust your code12:45
dholbachdpm, balloons: https://code.launchpad.net/~dholbach/ubuntu-devices-help/1426304/+merge/251589 :)12:54
dholbachthere are probably still a few glitches, but at least I'm more confident in the code now and that it should be easier to fix things12:54
nik90zsombi: oh..I will have to check the docs for that.12:56
zsombinik90: few things, mostly used in styling, so most probably you didn't had to use those12:56
dpmdholbach, \o/12:57
nik90zsombi: yeah for the new clock app, I did not touch the styling afaik...is there a place where I can see the changelog of these API changes perhaps?12:57
zsombinik90: the best is the changelog of the staging...12:58
dholbachdpm, on second thoughts it might probably have been easier to keep a dictionary of what "Title: " gets translated to in the wordl :-)12:58
zsombinik90: as it was unstable, it wasn't logged12:58
nik90zsombi: ack.12:59
=== rmescandon is now known as rmescandon|lunch
=== MacSlow|lunch is now known as MacSlow
=== chihchun_afk is now known as chihchun
mzanettidavmor2, can you reproduce the crash in reminders?13:39
mzanettior was it a one-timer?13:39
davmor2mzanetti: I'll have a play now I'm back from lunch13:40
=== rmescandon|lunch is now known as rmescandon
davmor2mzanetti: it seems it is not reproducible let me see if it is a first run issue14:29
mzanetti:/14:29
nik90zsombi: On reading through https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/uitk-12-doc/+merge/251606, I noticed that ListItem.Expandable and ExpandableColumn are not deprecated. But have they being transitioned to the new listitems?14:44
zsombinik90: no, they were not, as the API difference seemed to be big, beside, the ListItem will get the expandable support in 1.314:45
nik90zsombi: ack.14:45
zsombinik90: and again, there are few design "deprecations" which Expandable does, so that will be deprecated once we have something to use instead.14:46
nik90ok, makes sense14:47
* zsombi bbl14:47
davmor2mzanetti: okay fresh install repeated the steps not crashed this time so I'm assuming a wonderful race condition somewhere cause those are so easy to find :(14:52
mzanettiright...14:52
davmor2mzanetti, popey: so create local notes first, I then went to accounts tapped on setup an account and now I'm presented with a white screen instead of the login page :(14:58
mzanettiright...14:59
mzanettidavmor2, did you reboot after installing the package?14:59
mzanettidavmor2, I think it's OA not loading up correctly14:59
davmor2mzanetti: I did reboot indeed15:00
mzanettinarf15:00
mzanettidavmor2, well, you can still work around it by opening settings -> accounts and adding the reminders account15:00
mzanettibut sure... this needs to be fixed...15:00
davmor2mzanetti: indeed15:01
mzanettiI haven't yet found what happens... reminders just calls the OA stuff15:01
mzanettiand it's happening randomly15:01
charleszsombi, mostly lgtm. Need to add enabling/disabling alarms, parameters would be app-id, alarm-id, enabled boolean15:12
charlesthat could be part of the update alarm method tho15:13
charlesah, and you've got that flag in the per-alarm property list already15:13
rickspencer3balloons, , fyi, I think this page should probably have results?15:26
rickspencer3https://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot-emulator/search.html?q=assert15:26
rickspencer3I wonder if something is not quite hooked up?15:26
davmor2mzanetti: charles: how many times should a reminder alarm sound?15:27
mzanettiI'd say like an alarm15:27
mzanetti=> until the user acks it15:27
mzanettior like 10 minutes15:28
mzanettiit doesn't right now15:28
balloonsrickspencer3, yes search is something that broke in the move. For now the https://developer.ubuntu.com/en/apps/quality/ page points to my people.c.c account with a working mirror15:28
mzanettirealized it yesterday that it's ringing only once or so...15:28
mzanettidavmor2, ^15:28
rickspencer3balloons, is there a flat list of the assertions available to developers somewhere?15:28
rickspencer3like, AssertEqual, AssertThat, etc...?15:28
balloonsrickspencer3, assertions as.. ahh15:28
rickspencer3they seems scattered around15:28
charlesdavmor2, mzanetti, this falls into the large domain area of "there's no design for that"15:29
charlesoriginally all of the notifications behaved like alarms; eg playing forever15:29
mzanetti+115:29
davmor2mzanetti: no for me it rang 2 sets of two rings,  it sounds off like the calendar so it rings twice and stops,  but then about 5-10 seconds later it rang again 2 times15:29
mzanettiotherwise there's a 99% chance I'll miss it15:30
davmor2charles ^15:30
balloonsrickspencer3, good point actually.. autopilot extends https://pypi.python.org/pypi/testtools which itself adds onto  the default15:30
charlesbut that was really annoying for calendar notifications, so now everything is alarm or not-alarm15:30
rickspencer3I have to say, I really have a hard time with the Autopilot docs15:30
mzanettidavmor2, yeah, what I meant is: I noticed that I missed all of the test reminders because they rang too short15:30
charlesmzanetti, davmor2, IMO what we need is a way for clients to specify this so that we don't add more special cases into datetime15:30
mzanettiyes15:30
balloonsrickspencer3, I suppose that's another point of autopilot assuming python test tool familiarity.15:31
charlesmzanetti, davmor2, similar to the https://bugs.launchpad.net/ubuntu/+source/reminders-app/+bug/1426519 for specifying what happens when you click on a reminder/event/alarm in the indicator's menuitem, but for alarm behavior15:32
ubot5Launchpad bug 1426519 in ubuntu-calendar-app (Ubuntu) "i-dt should support ical's "url" property for launching related apps" [Undecided,New]15:32
davmor2charles: agreed  I was confused as to why it rang 2 times though,  so it sounded off like the calendar, no issues with that (other than  the length)  but then as I say about 5 seconds later it did it again15:32
rickspencer3balloons, for example, where do I find documentation for select_single?15:32
balloonsin the api section, inside the introspection module15:32
rickspencer3balloons, so, how am I supposed to know that?15:32
rickspencer3with search busted, I am dead in the water15:32
charlesdavmor2, not sure what's going on there, do you have steps I can use to reproduce it?15:32
davmor2charles: as in I saw the osd notify for it twice15:32
rickspencer3and there is no list that I can look through15:32
balloonsrickspencer3, that's why d.u.c links to http://people.canonical.com/~nskaggs/autopilot atm. Search is working there15:33
mzanetticharles, QOrganizerItemAudibleReminder has a repititionCount property15:34
balloonsas far as knowledge.. well, again it's difficult. I knew that without looking because it's where I would expect it to be. Looking at the API ref page, I see "autopilot.introspection - Retrieve proxy objects", which is what I want15:34
mzanettirepetition, even15:34
charlesyep15:34
mzanetticharles, and QOrganizerItemVisualReminder has a url property15:34
mzanettiso would fit in both15:35
mzanettiinto the api at least15:35
charlesyes, I know :)15:35
mzanettisorry :D15:35
charlesno worries :)15:35
rickspencer3balloons, I think a clear document explaining how to select items and a clear document that lists the assertions available would be good15:36
charlesmzanetti, one thing I don't know, though, is there not a straight mapping for ical's url property in vevent, vtodo, vjournal, vfreebusy?15:37
charlesmzanetti, that's the more logical place to put the activation link than in the visual reminder; its intent is different15:37
rickspencer3for example, for select single, it took me quite a while and many questions to figure out how to select a certain type (i.e. it's 'Standard' not 'ListItem.Standerd'), etc...15:37
balloonsrickspencer3, all good feedback. Let me file some bugs to capture this. I think autopilot can explicitly state the assertions you can use (and talk more about it inheriting from testtools). On the second part, objecttypes do get a bit weird, and I suspect it's largely how qt wants to represent the object on dbus. I'm thinking about how autopilot might make this easier for you.15:43
balloonsrickspencer3, how did you try and figure out what you needed to select?15:43
sverzegnassirpadovani: o/15:45
balloonsrickspencer3, btw here's your list of goodies: http://testtools.readthedocs.org/en/latest/api.html#testtools.TestCase.15:46
rickspencer3balloons, but that is a totally different site, and surely doesn't include the new stuff you added, right?15:46
rickspencer3I mean, the extra Ubuntu helpers15:46
balloonsrickspencer3, it is, but the base autopilot.testcase class you import inherits from that. Which as you mentioned wasn't clear to you15:47
rickspencer3balloons, so, note that in our QML docs, we include everything, not just Ubuntu Components15:47
balloonsthe new helpers don't add any asserts; just helpers for performing tasks15:47
balloonsrickspencer3, right, so this page doesn't tell you everything: http://people.canonical.com/~nskaggs/autopilot/api/autopilot.testcase.html#module-autopilot.testcase15:47
balloonsso an excellent point15:48
rickspencer3right15:48
rickspencer3in fact, what does it tell you?15:48
balloonsjust the autopilot specific methods that are added. It mentions testtools at the top, but no link, and if you aren't a python testing person it's likely gibberish to you anyway15:49
balloonsin the same way; http://people.canonical.com/~nskaggs/autopilot/api/autopilot.matchers.html#module-autopilot.matchers only shows the one additional matcher autopilot brings15:49
rpadovanisverzegnassi, o/ I'm at uni and today network sucks, so I can lose message. Tell me anyway :-)15:49
sverzegnassirpadovani: I understand what you mean! :) It was just a ping to inform you that I updated the branch. feel free to ping me for any information you need during the review15:51
balloonsso rickspencer3 I have a nice bug for the testtools gaps; https://bugs.launchpad.net/autopilot/+bug/1427748. What about your second point? How do you normally approach trying to select items? It seems like there is a potential documentation gap here as well15:55
ubot5Launchpad bug 1427748 in Autopilot "Autopilot docs should include testtools documentation" [Undecided,New]15:55
rickspencer3balloons, so, normally I use objectName, but ...15:56
rickspencer3for dynamically created items, for example list items, I can't do that15:56
rickspencer3so, I use text=15:56
rickspencer3but, a ListItem.Standard has a text property, as does the label it contains15:56
rickspencer3so, select_single throws an error15:56
rickspencer3so, you have to define 'Standard' as the first argument15:57
balloonsrickspencer3, dynamically created items can still be selected with objectname . . that seems to be the first gap15:57
rickspencer3balloons, well, if you create the objectName15:57
rickspencer3within the delegate, you can add objectName15:57
rickspencer3and I do that sometimes, but ...15:57
balloonsso rickspencer3 are you just looking at your qml directly to make your select statements?15:58
rickspencer3select_single handles it well, it's just very difficult to understand how to define the type that you want15:58
balloonsrickspencer3, you can reference X element within15:58
rickspencer3balloons, look, it's not hard to do15:58
rickspencer3I just have to know the right way to define the type of component I want to select15:58
rickspencer3it seems like we should just explain clearly with examples how to select different kinds of components15:59
rickspencer3in the documentation for ubuntu components, we very consistently use ListItem.Standard15:59
rickspencer3etc...15:59
rickspencer3but you just use 'Standard' in the select_single function15:59
rickspencer3how is the developer supposed to make that connection?16:00
rickspencer3I have other code where I tortuously created unique objectNames within the delegate16:00
balloonsrickspencer3, well I'm asking how you discover it because I don't reference the qml very often. I usually instead use vis and look at dbus dumps via print_tree16:01
balloonsrickspencer3, we could include this maybe as part of the sdk docs then.. perhaps an example below each showing you how to select the element in an autopilot test?16:01
rickspencer3balloons, sorry, discover what?16:01
balloonsrickspencer3, sorry, otp for a bit but we should continute16:02
dholbachballoons, dpm: I updated https://code.launchpad.net/~dholbach/ubuntu-devices-help/1426304/+merge/251589 with a number of small fixes - it seems happy for my test cases now :)16:02
dpmdholbach, I've been on some phone calls this afternoon, will test asap16:03
dholbachno worries16:03
dholbachdpm, one thing I didn't quite understand yet is why we have entries in the .po files which are commented out16:04
dholbachmaybe that's polib's doing16:04
dholbachin any case it still does the right thing :)16:05
dpmdholbach, I've seen them too in the diff, and I was wondering about them: these are fuzzy entries,16:05
rpadovanisverzegnassi, typo :-) ContentCommunicator::returnSocuments16:05
dpmit means that there was a string in the template that was translated at some point16:05
dpmand then it was slightly changed in the template16:06
dpmthen when merging the template with translations16:06
dholbachright16:06
dholbachI was wondering about that16:06
dpmthey were commented out16:06
dholbachI used po4a-updatepo in the past16:06
davmor2mzanetti: ah I think I know what the issue might be tags16:06
dholbachand now moved to polib.pofile.merge16:06
dholbachsince it was more convenient16:06
dholbachmaybe that's where they originate from?16:07
dpmdholbach, yeah, that makes sense16:07
mzanettidavmor2, interesting. keep this coming16:07
dpmyes, they come from a merge16:07
davmor2mzanetti: just added a tag removed the tag and the app crashed16:07
mzanettidavmor2, *very* interested in anything that reproduces a bug16:07
mzanettiok... trying16:07
dholbachgood to have a i18n expert in the team :-)16:07
dpmdholbach, either in code (polib.pofile.merge) or via gettext tools on the shell (msgmerge, which might be called by po4a)16:07
davmor2mzanetti: added tag via swipe left16:07
dpmdholbach, good to have someone else making sure all works! :-)16:08
davmor2mzanetti: and it only seems to affect create tag not existing by the look of it16:08
davmor2mzanetti: infact more specific than that, it is only the creation of the first tag16:10
davmor2hmmm can't delete tags either16:11
mzanettidavmor2, just gimme 5 more minutes... still in a hangout, then I'll be all yours with testing this16:12
rpadovanipopey, code of the last sverzegnassi branch is good for me, but I leave to you top approve because I didn't test the UI/UX (it compiles, anyway)16:14
rpadovanihttps://code.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/document-hub2/+merge/25116616:14
sverzegnassirpadovani: ok, thank you!16:25
dholbachhum.......16:29
dholbachwhat about https://code.launchpad.net/~flscogna/ubuntu-weather-app/reorganization-and-native-launcher/+merge/241351?16:29
dholbachdo we still need that?16:30
dholbachI fear I won't be able to help with it any further, but that we need somebody who's good on the integration side of things16:30
dholbachwho knows how things can be pushed into a landable stage16:30
dpmdholbach, I think that'd be a question for popey ^ when he's finished the Q&A16:35
popeydholbach: the weather app is being re-written from scratch so we can probably drop that.16:44
balloonsmmh popey though it's mostly packaging16:45
dholbachpopey, ok16:45
popeyya16:45
popeyhence why it's not needed as we have a whole new branch16:45
balloonspopey, btw, testing needs for this re-write?16:45
popeyalways :)16:46
balloonspopey, mind making sure some bugs are filed and tagged?16:46
popeyya16:46
dholbachpopey, so both can be rejected: https://code.launchpad.net/ubuntu-weather-app/+activereviews?16:47
popeyhang fire16:47
popeyyes16:47
dholbachok16:48
dholbachcan somebody of you reject https://code.launchpad.net/~dholbach/ubuntu-weather-app/packaging-fixes/+merge/236676?16:48
dholbachI don't seem to have the necessary powers16:49
popeyme either16:49
dholbachweird16:49
dholbachok, I'll delete it16:49
dholbachnobody ever commented on it either16:49
=== rmescandon is now known as rmescandon|afk
balloonsrickspencer3, ok, so continuing. I was asking how you knew you wanted a ListItem.Standard object17:30
rickspencer3balloons, I asked here some weeks ago ;)17:30
rickspencer3after much frustrating trial and error and work arounds17:30
balloonsand how you went about trying to get it . .. I mentioned I typically used vis and print_tree to review the dbus tree17:31
balloonsI guess is there something missing from the 'here's my qml, here's my object I created in qml, I want to get it and reference it while testing'17:32
balloonsrickspencer3, so for me you would use vis or print_tree to dump the application and explore the object you want. With that info you can craft a query to grab the object at runtime17:35
rickspencer3balloons, wouldn't it be better to just explain in the documentation how to use the function?17:36
balloonsrickspencer3, I'm trying to understand your problem; it feels like there's more than one issue you are describing17:37
rickspencer3balloons, so, the issue with select_single is that it works best if you pass in a string for the type as the first parameter17:38
rickspencer3to avoid getting errors where the more than one component is matched on the same property17:38
rickspencer3i.e. two components have the same text17:38
balloonsrickspencer3, so I suggested we could add an autopilot test to the example here: https://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Components.ListItems.Standard/17:38
rickspencer3balloons, yes, but also in the documentation for select_single, explain how the naming works17:39
balloonsrickspencer3, ohh you are having trouble getting the specific object you want.. meaning for instance select_single('Label') will grab all the labels17:39
rickspencer3i.e. ListItem.Standard != 'Standard'17:39
balloons^^ actually will fail because there is more than one label17:39
rickspencer3balloons, close17:39
rickspencer3a Standard has a text property17:39
rickspencer3it also contains a label with a text property17:39
rickspencer3both have text set to the same property17:40
rickspencer3both have text set to the same text17:40
mkhi17:40
=== mk is now known as Guest53128
rickspencer3so, when you do select_single(text='foo')17:40
rickspencer3but, that's not the real problem17:40
rickspencer3I understood what was happening17:40
balloonsright.. is it clear you can do select's on child nodes? So you can grab an object, then do a select inside it?17:41
rickspencer3what I did not understand was how to tell select_single to only select a ListItem.Standard17:41
rickspencer3no, that's not the issue17:41
rickspencer3the problem is, how do you figure out what the first parameter is if you only want to select by type?17:41
balloonsrickspencer3, ok, so you have 2 VERY similar components and it's hard to select the correct one17:42
rickspencer3Everywhere in my code I use ListItem.Standard17:42
rickspencer3balloons, no17:42
rickspencer3I have one component17:42
rickspencer3a Standard17:42
balloonsahh.. I think I get it now17:42
rickspencer3a ListItem.Standard17:42
balloonsright17:42
balloonsand to select it, you call it 'Standard'17:42
rickspencer3right17:42
rickspencer3so, weirdly, you pass in an unqualified string17:42
rickspencer3'ListItem.Standard' doesn't work17:43
rickspencer3I have no idea how it avoids collisions17:43
balloonsI believe that might be a problem with out implementation, or within qt itself17:43
rickspencer3balloons, I think all the documentation needs to do is say:17:43
balloonsit references it as 'standard' on the dbus tree.. and it could decide to change that even17:43
rickspencer3to specify the type that you want to select, pass in a string of the type name17:44
rickspencer3if the type is namespaced in your code, just use the leaf of the type17:44
rickspencer3so, for ListItem.Standard, just pass in 'Standard'17:44
rickspencer3and AutoPilot will find it17:44
rickspencer3just explain what to do17:44
rickspencer3for the first parameter of the function17:44
balloonsrickspencer3, sure, we could clarify that you should just use the leaf of the type. I was confused that perhaps you wanted to document the specifics of this somehow for the ubuntu sdk17:46
rickspencer3balloons, well, keep in mind that developers use the SDK documentation17:47
balloonsmy secondary concern was that sometimes it's not clear what type_name you should use, as qt calls it something different than how you describe it in qml17:47
kalikianaElleo: any news on your looking into refactoring the osk support for ap to be re-usable?17:47
Elleokalikiana: sorry, haven't done anything much on that yet I was on holiday most of last week and have had a few other things come up since then17:50
kalikianaElleo: ah, okay, no worries, I'm just checking on what's the state of it17:56
balloonsrickspencer3, https://bugs.launchpad.net/autopilot/+bug/1427794 and https://bugs.launchpad.net/autopilot/+bug/1427796 filed18:01
ubot5Launchpad bug 1427794 in Autopilot "Selecting namespaced objects is confusing" [Undecided,New]18:01
ubot5Launchpad bug 1427796 in Autopilot "Testcase basics are still confusing" [Undecided,New]18:01
balloonsthanks for the input as always18:02
popeyrpadovani: did you test docviewer launching a pdf from another app via content-hub?18:06
popeyrpadovani: for me, it launches docviewer but shows the list of docs rather than actually opening the doc18:06
gcollurapopey, I've tried to open a pdf from telegram using content-hub on docviewer and it worked18:21
popeygcollura: with the version from the store?18:22
gcollurapopey, docviewer? yep18:22
popeygcollura: yeah, i think the latest merge broke it.18:22
* gcollura tests18:22
popeyhttps://code.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/document-hub2/+merge/251166 that one18:22
seb128what's the recommended way to store simple settings for an application on touch?18:28
nik90bzoltan_, zbenjamin: do you know why http://imgur.com/CawsRSX happens?18:28
nik90seb128: either U1db or qt.labs.settings18:28
nik90seb128: I think qt.labs.settings might be better actually18:28
nik90seb128: http://doc.qt.io/qt-5/qml-qt-labs-settings-settings.html18:28
seb128nik90, thanks18:28
seb128do we use that in other places?18:29
seb128is that part of the sdk?18:29
gcollurapopey, what's the dependency to install for libpoppler?18:29
nik90seb128: it is shipped on the phone, ureadit uses it18:29
seb128nik90, thanks18:29
nik90yw18:29
popeygcollura: uhh check the debian/control file18:29
popeygcollura: quite a few build depends in thre18:30
popeyhi sverzegnassi :)18:33
sverzegnassipopey: o/18:33
popeysverzegnassi: did you see my latest comment?18:33
sverzegnassiyes, i'm looking for a way to test it on pc18:33
popeyok18:33
sverzegnassihttp://bazaar.launchpad.net/~ubuntu-filemanager-dev/ubuntu-filemanager-app/trunk/view/head:/README.contentHubDesktop18:34
sverzegnassipopey: do you know if it's still valid? ^^18:34
popeygosh, not done that for a while.18:34
popeysverzegnassi: if this has to wait until you get your device back, so be it.18:35
sverzegnassipopey: i want to give a try anyway :)18:44
gcollurapopey, I hope I built the .click correctly, but when I choose to open a pdf with docviewer-app, this doesn't show my pdf, just the homepage18:44
* gcollura checks logs18:44
popeygcollura: yes, thats the issue18:50
popeygcollura: i left a comment on the branch18:50
gcolluraI can't find anything related to this issue in the logs18:51
gcollurapopey, btw, my document support branch in telegram is shaping up nicely :) I hope to make it land by the end of the week18:51
sverzegnassigcollura: thanks for giving it a try!18:52
sverzegnassiI'm installing the emulator on my pc, I'll try to reproduce it and see what's wrong with it18:52
gcollurasverzegnassi, you're welcome! if you need more tests I'm here :)18:53
zsombicharles: so :) when do you think we coudl start working on this?19:24
charleszsombi: :)19:27
charleszsombi, possibly next week19:27
zsombicharles: whoaaaaah!!!! awesome!!! so, ping me whenever I have the DBus API in place!!! so I can start with the UITK backend19:28
charlesI'll need to think about this for a bit & decide how to do it19:29
zsombicharles: right, obviously... maybe you can use the same document to specify the API19:30
charlesack19:30
charlesI'm thinking about the porting question19:30
zsombicharles: porting question meaning to transfer old alarms into the new db?19:41
charleszsombi, yeah. we'll need to keep the old code around so that old alarms continue to work forever. But we can't keep them in both the old todo.ics and in (new location tbd) so we'll need to remove them from tasks.ics as part of porting19:42
charlesnot a problem, just means more code instead of less code19:44
zsombicharles: from DTI point of view, you may need this, however apps do no longer need the old DB once they migrate to teh new DB - well, only clock needs to so far19:44
zsombicharles: once we get this DB in the updates, the update itself can do the db transfer19:45
zsombicharles: so from that on, the old EDS-backend doesn't need to be used anymore19:45
charleszsombi, agreed, it'll improve things on the ui toolkit side, probably a no-op for clock-app, but more code for DTI19:45
charlesui toolkit and clock-app won't be part of the migration so they get off easier there19:46
zsombicharles: yes, as teh alarms will no longer go with EDS...19:46
zsombicharles: but as soon as we are ready to migrate, you can turn off the alarm-specific EDS hacks, and that's a releaf as well :)19:47
zsombicharles: ok, so put the API then in the doc, we can keep it as communication channel :)19:49
davmor2popey, mzanetti: right so I think I'm pretty much finished prodding things on reminders.  It looks like Tag and that login page are the only major issues I can find, less major is there is no way to delete a tag. So for now with the crashing and lack of account I would need to fail it.  But once those are fixed should be good :)19:53
davmor2Do you want bug reports for everything?19:53
mzanettidavmor2, thank you very very much.19:54
mzanettidavmor2, will fix those two. deleting tags is on my todo (same for deleting notebooks). it's a bit more complicated as I ned to either update all notes or prevent deleting etc19:55
mzanettiand make sure it's still syncable to the server afterwards19:55
popeydavmor2: yes, please to bugs19:55
mzanettiyep19:56
davmor2no worries19:56
zsombicharles kerr azt ígérte jövő héten nekilát az új alarm dbus apinak19:57
zsombicharles: haha, sorry, this was about what we talked, bad language :D19:59
nik90zsombi: hey here is the bug report https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1427714 that tracks the timers API in the SDK side20:04
ubot5Launchpad bug 1427714 in ubuntu-ui-toolkit (Ubuntu) "Clock app requires timers support from the platform" [Undecided,New]20:04
nik90zsombi: I would like to link it to the blueprint20:04
nik90zsombi: nvr mind, I just realized that it was a google docs you linked in the email20:05
nik90zsombi, charles: from the document, "We must provide ability to create alarms from other applications than the stock Clock application, so developers can create custom clock apps." .... that's evil! (j/k)20:10
davmor2popey, mzanetti: important ones https://bugs.launchpad.net/reminders-app/+bug/1427835 https://bugs.launchpad.net/reminders-app/+bug/1427830 https://bugs.launchpad.net/reminders-app/+bug/142783620:14
ubot5Launchpad bug 1427835 in Ubuntu Reminders app "TAGS: Edit tags and remove their titles then create a new tag crashes the app" [Undecided,New]20:14
ubot5Launchpad bug 1427830 in Ubuntu Reminders app "TAGS: Adding a first tag and removing it crashes the app" [Undecided,New]20:14
ubot5Launchpad bug 1427836 in Ubuntu Reminders app "ACCOUNT: in the drop down menu accounts → add account links to a blank page" [Undecided,New]20:14
popeythanks20:15
mzanettithanks :)20:15
popeynice one20:15
davmor2and one minor https://bugs.launchpad.net/reminders-app/+bug/142783720:18
ubot5Launchpad bug 1427837 in Ubuntu Reminders app "TAGS: no way to delete a tag" [Undecided,New]20:18
sverzegnassipopey: a question about the file importing in doc-viewer. When you download the file from browser-app, and you try to open it with docviewer-app, is the file shown in the document list?20:22
rpadovanipopey, wrt docviewer I only looked to the code, I was at uni and I don't have a chroot on that computer20:25
popeyrpadovani: np20:26
popeysverzegnassi: yes20:26
sverzegnassipopey: ok, there's no issue then, simply it doesn't load document :P20:26
sverzegnassiI emulated the same behaviour of gallery-app20:26
popeyoh.20:27
popeyGallery doesn't open images by default?20:27
sverzegnassias far as i remember when i tested content-hub with it, no20:27
sverzegnassithe issue is that there's a kind of animation when user imports a file in gallery-app20:28
sverzegnassibut in docviewer there isn't20:28
* popey tests20:47
popeyyou're right!20:48
popey(of course)_20:48
sverzegnassiso it's hard to spot the imported file in docviewer. that's really an issue. I'm not sure if it'd be better to automatically open the imported document20:51
popeynope, this is good enough20:51
* popey re-approves20:52
popeywe should land this :)20:52
rickspencer3hey all, so I just updated finally, and I guess something changed in the AP tests?21:00
rickspencer3AttributeError: 'MainViewTestCase' object has no attribute 'main_view'21:01
rickspencer3?21:01
sverzegnassipopey: can I top-approve it then?21:04
popeyyes21:04
=== salem_ is now known as _salem
ahoneybunpopey, ping21:35
popeyhello ahoneybun21:36
ahoneybunpopey, I had the emulator working yesterday :)21:37
zbenjaminnik90: something in the detection code i guess21:48
zbenjaminnik90: not really sure what is causing it, because it does not happen always21:49
nik90zbenjamin: its not a big deal tbh, but just decided to inform you.21:49
zbenjaminnik90: could you file a bug for that?21:50
nik90zbenjamin: sure21:50
zbenjaminnik90: thanks21:50
sverzegnassibranch merged! \o/22:14
sverzegnassithank you rpadovani and popey!22:14
popey\o/22:14
popeyThanks sverzegnassi!22:14
rpadovanikeep up the great work sverzegnassi :-)22:14
popeyAwesome work.22:14
sverzegnassiI promise not to propose so huge MPs :P22:15
popeyhehe22:15
popeyso, shall I upload to the store ?22:15
popeyhaha, store has r55, you're on r85!22:16
sverzegnassipopey: yes, now trunk has multithreading, zoom and works as content-hub source and destination22:16
popeyhmm, do we have a lot of strings added?22:16
sverzegnassiaround 20 i think22:16
popeyok.22:16
popeyhmmm...22:17
popeywe should really get the translations updated first.22:19
popeyyeah https://translations.launchpad.net/ubuntu-docviewer-app22:20
sverzegnassiyes, seems reasonable!22:20
popeyI'll send a request to the translations mailing list now.22:20
popeyand I will keep a close eye on the translations and upload to the store once we have better coverage.22:21
sverzegnassiOk, I'll propose some string for the Italian translation22:21
popeythanks!22:22
ahoneybunpopey, I'm trying to branch the docviewer and bzr is giving me a error22:22
ahoneybununexpected end of message22:22
popeywfm22:24
popeyalan@deep-thought:~⟫ bzr branch lp:ubuntu-docviewer-app22:24
popeyBranched 86 revisions.22:24
ahoneybunpermission denied (publickey)22:25
popeyodd22:25
ahoneybunpopey, http://pastebin.ubuntu.com/10520206/22:26
popeysverzegnassi: reading the manual for my phone, on my phone http://people.canonical.com/~alan/screenshots/device-2015-03-03-222712.png22:27
popey:)22:27
sverzegnassiwe should update screenshots in the store :D22:28
popeyyes!22:29
popeysverzegnassi: I'll do that on next upload22:31
popeyloving this  http://people.canonical.com/~alan/screenshots/device-2015-03-03-223030.png22:31
sverzegnassigreat!22:31
ahoneybunsweet22:32
ahoneybunpopey, it might help if I set up ssh lil22:32
ahoneybun*lol22:32
popey:)22:34
ahoneybungot it22:35
ahoneybunseems I'm missing some qt5 component22:36
sverzegnassiahoneybun: do you talk about docviewer?22:37
ahoneybunyea22:37
ahoneybunI installed libpoppler and that fixed that error22:38
ahoneybunbut now something else is missing22:38
sverzegnassiyou need qtdeclarative5-private-dev:armhf qtbase5-private-dev:armhf too22:38
ahoneybunarm?22:38
sverzegnassi(delete :armhf if you don't use the armhf kit)22:38
ahoneybunok that fixed that thanks sverzegnassi !22:39
sverzegnassiahoneybun: you're welcome!22:40
ahoneybunoh wow22:40
ahoneybunthis is better then most android pdf readers22:40
sverzegnassiglad to hear that :)22:41
ahoneybundoes the search not work yet?22:41
sverzegnassiNo, it doesn't work. tbh i have some code from the late october, but i didn't upload it since i got other things to solve first22:42
ahoneybunstill great work overall though22:42
ahoneybunsverzegnassi, popey http://imgur.com/FVPhcfF22:44
popeywoah22:44
sverzegnassii love its design! :P22:47
popeyheh22:51

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