/srv/irclogs.ubuntu.com/2014/11/25/#ubuntu-app-devel.txt

=== johnlage_partyha is now known as johnlage
akiva-thinkpadwxl, whats a linuxy term for "moderation tools"01:07
wxlakiva-thinkpad: what are you moderating? :)01:07
akiva-thinkpadsubreddit01:08
akiva-thinkpadeditting the stylesheet01:08
wxlhmmmm01:08
wxli don't think there's a particularly linuxy term :)01:08
akiva-thinkpadwell moderator sort of equals root01:08
wxlroot, i.e. /?01:09
wxlso you're asking about tools to edit /?01:09
akiva-thinkpadyah something like that01:10
wxlum01:10
wxlsudo? :)01:10
akiva-thinkpadis there a sudo config?01:10
wxlwell01:11
wxlall the global config files are not in home01:11
wxlso you need sudo access to edit them01:11
akiva-thinkpadGeepers #ubuntu is touchy01:11
akiva-thinkpaddon't go asking anything in there01:11
wxlthe channel? i wouldn't be surprised01:11
wxli've been in there only a handful of times and found it generally not helpful01:11
akiva-thinkpadI got booted01:11
wxlhahha01:12
wxlwhat the hell did you do to deserve that?01:12
akiva-thinkpadI asked the same question I asked you01:12
akiva-thinkpadhe said off topic01:12
akiva-thinkpadI said it was for the ubuntu subreddit01:12
akiva-thinkpadand then he booted me.01:12
wxlweird01:12
wxlmaybe too many trolls for one day01:12
akiva-thinkpadyah sheesh; that is not nice though. he could pm me first or something01:12
akiva-thinkpadwow; banned from #ubuntu01:19
akiva-thinkpadServes me right :P  In their defense; "A linuxy word for moderation tools" is pretty off topic02:01
akiva-thinkpadwxl, so you ready to move to the next step? Or have you gone ahead without me?02:01
ahayzenakiva-thinkpad, in regards to runnnig tests within the SDK, i reported this a while back bug 126989202:02
ubot5bug 1269892 in qtcreator-plugin-ubuntu (Ubuntu) "Add option to "Run tests on device"" [Wishlist,Confirmed] https://launchpad.net/bugs/126989202:02
akiva-thinkpadahayzen, oh cool02:03
* akiva-thinkpad upvotes it02:03
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
wxlakiva-thinkpad: sorry work called and then i left :)04:49
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== dholbach_ is now known as dholbach
=== chihchun is now known as chihchun_afk
JamesTaitGood morning all; happy Shopping Reminder Day! :-D10:15
=== _salem is now known as salem_
=== la_juyis` is now known as la_juyis
brendandnik90_, did you know that the bottom edge tip only appears after the main page has fully loaded? (clock app)13:07
brendandnik90_, are you still using a custom version of PageWithBottomEdge?13:40
=== rmescandon is now known as rmescandon|lunch
rpadovanibrendand, why, there is an official one?14:19
ahayzenrpadovani, the one in the contacts app is the 'official' one, no?14:21
rpadovaniahayzen, I think so, afaik it's the one nik90 uses (and we in reminders too)14:21
ahayzenrpadovani, yeah thats the one i based our prototype off as well and where we got the base of our ListItemWithActions14:22
rpadovaniahayzen, I think we all steal like everything from the contacts app components :P14:22
ahayzenrpadovani, yep :) i think everyone else does as well :)14:22
rpadovanibrowsers uses / will use  ListItemWithActions for History :)14:23
ahayzenrpadovani, other apps (like Dialer) seem to actually import the contacts folder and then use things like PageWithBottomEdge.. http://bazaar.launchpad.net/~phablet-team/dialer-app/trunk/view/head:/src/qml/DialerPage/DialerPage.qml#L2414:24
ahayzenrpadovani, i guess they've just put them all in one app so all the other apps can easily access them14:24
rpadovaniso I'm curious what brendand is referring to14:25
brendandrpadovani, clock app has a PageWithBottomEdge.qml in its source tree14:25
brendandrpadovani, the code is almost the same as the one in address-book-app14:25
ahayzenyeah idk, unless nik has tweaked it like we usually have to as they do't quite meet our needs usually14:25
rpadovanibrendand, there is another way to implement it other than import it in the source tree?14:26
mihireven we're using the custom one.14:27
mihirin calendar app14:28
mihirrpadovani: importing works , but if they change something will impact your application and it MIGHT break it.14:28
ahayzen+14:28
ahayzen114:28
ahayzenand we usually need to tweak/add things anyway14:28
rpadovaniyes, we too14:29
rpadovaniI'm bit confusing, I lost the sense of this conversation, lol14:30
mihirso it is advisable to just copy the latest source from address-book app and put in your project14:30
ahayzenrpadovani, i think you were wondering why brendand was curious if nik was using a custom version of PageWithBottomEdge ?14:32
mihirand as i have read conversation previously and nodded by rentu , this will eventually be part of SDK (Not confirmed)14:33
t1mpmihir: yes, we will eventually add more functionality for bottom-edge behavior (in addition to the current Panel component) to the UITK14:35
=== rmescandon|lunch is now known as rmescandon
t1mpmihir: but I don't know yet when is eventually, probably not in 201414:35
mihirrpadovani: ahayzen ^^^14:35
ahayzen\o/14:35
* mihir t1mp: yeah i was informed by renetu regarding this.14:35
ahayzenand we'll get the new listitems soon :)14:36
ahayzen...and eventually reordering :) ..then a *lot* of custom code can die14:36
t1mpbut we don't want to limit the imagination of the app developers by suggesting that they should use some kind of pre-defined bottom-edge behavior14:36
t1mpahayzen: true, zsombi has a lot of code for the new list items that I am still reviewing. But that is something that you may expect in 2014 :)14:37
ahayzent1mp, would be great to see that :)14:37
t1mpahayzen: look at all the MRs starting with numbers here https://code.launchpad.net/ubuntu-ui-toolkit/+activereviews they are for the list items14:38
t1mpI am reviewing 45- now, still a bunch to go :)14:38
ahayzen\o/14:38
ahayzent1mp, is this bug 1195353 likely to be fixed in the first round or a future one? as we have basic reordering in music at the moment14:40
ubot5bug 1195353 in ubuntu-ui-toolkit (Ubuntu) "SDK should provide support to rearrange items in a ListView" [Medium,Triaged] https://launchpad.net/bugs/119535314:40
t1mpahayzen: not in the first bunch of MRs that will land, I'm not sure about the second set of MRs14:41
t1mpzsombi: ^14:41
zsombit1mp: ahayzen: that needs more than just a ListItem support14:41
zsombit1mp: ahayzen: it also needs support from the ListView, so we either provide some custom ListView or will try to figure out how an attached property could do the job14:42
zsombiso not the first round, sorry14:43
t1mpahayzen: how does the music app do it?14:43
ahayzenzsombi, no worries we can keep our custom implementation over the top14:43
ahayzent1mp, slightly hacky but it works... it freezes the listview... then you drag the listitem up/down then on release it calc's where it should land and calls the move14:44
ahayzent1mp, limitation is that it doesn't allow you to move items out of the current viewport14:44
t1mpahayzen: hmm.. would it be easy to detect when you are holding the dragged list item near the top of the view, and scroll the listview depending on that?14:45
ahayzent1mp, probably... but when i built this was when we had differring listitem heights which caused some fun shall we say14:45
ahayzennow they are all the same i should probably look at it again14:46
zsombiahayzen: you can do move them out, and the ListView will scroll, but you need a fake item you use for that, and you may also need animations dor the displaceds14:46
ahayzenoh yeah otherwise it gets destoryed as well that was the other thing :)14:47
zsombiahayzen: but yeah, similar to that is needed by us to provide14:47
zsombiyep14:47
t1mpzsombi: basically we just need to have a property bool reorder in UbuntuListView and we're done ;)14:47
ahayzeni should really look at this again as i did it ages ago when i had less understanding of things14:47
zsombit1mp: aha... if that would be that easy...14:47
t1mpzsombi: all the rest are just implementation details >;p14:47
zsombihaha14:48
ahayzentbh i don't think much of ours goes up the listview much now as we piggy back the multiselect mode from ListItemWithActions14:49
ahayzenwe just have a reorderable property and a onReorder signal14:50
ahayzenbut to do it properly may be more complex ;) lol14:50
ahayzenzsombi, are you using async loaders for the listitem actions? as we found that increased the performance quite a bit?14:52
zsombiahayzen: ;)14:52
zsombiahayzen: no, we load them only when needed, so when you swipe14:52
zsombiahayzen: also, you can share the actions panel between ListItems14:53
ahayzenah cool :) ... we ended up tweaking the ListItemWithActions quite a bit lol14:53
zsombiahayzen: yes, and can get few milisecs more, but the problem is that by simply declaring an item inside the other one, that increases the creation time quite a bit14:54
ahayzenyeah :/ we did loads of things to the listitem and our delegate and managed to reduce the time for each delegate from ~160ms->15-20ms :) thanks to florians help :)14:55
nerochiarobfiller: https://code.launchpad.net/~phablet-team/camera-app/photo-editor/ and https://code.launchpad.net/~phablet-team/ubuntu-ui-extras/photo-editor15:37
bfillernerochiaro: thanks15:38
nerochiarobfiller: i mostly tested on desktop so far, there might be some things that are still a bit broken on devices15:38
mzanettirpadovani: do you know if swordfish is around sometimes here?15:38
rpadovanimzanetti, I see him sometimes, but if you need him I have his phone number15:43
mzanettiI don't *need* him. just wanted to show him this: http://i.imgur.com/jdjHlVk.jpg15:44
rpadovanimzanetti, you probably can find him on google hangouts15:45
nerochiarobfiller: and work in progress for the work on the gallery here: ~phablet-team/gallery-app/gallery-app-photo-editor/16:25
nerochiaroKaleo: ^16:25
bfillernerochiaro: thanks, please make sure to test on the device16:25
nerochiarobfiller: will do. am I right in assuming that the ubuntu-ui-extras package is always installed in the image, the same way the ubuntu-ui-toolkit is ?16:26
bfillernerochiaro: that is fine16:26
bfillernerochiaro: we will add it to the seed16:26
nik90_brendand: that's known (bottom edge  is revealed only after the main clock page is fully loaded)16:37
nik90_brendand: it was done to improve the startup performance...the AP tests have already been updated to take into account of that16:37
brendandnik90_, have they?16:37
nik90_brendand: they wait for the bottom edge to be visible before trying to grab them16:37
nik90_brendand: yes, otherwise that performance patch will never have been merged to trunk16:38
brendandnik90_, i don't think it was done properly16:38
nik90_brendand: it is a simple wait_for(bottomedge property visible to be true)16:38
brendandnik90_, that's not what's in trunk16:38
nik90_pretty sure it is since I wrote that test16:38
nik90_let me find it16:38
brendandnik90_, that's what i just proposed a merge to fix16:38
brendandnik90_, in trunk it's doing:16:39
brendand8-            action_item.hiden.wait_for(False)16:39
brendand9-            action_item.enabled.wait_for(True)16:39
brendandwhich doesn't work16:39
nik90_why doesnt that work?16:40
nik90_that's something I copied from address book16:40
brendandnik90_, yeah it works for them because they load the bottom edge immediately16:40
nik90_it waits for bottom edge hidden property to be false16:40
brendandnik90_, so it's pure coincidence16:40
brendandnik90_, i'm not 100% on why it doesn't work, i don't know enough about the PageWithBottomEdge component16:40
nik90_brendand: ah ok...I just saw your merge proposal16:41
nik90_brendand: I think I may have a clue as to why it fails16:42
nik90_so when I enable bottomedge, it has an slide in animation...maybe ap is trying to pull on the edge while that animation is still happening causing a hit and miss16:43
brendandnik90_, well it does wait for the animation to finish16:43
nik90_I have not been able to reproduce the failure on my laptop as also proved by jenkins which always passed16:43
brendandnik90_, or try to anyway16:43
brendandnik90_, well that could just be luck with the timing16:43
brendandnik90_, on device it always fails16:43
nik90_well not really..since the enabled property could be true while the animation is still happening16:44
nik90_I guess...although passing for weeks now is not luck :D16:44
brendandnik90_, what's the purpose of 'action_item.isAnimating.wait_for(False)'16:44
nik90_ooh that I added (and forgot about it)16:45
nik90_so it does take care of the animation16:45
nik90_brendand: do you need me to top-approve? or elopio, do you want to do it ^^ ?16:47
brendandnik90_, waiting for the jenkins tests to run16:48
nik90_ack.16:48
nik90_hmm it has been waiting for an hour16:49
nik90_that's strange16:49
beunojdstrand, FWIW, review scripts @ r298 in the store17:36
jdstrandbeuno: cool, thanks18:07
mihirrpadovani: around ?18:09
rpadovanimihir,  skype, 15 min18:10
mihirrpadovani: just wanted to discuss regarding Calculator , no hurry. Ping me if I am available.18:10
rpadovanimihir, o/18:33
Letozaf_popey, hey! I have to go away this evening but didn't want to miss filemanager app meeting, at what time is it ? I will try to be on IRC18:35
balloonsmihir, you about?20:09
aquariusmhall119, ping?23:12

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