/srv/irclogs.ubuntu.com/2014/06/19/#ubuntu-unity.txt

=== shiznix_ is now known as shiznix
dednickSaviq: re: active call indicator - I'm going into the office tomorrow to show designers what I've got. If they're happy, we're happy.07:45
Saviqdednick, kthxbai07:47
Saviqtsdgeos, hey, one more chevron is too big - the "go back to parent" one07:51
tsdgeosah right07:51
tsdgeostoo many of them07:51
tsdgeospused07:53
tsdgeos+h07:53
dednickwhat's with the freaky new indicators on desktop...07:53
* Saviq reboots07:53
dednickthey're like... buttons.07:54
Saviqdednick, sounds like you lost the theme? look the same here...07:56
dednickSaviq: yeah. that would probably track with what i'm seeing in other apps...07:56
Saviqmhr3, hey, do you know if it's on purpose that there's only headerless categories in the amazon scope now?08:02
Saviqmhr3, also, it seems the dept hierarchy in amazon is rather fragile... I just ended up in a category with no depts :|08:04
Saviqmhr3, although it looks like the query was good http://paste.ubuntu.com/7667799/ :|08:05
mhr3Saviq, what category was that?08:10
mhr3too much stuff in the log08:10
Saviqmhr3, the last one08:10
Saviqmhr3, I pasted the log as I was looking at a category with no depts08:11
Saviqtsdgeos, are we confident in childrenRect.height? wasn't it the case that it didn't update with the children changing size?08:11
tsdgeoshmmmm08:11
Saviqtsdgeos, I'm not seeing any artifacts of that in the behaviour, just asking08:12
tsdgeosi think there may be a problem if it shrinks08:12
tsdgeosdon't recall right now08:12
tsdgeosbut everywhere i've used lately seemed to work fine08:12
Saviqtsdgeos, now I remember08:12
Saviqtsdgeos, it was a specific case where anchors made the children grow, but shrinking didn't go back due to the children actually keeping the grown size08:13
Saviqtsdgeos, I'd have to think again to remember exactly what was happening, but yeah, it was some circular dep basically08:14
tsdgeosyeah i've seen that08:14
tsdgeossome min of childrenrect and stuff08:15
tsdgeosand then the parent makes the child big08:15
tsdgeosdon't remember the exact sceneario either08:15
tsdgeosSaviq: just pushed a fix for swipe down to close two finger08:16
tsdgeoswhen you have time08:16
Saviqtsdgeos, great, thanks08:16
Saviqaaargh f*cking disappearing firefox... who broke unity :|08:17
tsdgeosmy internet is specially unstable today :/08:19
Saviqtsdgeos, we need a bit more margin between the "go back" chevron and the label08:19
Saviqhttps://f966f709-a-c881af26-s-sites.googlegroups.com/a/canonical.com/unity8dash/toolkit/2-navigation/02_Amazon_nav-01.jpg08:20
tsdgeosok08:21
tsdgeoscan do08:21
tsdgeosSaviq: i'm going to 0.5gu08:23
tsdgeosi know you hate decimal gus08:23
Saviqtsdgeos, .5 is fine08:23
tsdgeosbut we're always going to have pxtogu > 208:23
tsdgeosso it should work08:24
tsdgeospushed08:24
Saviqtx08:24
Saviqarg08:33
mhr3Saviq, can't rep, you're getting different deps than in uk08:36
Saviqmhr3, k, let's see if we can get it later08:36
mhr3Saviq, were you at least able to recover from it?08:37
Saviqmhr3, reopen the scope :|08:37
Saviqmhr3, wouldn't be good on a favourited one08:37
Saviqtsdgeos_, re: nullifyDepartment, why don't we just want to drop the delegate to the left as well? are we keeping the "history" of delegates all there?08:38
mhr3Saviq, tried entering search and clearing?08:38
Saviqmhr3, right, that would probably help as well08:38
Saviqmhr3, but seeing as the query came back with departments, it looked like something broke closer to the UI (either plugin or dash UI)08:38
tsdgeos_Saviq: it's hard to make the listview play nice with us if you remove the thing on the left08:39
tsdgeos_doesn't like prepending stuff, et al08:39
Saviqtsdgeos_, mhm :|08:39
tsdgeos_Saviq: don't remember the exact problem, but it's what i originally had08:39
Saviqtsdgeos_, the delegates are destroyed anyway, so it's probably fine08:40
Saviqtsdgeos_, any reason why not Flickable { Column { FooButton { } BarButton { } Repeater { } } }08:41
tsdgeos_Saviq: "free" animation between columns when changing current index08:42
mhr3Saviq, can we have a quick chat about customizations + cache later today?08:42
Saviqmhr3, tomorrow, I'm actually supposed to have a holiday today08:42
mhr3heh, ok08:42
Saviqtsdgeos_, not sure what that means, we're switching the whole delegate anyway?08:43
tsdgeos_i mean the horizontal animation when going up/down08:43
tsdgeos_listview takes care of that08:43
Saviqtsdgeos_, yes08:43
Saviqtsdgeos_, I mean in DashDepartmentsList08:43
tsdgeos_ah08:43
Saviqtsdgeos_, you have a Flickable, two (conditional) buttons and a Repeater there08:44
tsdgeos_yep08:44
Saviqtsdgeos_, and calculate height / anchor / calculate y and all kind of things that column would do for you?08:44
tsdgeos_right08:45
tsdgeos_no reason other than i didn't think about it08:45
Saviqtsdgeos_, no need to change height then either, column disregards invisible items08:45
tsdgeos_can try changing if you want08:45
Saviqtsdgeos_, yeah, it will be like 20 lines less and less complicated08:45
tsdgeos_ook08:45
* tsdgeos_ does08:45
tsdgeosmhr3: so https://code.launchpad.net/~unity-api-team/unity-scopes-shell/department-support/+merge/222345 looks good to me, do you want me to top approve or wait for someone else?08:50
mhr3tsdgeos, feel free to top, anyway pete and pawel are holidaying08:51
tsdgeosSaviq: it's not that many changes, no? only http://paste.ubuntu.com/7668003/08:58
tsdgeosyou see anything else that'd change?08:58
Saviqtsdgeos, sounds about right08:59
tsdgeosok then08:59
tsdgeosnot a huge improvement, but better still08:59
Saviqyeah, less crazy stuff :D09:00
tsdgeosbut something broke horribly09:01
* tsdgeos checks09:01
Saviqtsdgeos, some small comments inline on the MP09:06
tsdgeosok09:06
Saviqmhr3, tsdgeos, FYI, mikenagle is having a play with departments now, will comment on Albert's MP09:52
Saviqthostr_, ↑09:52
tsdgeosSaviq: pushed + answered on the departments thing10:12
tsdgeosSaviq: cool, let's see what mikenagle thinks :D10:17
mhr3> Why do we need this? Wouldn't model: department just work? Do we need to wait for it to be loaded?10:20
mhr3Yes, i don't want stuff to appear one by one in case the model loads very slowly10:20
mhr3tsdgeos, ^^ backend-wise it's already binary10:20
mhr3the model is either empty and !loaded, or filled in && loaded10:21
Saviqtsdgeos, saw mhr3's response?10:26
tsdgeosnah10:26
tsdgeossad internet today10:26
Saviq<mhr3> > Why do we need this? Wouldn't model: department just work? Do we need to wait for it to be loaded?10:26
Saviq Yes, i don't want stuff to appear one by one in case the model loads very slowly10:26
Saviq tsdgeos, ^^ backend-wise it's already binary10:26
Saviq the model is either empty and !loaded, or filled in && loaded10:26
Saviqmhr3, tsdgeos, in any case, this way it's more future-proof, in case you start lazy-loading them10:27
tsdgeosah10:27
tsdgeosok10:27
Saviqtsdgeos, still don't know how index == currentIndex is different than ListView.isCurrentItem ;)10:28
Saviqtsdgeos, the "I want to wait for the transition to finish" is handled by x  == contentX10:28
tsdgeosSaviq: ah damn, i thought you were speaking about the other part10:28
Saviqtsdgeos, yeah, thought so10:28
tsdgeosactually with the other part i don't even need that i think10:29
tsdgeoslet me check10:29
Saviqprobably10:29
Saviqtsdgeos, did you have a look at http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Components.ListItems/ ? those look kinda like everything you need (with the exception that the left icon would probably end up being too big...10:31
Saviqtsdgeos, so I'd be fine with "TODO: check if SDK ListItems could be use here" fornow10:32
tsdgeosi did look there yes10:32
tsdgeosi mean it provides what exactly that would save me any code?10:32
Saviqtsdgeos, in any case - if it does *not* help us, we need to make it so that it does10:33
tsdgeoscorrect10:34
tsdgeosok, i'll add the TODO, ok?10:34
Saviqyup10:34
Saviqtsdgeos, because it's just a damn shame that we have to do it manually when the pattern is used across the board10:34
Saviqwe should just be able to do10:34
tsdgeoscorrect10:35
SaviqListItem { leftIcon: "foo"; text: "bar"; rightIcon: "bar" }10:35
Saviqand be done with it10:35
tsdgeosStandard would be it maybe10:36
tsdgeosbut doesn't have the backicon and stuff10:36
tsdgeosSaviq: ok, removed  index == departmentListView.currentIndex10:41
Saviqtsdgeos, well, backicon you could do, but there's no way to add a custom icon on the right10:55
Saviqmhr3, I just saw the "Get more apps" card in Apps... it's medium instead of large? and has transparent grey background, that expected?11:00
mhr3Saviq, was asking apps guys about that, they said it's temporary cause dash doesn't support what they want11:01
Saviqmhr3, what is it they want?11:01
Saviqmhr3, it's wrapped, elided, it's just bad right now11:01
mhr3https://f966f709-a-c881af26-s-sites.googlegroups.com/a/canonical.com/unity8dash/scopes/app-scope-home/app-scope-landing-page/01_Home_apps_store_scope.jpg?attachauth=ANoY7cpK1NvR0ZTsFyIXnZaKtcG2FSSY_cyU5yEdv-Xht60QMZ8PALgaBxN3HEIBoG6lzO45JQ2IoF-fagQuvVtjJIJn2g7JPlDr6RZZPTENKfu9uNzXWkHqdloDqYeINZa2Vyl4mcmaoeIXy_BK1G8H6W_PVwq7FTeqn8eW-kllBkw5OP8nws_JTfy2fKeeEzKj0FUmqhFyVpmr9wzrOLxYuHBUbDNG2EkDwKxAvoy3Z3DfaCmNDdfQkDy8713Bo11:01
mhr35CmF224NEFg478xcqQRF6ohRhTiBtDFbh9WNbyM0B8VsHxKch7LaFk%3D&attredirects=011:01
mhr3Saviq, http://goo.gl/DOVGvO11:02
Saviqhmm ok that's news to me, last I checked it was meant to be a full-width card :|11:03
Saviqwhat's on this image doesn't look like anything that's planned to work :|11:04
mhr3Saviq, spec says Sm_ARt_Header_Vertical11:04
Saviqmhr3, except there's no overlay background11:05
mhr3with title overlay11:05
Saviqmhr3, yeah, but overlay requires some background, this one doesn't have it11:05
mhr3wasn't there one customization param for that?11:06
Saviqmhr3, solid background11:06
Saviqmhr3, not transparent, because then we can't know what foreground colour to use11:06
CimiI will spend the rest of my life in this file11:07
mhr3Saviq, meh, it's ubuntu orange11:07
Saviqmhr3, it's not, it's transparent ;)11:08
mhr3visual bug :P11:08
Saviqif you say so ;)11:08
Saviqbut yeah, we can do that with a solid overlay background11:08
Saviqmhr3, should I see "allLabel" in the proxy log?11:10
mhr3Saviq, if it's != label11:10
Saviqmhr3, that's what Mike noticed that the bold label is not "All books" but "Books"11:10
mhr3scope bug11:10
Saviqk11:11
mhr3facundo should be here11:11
CimiSaviq, I recommend to approve and merge emblem11:11
CimiSaviq, then we wait for this rewrite11:11
SaviqCimi, you "recommend" meaning that you couldn't do what I asked you to?11:12
CimiSaviq, yeah11:12
CimiSaviq, need more time11:12
CimiSaviq, and we have a reference code that works11:13
CimiSaviq, so it is easier to spot regressions if I mess up with this11:13
Cimiotherwise wait more :)11:13
Cimii hope to finish today11:13
facundobatistabuenos días a todos!11:14
SaviqCimi, I'm finishing up for today anyway11:14
Saviqtsdgeos_, ACK from me11:14
Saviqmhr3, ↑11:14
Saviqthostr_, ↑11:14
mhr3wooo :)11:15
Saviqso unless Mike says NACK, you can land11:15
* Saviq rebuilds unity8 though11:15
mhr3i'll be heading to the office, see what mike says11:15
tsdgeos_great11:15
mhr3Saviq, i'll do it11:15
Saviqmhr3, ok11:15
Saviqmhr3, thostr_, you will execute the unity8 TestPlan of course? :)11:17
* Saviq just added to the landing line11:18
mhr3Saviq, of course! ;)11:18
Saviqo/11:19
mhr3facundobatista, ehm12:03
mhr3facundobatista, https://dash.ubuntu.com/smartscopes/v2/amazon/search?q=&session_id=session_id&query_id=0&platform=phone&locale=en_US12:03
mhr3just departments, no results12:03
mhr3what the? ^12:03
facundobatistamhr3, amazon fuzzy behaviour? I just tried it and got one result12:05
mhr3facundobatista, apparently it's the query_id=0 that blows it12:05
facundobatistammm12:05
facundobatistamhr3, it shouldn't... query_id is just converted to int if there (so '0' is ok), and not used at all in the scope12:07
* facundobatista tries it locally12:07
mhr3caching issue?12:07
mhr3facundobatista, what is the id even used for?12:09
mhr3we seem to be passing 0 all the time12:09
mhr3marcustomlinson, ^?12:09
marcustomlinsonmhr3: integer incremented for each subsequent query in a session12:10
marcustomlinsonmhr3: we haven't even got session_id implemented12:10
mhr3marcustomlinson, nope, query_id is always 0 in the request12:11
marcustomlinsonmhr3: yes, I'm saying its not implemented12:11
facundobatistamhr3, when it's implemented, we will use it to gather stats between searches and previews12:11
facundobatistamhr3, like "oh, see, if the images are > N pixels wide, the preview hit rate goes up by M%!!"12:12
mhr3seems too much to require per-session ids AND sequence number within that session12:12
facundobatistamhr3, in any case, it's not breaking the query12:12
mhr3it is for me12:13
mhr3facundobatista, does this help? http://paste.ubuntu.com/7668748/12:14
facundobatistamhr3, you have different results without the query_id parameter?12:14
mhr3yes12:14
facundobatistait may be caching, yes, let me see12:16
facundobatistamhr3, can you issue both queries from your machine using "curl -i", please?12:16
=== alan_g is now known as alan_g|lunch
mhr3facundobatista, http://paste.ubuntu.com/7668758/12:17
facundobatistamhr3, that is not with and without the query_id parameter12:20
facundobatistamhr3, that is with different value12:20
facundobatistamhr3, "query_id" is not used at all in the amazon scope12:20
mhr3same thing12:20
mhr3http://paste.ubuntu.com/7668767/12:20
facundobatistamhr3, right, same thing, that implies that the parameter is not breaking the query12:21
mhr3it implies that the cache is broken for query_id=012:21
facundobatistaah, mmm12:23
mhr3fwiw some of these were cache misses when i started12:24
facundobatistamhr3, I will investigate this cache issue12:24
mhr3thx12:24
=== alan_g|lunch is now known as alan_g
elopioping @unity. Can somebody review this one please?13:21
elopiohttps://code.launchpad.net/~elopio/unity8/flake8/+merge/22349513:21
tsdgeosit has lots of stuff i don't like13:22
tsdgeosprobably has one of those silly "we live in the 70s and you're using a 80 column terminal to edit this so let's wrap the line" rules13:23
tsdgeosso you'll find someone else to approve it13:23
* kgunn takes note to get tsdgeos and duflu in a cage match over 80 col topic ;)13:28
tsdgeoskgunn: i honestly don't care, just unhappy people destroy history over small stuff like that13:29
mhr3mikenagle, ping?13:41
mhr3mikenagle, are you in a meeting somewhere? can't find you13:42
Cimimhr3, he's not in the office13:44
mhr3Cimi, oh?13:45
Cimimhr3, you went to the office for nothing13:45
Cimimhr3, I'm taking piss... I don't know really :P13:45
mhr3Cimi, anyway i mostly wanted lunch for borough market :P13:46
mhr3from*13:46
Cimiahaha13:46
mhr3Cimi, ah, cheeky bastard! :P13:46
elopiotsdgeos: it's pep8, not a small thing :D13:58
elopioall the rules of the python civilization are built on top of it13:59
tsdgeoselopio: that's why i'm not against it, just not approving it ;)14:04
seb128Saviq, should unity8 in silo 008 be rebuilt with the new mir?14:12
tsdgeosseb128: i think he said he was off for the day14:13
tsdgeosseb128: but afaik we're landing departments first14:13
tsdgeosmhr3: are we?14:13
tsdgeosdid anyone find mikenagle so he can ack/nack?14:13
seb128tsdgeos, well, that silo is a test one, no landing planned yet14:13
tsdgeosah :D14:14
* tsdgeos hides14:14
mhr3tsdgeos, yes, landing right now14:14
tsdgeosmhr3: awesome \o/14:14
mhr3seb128, ^^14:14
seb128tsdgeos, mhr3: thanks14:15
CimiSaviq, did you see my comment yesterday on how to turn on infographics?14:16
mikenagletsdgeos - saviq got hold of me - just been in a lot of meetings14:16
SaviqCimi, yes I saw that, we still need to wait for Pete to say why it doesn't work14:20
CimiSaviq, well camera doesn't work14:20
CimiSaviq, infographics on shell do14:20
SaviqCimi, it should work on others as well (through a compatibility layer)14:20
Saviqseb128, no need to rebuild u8, no, not until 5.3 lands, which should happen later today14:20
Saviqseb128, only unity-mir would need rebuilds against new Mir14:21
CimiSaviq, so we wait till pete fixes issues in the service?14:21
seb128Saviq, k, thanks14:21
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
=== mhall119_ is now known as mhall119
tsdgeos_arggg internet!15:52
tsdgeos_enough internet disconnections for today15:59
tsdgeos_!15:59
* tsdgeos_ waves15:59
kgunnmterry: hey, boot anim looks good to me16:23
mterrykgunn, oh awesome!16:23
mterrykgunn, I'll mark that silo as tested then.  Seemed fine to me yesterday too16:24
kgunnhave you test n10 ? i was gonna test it real quick...n4, n7 look fine16:24
mterrykgunn, no I haven't recently16:24
kgunn5 min and i'll have it16:24
mterrykgunn, OK16:24
mterrykgunn, I believe the icon will appear smaller than you'd like.  But that's a filed bug that MacSlow will hopefully have time for16:24
kgunnack16:25
=== gatox is now known as gatox_lunch
MRRpchello is there anybody to help me :)16:39
mterrykgunn, any luck with n10?16:48
kgunnmterry: just finished...all good16:48
mterrysweet16:48
kgunnship it16:48
mterrykgunn, how was icon size?16:49
kgunnfine16:50
mterryoh good.  Maybe MacSlow doesn't need to do anything after all16:53
=== alan_g is now known as alan_g|EOD
kgunnmterry: do you have an opinion on the last comment on this mp ?17:08
kgunnhttps://code.launchpad.net/~albaguirre/unity8/use-new-display-power-state-interface/+merge/21955217:08
=== gatox_lunch is now known as gatox
facundobatistamzanetti, ping, remember that tool you told me about in Malta? How was it named? I have a Utopic machine, I can use it :)  thanks!17:48
=== kgunn is now known as Guest13280

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