/srv/irclogs.ubuntu.com/2013/07/01/#ubuntu-unity.txt

adiehi02:13
adieI am trying to set a msg count number in hexchat with python launcher.set_property ('count', count), and it works the first time, but if I reload the script is breaks like this: http://pastebin.com/raw.php?i=eudXgAcG02:15
adieI was wondering if there was something I can do to clear out whatever is preventing the script from working upon second launch02:16
adieI just think it's kinda weird that I can load test.py and it works, but if I unload/load it a second time, it breaks02:16
=== jamesh_ is now known as jamesh
mzanettiSaviq: yep. its networking issues in the lab. veebers is filing a ticket about it. I fear that's all we can do for now07:49
Saviqmzanetti, yup, thanks07:49
mzanettigreyback: ping07:53
veebersmzanetti: sent, please fill in any details if I've missed any07:55
mzanettiveebers: ack. thanks07:55
veebersright, I'm off for the night. Beer and movie time :-)07:55
mzanettihave fun07:58
greybackmzanetti: pong08:05
mzanettigreyback: hey. on friday I wanted to schedule a meeting for today but managed to put it to last monday08:05
mzanettigreyback: I've just moved it to today but it would be in half an hour. is that ok for you?08:06
greybackmzanetti: yep08:06
seb128Trevinho, bregma, hey, could one of your review/ack https://code.launchpad.net/~larsu/unity/call-ido-init ?08:32
seb128Trevinho, bregma: I backported the ido init part to saucy on friday to unbreak custom widget in the gmenumodel based indicator that landed, having the other part about the ordering in would be nice as well08:33
Saviqgreyback, mzanetti, ping if you need me, btw08:45
mzanettiSaviq: yeah... actually... if you have a minute08:46
mzanettiwould be useful08:46
greybackSmall builds script fix: https://code.launchpad.net/~gerboland/unity8/fix-build-script/+merge/172290 if anyone has a minute09:04
tvossgreyback, ping09:09
greybacktvoss: pong09:09
tvossgreyback, hey there, I'm looking for libhybris-common, any idea where I can find it?09:09
tsdgeosSaviq: do we have automerging in lp:unity/8.0 ?09:10
tsdgeosyou approved https://code.launchpad.net/~mhall119/unity/fixes-1196322/+merge/172251 9 hours ago and it's still there09:10
greybacktvoss: never heard of it09:11
tvossgreyback, weird, platform api does not build without it09:12
tsdgeosmzanetti: can you try to repro https://bugs.launchpad.net/unity8/+bug/1172212  on a new unity8?09:14
ubot5Launchpad bug 1172212 in Unity 8 "HUD button gets stuck if application switches while dragging" [Medium,Incomplete]09:14
greybacktvoss: cmake should disbable hybris support if that lib is not available. You need platform-api with hybris?09:14
mzanettitsdgeos: ack09:14
tvossgreyback, yeah09:14
tvossgreyback, we need it by default for the touch images as we need to pull over the sensor functionality iirc09:15
greybacktvoss: I see. Am hunting09:15
tvossgreyback, thx09:15
tsdgeosbtw, i am the only one that gets unity7 panel notifications seconds later the real notification happens?09:16
tsdgeosi.e. i get notify-osd to tell me "mzanetti's ack" and then like 10 seconds later the panel icon of the irc client vibrates09:16
mhr3didrocks, any eta on next unity landing to s?09:17
didrocksmhr3: well, we have some system issues in saucy making lxc not working fine09:17
didrocksmhr3: and then, indicators did some changes that needs to be merged09:17
didrocksmhr3: and if we don't have this hang, and all those are transitionned ^ we'll be fine :p09:18
didrocksmhr3: you can review https://code.launchpad.net/~larsu/unity/call-ido-init meanwhile :)09:18
mzanettitsdgeos: nope. can't repro any more either09:18
tsdgeosgood thing :-)09:18
larsuI'm getting pinged in all the channels...09:19
larsuoh, that's just a mention09:19
larsudidrocks: you're married! Congrats!09:20
didrockslarsu: thanks! :)09:20
larsudidrocks: how are you?09:20
mhr3didrocks, say what now???09:20
didrockslarsu: I'm excellent thanks! still a little bit tired by the week-end for sure ;)09:20
didrocksand you?09:20
mhr3didrocks, married? holy cow09:21
larsudidrocks: I'm great! Except for the insomnia :)09:21
tsdgeosmzanetti: can you mark it as fixed then or soemthing?09:21
didrocksmhr3: heh, fortunately I disconnected on Friday before the indicator issue was discovered, so mind-free :)09:21
didrockslarsu: argh, I hope this will get better throughout the week (yeah, it's really early for you…)09:22
mhr3didrocks, i can totally see this scenario "and you didier roche, do you take julie as your wife?" - "just a sec i'm being pinged here"09:23
didrocksmhr3: ahah, I was afraid ted would try something like that! :p09:23
Saviqtsdgeos, there's network issues in the lab09:25
tsdgeosSaviq: ahhhh09:25
greybacktvoss: well libhybris package contains the /usr/lib/arm-linux-gnueabihf/libhybris-common.so.1 file09:25
tsdgeosthat's why the CI for the LVWPH didn't run yet either09:26
tvossgreyback, okay, thx09:34
greybacktvoss: that wasn't much help. I'm rather confused how to build platform-api with hybris, there's something missing09:35
tvossgreyback, yeah, I'm confused, too09:35
=== rachelliu_ is now known as rachelliu
seb128mhr3, hey10:15
mhr3seb128, hello10:16
seb128mhr3, sometime my dash home stop listing apps ... is that a known issue? what sort of debug infos would you need in a bug report about it?10:16
mhr3seb128, desktop/phone? just apps or everything?10:16
larsumhr3: same issue here, haven't figured out yet when it happens exactly. Desktop, only apps.10:17
seb128mhr3, desktop, saucy, unity7, only apps10:17
seb128it lists files, music, et10:18
seb128etc10:18
mhr3hmm, odd10:18
mhr3so, good debug info would be whether the apps daemon is running10:18
mhr3and ideally a bustle log trying to do a search in the dash10:19
seb128mhr3, the app lens is working10:19
seb128if that's an indication10:19
seb128but the home dash is sort of screwed it10:19
seb128when I open the dash it's empty, sometime with the "no result" string10:19
seb128let me do a screencast10:20
mhr3but just in home? everything works fine in apps lens view?10:20
seb128yes10:20
mhr3weird getting weirder :)10:20
seb128mhr3, you like screencasts? ;-)10:22
mhr3of course! :)10:22
seb128mhr3, http://people.canonical.com/~seb128/dash.ogv10:22
mhr3eeeek, why is everything so super slow there10:24
seb128welcome to smart scopes!10:24
seb128to be honest it's not always that slow10:25
seb128but when the bug happens it is10:25
seb128that box is freshly booted this morning10:25
seb128let me try to get you a bustle log10:25
seb128mhr3, hum, app lens doesn't have "recently used" either ... that's supposed to be first no?10:26
mhr3seb128, yep, looks like something wrong with zg10:27
mhr3apps lens doesn't handle that well10:28
mhr3although i had a patch somewhere10:28
seb128mhr3, http://people.canonical.com/~seb128/bustle.bustle10:29
seb128ignore the indicator-service spam10:29
seb128I need that fix from larsu :p10:29
mhr3fortunately bustle can do filtering :)10:31
seb128I had no idea my dbus was that spammed :p10:31
mhr3seb128, ok, i think i know what this might be, can you try killing unity-applications-daemon and see if things start working normally?10:31
seb128mhr3, do you need any state/info from it before I do that?10:32
mhr3nope, should be good enough10:32
seb128that didn't fix it10:33
seb128I guess "sorry there is nothing that match your search" now when I open the dash10:33
seb128with nothing in the text entry10:33
mhr3did you uninstall zeitgeist by any chance?10:33
seb128no10:34
seb128but we got the new version last week10:34
mhr3then it's broken :)10:34
seb1280.9.1410:34
mhr3seb128, terminal `zeitgeist-daemon --replace`, any warnings?10:34
seb128** (zeitgeist-datahub:8190): WARNING **: zeitgeist-datahub.vala:229: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!10:34
seb128oh10:34
seb128I saw an update on -changes earlier to re-enable that I think10:35
* seb128 goes to check10:35
seb128oh, no10:35
seb128mhr3, https://bugs.launchpad.net/ubuntu/+source/zeitgeist/+bug/119584110:35
ubot5Launchpad bug 1195841 in zeitgeist (Ubuntu) "Zeitgeist should be built with fts support" [Undecided,New]10:35
mhr3that wouldn't matter, anything else?10:35
seb128seems like it's currently built without fts10:36
seb128should I break things?10:36
seb128no10:36
mhr3yea, i know about the fts thing, that makes the files search super slow10:36
mhr3shouldn't affect apps10:36
seb128ok10:36
seb128no other warning10:36
seb128neither from zg nor from the applens10:36
mhr3seb128, not even when you try doing a search?10:37
seb128oh, it's working after a search10:37
seb128mhr3, doing a search fixed it10:37
mhr3so restarting zeitgeist actually fixed it10:37
seb128I guess10:37
seb128should I try that again next time it happens?10:37
mhr3sure, i think that will be 100% effective fix10:38
seb128"workaround" I guess :p10:38
mhr3right, yea10:38
mhr3i'll try to think about what the root cause of it could be10:38
seb128let me know if you need debug info10:38
seb128I run into it quite often10:39
seb128so I can run a local patched version that logs infos or stuff10:39
mhr3i'll update my vm and see whether i see that too10:39
mhr3seb128, btw did it start happening with the new zg version?10:39
seb128not running saucy? ;-)10:39
seb128no, I'm pretty sure it was there before the zg update10:39
seb12895% sure10:39
mhr3heh, ok10:40
mhr3seb128, and no, i find it a bit unstable :P10:40
seb128tssss10:40
CimiSaviq, I might give up with the looping using the listmodel10:40
seb128you have a responsability there! ;-)10:40
CimiSaviq, if I am at index 0, I add an item at index 0 (like a prepend)10:41
CimiSaviq, the stupid list view switches to the new item at 010:41
mhr3seb128, heh, booted up vm and i'm seeing it too10:41
Cimiso if I say when index = 0 insert 0… it kinda loops until it reaches the minimum date10:41
seb128mhr3, \o/10:42
Cimiindex 0, insert 0, instead of being at index 1 it switches to 0 :-\ so it goes back again and it insert another one at 0 and switches to it10:42
mhr3seb128, ok my bad, apps needs fts as well10:45
seb128mhr3, ok, so that's the issue?10:45
seb128mhr3, why does it work after restarting zg?10:45
mhr3seb128, ehm, it shouldn't really :)10:46
mhr3seb128, but one step at a time, let's get fts back first10:46
tsdgeosSaviq: what happened to https://code.launchpad.net/~unity-team/dee-qt/deevarianttext-and-tests/+merge/153530 ?10:46
seb128mhr3, right, I will upload jbicha's sponsoring request for it10:47
mhr3seb128, cool10:47
mhr3but looking at my log, it's vastly different from yours, in your case zg wasn't working at all / wasn't queried by the apps lens, in my case it is and it's returning errors about missing fts10:49
seb128well, I'm pretty sure the breakage/slowness I saw was there before the zg update as said10:49
seb128the dash/lens are not really robust to zg issues it seems10:49
seb128which might be another bug ;-)10:49
mhr3yea, maybe you have slow startup, some initial dbus request times out and things break10:50
MCR_didrocks, hi. I fixed another important Compiz regression, the fix is tested, the breakage is critical, because Compiz does not know how to render text in trunk anymore - this branch fixes it:10:52
MCR_https://code.launchpad.net/~mc-return/compiz/compiz.merge-fix1196493-no-more-text-anywhere/+merge/17230210:52
MCR_didrocks, please approve it, it's free karma ;)10:52
didrocksMCR_: I would prefer sam to look at it TBH, Not sure how the vtable is supposed to be used in compiz10:53
MCR_well, it is the same kind of breakage we had found and fixed on Friday...10:53
MCR_it is tested10:53
MCR_and it works10:53
didrocksI trust you it works, I still prefer upstream taking care of their components as most as possible, when there is no urgency for releasing :)10:54
MCR_ok10:54
=== MacSlow is now known as MacSlow|lunch
tsdgeosdednick: want me to unapprove https://code.launchpad.net/~dandrader/unity8/dragHandleStretchAndHint/+merge/171908 until your comments are sorted?11:26
pstolowskididrocks: ping11:28
dednicktsdgeos: yeah, if you dont mind11:31
dednicktsdgeos: i just did11:32
tsdgeosdednick: good11:32
tsdgeossorry i did not pick up that while reviewing11:32
CimiSaviq, ping11:33
mzanettiCimi: what if you make sure you never reach index 0?11:43
mzanettii.e. prepend already when you're at 111:44
Saviqtsdgeos, we're not using it (the people preview was using it11:45
Saviq)11:45
Saviqtsdgeos, s/preview/lens view/11:45
tsdgeosSaviq: that is the answer for the dee-qt changes?11:45
Saviqtsdgeos, so, we could salvage some of the tests from that potentially11:45
Saviqtsdgeos, ye11:45
Saviqs11:45
SaviqCimi, if you're at 0 and prepend, and the list switches, I'd say that's a bug11:45
SaviqIMO appending / prepending items to ListView's model should never change what's on screen11:46
tsdgeosSaviq: it does if it's item 011:47
Cimimzanetti, but sometimes you're at 0 :(11:47
tsdgeosit's a special case11:47
Cimimzanetti, unless I make that 0 is a greyed out month11:47
CimiSaviq, I need to write a testcase11:47
tsdgeosi.e. if you are at list beginning and prepend, it still gets you at list beginning11:47
tsdgeosafair11:47
Saviqtsdgeos, well, that depends if you want to be at list beginning or item 011:48
Saviqtsdgeos, will it switch if you're at item (count-1) and append?11:48
tsdgeosno11:48
SaviqIMO it's a broken special case11:48
Saviqtsdgeos, yeah, exactly - it's inconsistent11:48
Saviqtsdgeos, being at item 0 doesn't necessarily mean wanting to be on the beginning11:48
tsdgeostrue11:49
tsdgeosso you can append and them put yourself where you want :D11:49
Saviqtsdgeos, yeah, I would think that if you did it close in JavaScript, the result should be invisible11:50
SaviqCimi, did you try prepending and setting currentIndex to the correct value just after?11:50
CimiSaviq, yeah11:51
Saviqtsdgeos, OTOH ListView is difficult like this - if the new item isn't created yet11:51
CimiSaviq, but kinda doesn't work11:51
CimiSaviq, I did11:51
Saviqtsdgeos, it won't switch :/11:51
tsdgeoslunch11:51
tsdgeosback later11:51
Cimiif currentIndex == 0; insert (0..); currentIndex = 111:51
CimiSaviq, ^ but kinda sucks and probably doesn't solve the problem11:51
SaviqCimi, why?11:52
CimiSaviq, I think that if I set currentIndex in onCurrentItemChanged11:54
CimiSaviq, it does proceed with a new thread11:54
SaviqCimi, right, it might get confused11:55
CimiSaviq, I think I have two calls of onCurrentItem at the same time11:55
SaviqCimi, you should probably use a separate property to set the date selected11:56
SaviqCimi, and only modify the model when that changes11:56
CimiSaviq, the selected date works11:57
SaviqCimi, yeah, I know, but11:57
CimiSaviq, problem is when I flick/scroll between months11:57
SaviqCimi, if you use a separate property11:57
CimiI have 1 to 3 elements in my list model11:57
SaviqCimi, that will only change if the date _really_ changed11:57
SaviqCimi, regardless if currentIndex or currentItem change11:57
Cimiwhen I move from index 0 or index 1 I want to insert a new item11:57
Cimiwhen I move from 1 to 2 I want to append11:57
SaviqCimi, I know what you want to do11:57
CimiI don't understand what you mean with date11:58
Cimiyou are able to scroll without touching or selecting a new date11:58
Cimiit's just flipping/browsing the calendar11:58
Cimiwhat I could do might be storing the previous index11:58
SaviqCimi, then "displayedMonth" or something11:58
SaviqCimi, don't rely on currentItem / currentIndex to find out whether you need to modify the model11:59
Cimimmm11:59
SaviqCimi, but "proxy" those signals through a "currentMonth" property11:59
SaviqCimi, only when it really needs to change12:00
Cimiand when it does?12:00
SaviqCimi, this way you won't get the loop  of currentItemChanged → insert() → currentItemChanged12:00
SaviqCimi, because even if it does, the selected month won't change, so the loop will get broken12:01
Cimimaybe just a boolean12:02
Cimian internal boolean I set true when I am modifying the model12:02
Cimithen will be set false during next onCurrentItemChanged12:03
Cimiand returning12:03
SaviqCimi, that's artificial12:03
SaviqCimi, the actual selected month is real12:03
SaviqCimi, you'd have to manage the boolean much more carefully than the selected month12:04
kgunntsdgeos: \o/ lvwph, nice work!12:13
didrockspstolowski: pong12:14
pstolowskididrocks: hi12:14
pstolowskididrocks: wrt https://bugs.launchpad.net/unity-lens-applications/+bug/1192081 need to double-check with you - is the problem mostly visible on the 1st app preview request? Is it faster later even when software-center-dbus process is not running anymore (i.e. does it help if it's in system cache and i/o is reduced to start s-c-dbus again)?12:18
ubot5Launchpad bug 1192081 in unity-lens-applications "Previews for applications are really slow to display anything" [Critical,In progress]12:18
didrockspstolowski: no, if I kill the software-center-dbus process, it's slow again12:18
didrocksso system cache doesn't help12:19
pstolowskididrocks: ok, I see. could you give the branch I linked to the bug a shot?12:19
didrockspstolowski: not right now, but I'll :)12:20
=== jhodapp|afk is now known as jhodapp
didrockspstolowski: apart if just restarting the daemon is enough?12:20
didrocks(the application scope)12:20
pstolowskididrocks: sure, thanks... and take it with a grain of salt (i.e. read my comment).. but I'd be interested in your feedback12:20
didrockspstolowski: so, just building it and killing the scope is enough? (in that case, I can do it now)12:21
pstolowskididrocks: yes, kill software-center-dbus if running, restart apps12:21
didrocksok12:21
pstolowskididrocks: thanks12:22
didrockspstolowski: it's slightly better for sure, but I still have few seconds even before the spinner appears12:22
didrocks(so animation, blank middle content, then spinner, then content)12:23
pstolowskididrocks: well, it's doing network query anyway to get the screenshot12:23
didrockspstolowski: shouldn't I see the spinner right away?12:24
pstolowskididrocks: or is it then fast on next previews?12:24
didrockspstolowski: yeah, then, it's fast12:24
pstolowskididrocks: also, if you are fast and request preview quickly after search results appear, it's may not be loaded yet12:25
pstolowskididrocks: (the s-c-dbus)12:25
didrockspstolowski: yeah, that's my guess12:25
didrockspstolowski: I think it's still an improvment, starting it a little bit earlier, but not sure we can ship with this12:26
didrockspstolowski: maybe it worthes a try already12:26
pstolowskididrocks: what do you mean?12:28
didrockspstolowski: like, it's already a small improvement in the end user experience, we can try getting this into distro and see for feedback12:29
=== MacSlow|lunch is now known as MacSlow
tsdgeoskgunn: thanks :-)12:51
tsdgeosSaviq: afair the rationale for inserts at 0 when list on top is "scrolling up" is because for example a move is sent as a remove + insert to the lsitview, so if you didn't do that, moving the item 0 to item 1 would end up with you at item 1 instead of item 012:52
dandraderSaviq, shouldn't this end up in a file somewhere in lp:unity8? -> https://docs.google.com/a/canonical.com/document/d/1gd87Wo_CSB0DpFWLpTKIIXQfdmFncrq0PHSr9H2PTnk/edit12:53
Saviqdandrader, yeah, not even unity8 but a a generic QML set of guides, it's on my TODO...12:54
dandraderand about those guidelines12:54
dandraderinstead of having a __foo property. I instead should private.foo?12:55
dandraderI mean s/__foo/private.foo12:55
dandraderisn't this "private." prefix quite a mouthful?12:56
dandraderC++ qt uses the d->foo idiom, for instance12:56
=== _salem is now known as salem_
Saviqdandrader, I don't think we meant to name them "private"12:59
Saviqdandrader, "d" is fine12:59
dandrader[...]" use 'private' to id these private objects to maintain consistency with C++ code"[...]13:00
dandraderSaviq, cool13:00
Saviqdandrader, yeah, that doc is incomplete and unmaintained for a bit, sorry13:12
dandradernp13:16
didrocksfginther: hey, around? :)13:21
mzanettiMacSlow: in case you're using this and it works fine for you, feel free to review https://code.launchpad.net/~mzanetti/unity8/improve-bzr-hook/+merge/17214613:24
MacSlowmzanetti, I'll look into it after the stand-up13:25
tsdgeospaulliu: afair you where working with pstolowski on https://code.launchpad.net/~stolowski/unity8/activation-and-previews/+merge/172102 ? are you reviewing it or need more people? (want to be sure i'm not stepping into someone elses toes)13:26
paulliutsdgeos: Yeah, I need more people. But I'll review it too.13:27
tsdgeosok13:27
Saviqgreyback_, mzanetti standup13:30
Saviqah, beat me again ;d13:30
tedgSaviq, FYI, https://wiki.ubuntu.com/AccountPrivileges#Phone13:35
tedgSaviq, We talked about that back on Oakland, we probably should finish it :-)13:35
Saviqtedg, indeed13:35
dandraderdednick, updated. https://code.launchpad.net/~dandrader/unity8/dragHandleStretchAndHint/+merge/17190814:06
davidcalledidrocks, ping14:06
didrocksdavidcalle: pong14:06
davidcalledidrocks, hey! Could you please have a look at https://code.launchpad.net/~davidc3/cupstream2distro-config/new-server-scopes/+merge/172343 ?14:07
didrocksdavidcalle: simple enough, approved :)14:07
davidcalledidrocks, heh, thanks :)14:07
didrocksyw!14:08
Saviqyay jenkins is back14:24
mzanettiSaviq, all: Jenkins up'n'running again. build queue is half a meter long tho14:32
Saviqmzanetti, yep, saw that14:32
* Saviq is gonna have fun babysitting Jenkins tonight14:32
dednickdandrader: approved14:34
dandraderdandrader, thanks!14:34
CimiSaviq, http://paste.ubuntu.com/5816922/14:44
CimiSaviq, scroll right to increment14:45
Cimithen scroll left and you'll see it loops14:45
Saviqmzanetti, tsdgeos ↑ can you guys have a look?14:46
Saviqdidrocks, so, are we doing https://code.launchpad.net/~unity-team/unity/unity8-packaging-cleanup/+merge/171537 ?14:46
mzanettiSaviq: ack14:46
Saviqdidrocks, or did the jsons not land in distro yet?14:47
didrocksSaviq: no, it didn't, let's wait for it to land14:47
Saviqdidrocks, right14:48
didrocksSaviq: due to this jenkins issue, still catching up on merges14:48
Saviqdidrocks, yup14:48
didrocksso probably tomorrow, if unity tests pass14:48
* didrocks crosses fingers14:48
Cimimzanetti, tsdgeos basically I want to prepend an element14:50
Cimimzanetti, I expect the currentItem not changing14:50
mzanettiCimi: yeah... I see the problem14:50
Cimioh well, if I am at index 0 and I append 014:50
CimiI expect to become 1 and stay14:50
Cimiinstead it goes to 0 for a sec14:50
tsdgeosyou should avoid changing the list on list signals, its easy to end up in some nasty recursive stuff14:56
=== dandrader is now known as dandrader|afk
Cimitsdgeos, but I don't have other ideas15:07
Cimitsdgeos, I would like to append/prepend while the user scrolls15:07
tsdgeosCimi: why do you need this?15:07
Cimitsdgeos, to have an infinite model15:08
tsdgeosbut why do you need a model? because you're using a listview? i'd say that simply having 2 items would be enough, but that means rewriting most of your code, so feel free to ignore me :D15:10
tsdgeosi mean to me conceptually a calendar is not a listview15:11
mzanettiCimi: here you go: http://paste.ubuntu.com/5817002/15:13
mzanettiCimi: only downside, the model currently grows unlimited. you should also remove the last from the other side when inserting15:13
Cimimzanetti, I know this works...15:14
mzanettiso whats the problem then?15:14
Cimimzanetti, I have your variation with removing the last15:14
Cimimzanetti, it loops15:14
mzanettiCimi: ah... only the removing is the problem?15:15
* mzanetti tries15:15
Cimimzanetti, I mean15:15
Cimimzanetti, sorry let me have a proper look at yours15:15
Cimimaybe I quickly criticised but might do15:15
mzanettiCimi: updated version that keeps the model down to 5 elements: http://paste.ubuntu.com/5817011/15:16
mzanettiwhich is a cachebuffer of 2 items on each side15:16
Cimimzanetti, goal is 315:16
Cimimzanetti, because it has to work even with two items15:17
mzanettiCimi: I expect it to be come less performant if you use only 3 items15:17
Cimiimagine date from july to september15:17
Cimiso the logic should work15:17
mzanettiCimi: especially if you allow overshooting of the list15:17
mzanettithen you would see stuttering15:17
mzanettibecause it quickly needs to create the item and the delegate which it should show it already15:17
mzanettiI think a cachebuffer of 2 items on each side sounds reasonable15:18
=== dandrader|afk is now known as dandrader
mzanettiCimi: why would it need to work with only 2 items?15:22
Cimimzanetti, when you set a range15:22
Cimimzanetti, like only july and august15:22
Cimifor example15:22
Cimiimagine you're booking holidays for 2013 and you're in november15:23
Cimiyou can book only for november/december15:23
mzanettiCimi: ok. understood15:23
Cimith calendar has an API to set max and minimum date15:23
mzanettiCimi: but still not a problem15:23
mzanettiCimi:  add an if to alll the places that call insert or append. if its outside the range. don't do it15:24
* mzanetti tries15:24
Cimiindeed maybe the difference in yours is that you do onCurrentIndexChanged15:24
Cimiand you are index-agnostic15:24
Cimiso it doesn't care if the index is 0 or 1 or 215:25
Cimijust looks at the value if it's in the range15:25
Cimisounds damn simple yet correct15:25
CimiI'm wondering why I didn't think of that before but was getting mental with the wrong approach15:25
Cimiin any case I still believe there's a bug in qt somewhere :)15:26
mzanettiCimi: there is one rule with QML: if it doesn't work, its probably too much code15:51
Cimimmm15:51
mzanettiCimi: but I'm seeing the issues you've seen before15:52
mzanettiCimi: its a bit of a pain to initialize the model more dynamically15:52
mzanettiCimi: ok... I think this is it: http://paste.ubuntu.com/5817174/16:09
mzanettiCimi: you can set minValue and maxValue to undefined and it'll be infinite16:10
mzanettiCimi: otherwise it'll respect those values16:10
mzanettiCimi: one tricky part was to initialize it without triggering the logic16:10
Trevinhodednick: ping16:10
dednickTrevinho: pong16:11
Trevinhodednick: hey16:11
Trevinhodednick: I was looking at ScopeProxy.cpp, is there a reason why connected_signal_ is not disconnected when changing scope, or it's just a missing thing?16:11
Trevinho(it seems to be the latter to me)16:11
dednickTrevinho: i think it may just be missing16:14
Trevinhodednick: ok, nice16:14
Cimimzanetti, as I was thinking16:19
Cimimzanetti, always keeping a buffer of an empty greyed month16:19
Cimimzanetti, but it's not a fix16:19
mzanettiCimi: that adds other complexitity of interfering with the users dragging etc16:20
mzanettiCimi: not sure if thats good. I thought about that too at first, yes16:20
Cimimzanetti, it's as yours16:21
Cimino?16:21
Cimiah no16:21
Cimimzanetti, did you try your code with 3 elements instead 5?16:22
mzanettiCimi: I think yes, let me try again16:22
Cimimzanetti, we need to see if it works when you're at 016:22
Cimiinstead 116:22
mzanettiCimi: works fine16:23
Cimiok16:23
mzanettiCimi: just set min and max to eg, 99 and 10116:23
Cimimzanetti, no16:23
Cimimzanetti, the model with 3 elements I meant16:23
Ciminot with limits16:23
Cimiwhat happens if current index is 0 instead 1?16:23
Cimiit should insert16:24
mzanettiCimi: I think that could introduce that index hopping as you've seen it16:24
Cimimzanetti, indeed16:24
Cimimzanetti, and it's the issue I'm trying to fix :)16:24
Trevinhodednick: one more thing, there are many test-gtest-dbus tests failing, would be nice if they could be fixed (mhr3 also?)16:24
mzanettiCimi: but as I've said earlier: I think having 2 on each side is a good idea anyways16:24
Cimimzanetti, yes but the issue is still there16:25
mzanettiCimi: in my version?16:25
Cimiwell, we need to try16:25
mzanettiI'm confused16:25
mzanettiis there a problem somewhere or a re you trying to create one?16:25
mzanettiCimi: found a small bug in my code. Here's the fixed version: http://paste.ubuntu.com/5817228/16:30
mzanettiCimi: this is now tested with 1, 2, 3, 5 and unlimited items16:31
mzanettiCimi: can't spot any issues any more16:31
Cimiok16:31
Cimii'll try to adapt your code and see if it works16:31
=== dandrader is now known as dandrader|lunch
dednickTrevinho: any idea why the tests are failing? i havent done any work on it in ages16:50
Trevinhodednick: not yet, I was not running them since long time as well, but today I tried and they fail :(16:51
=== dandrader|lunch is now known as dandrader
greybackdandrader: you had problems installing saucy-flipped on what device? Galaxy Nexus?17:57
greybackI had similar last week, gave up17:57
dandradergreyback, yes, galaxy nexus17:58
greybackdandrader: did you get it to work in the end? Any advice?17:58
dandraderphablet-flash had issues copying images to the device17:58
dandradergreyback, yes17:58
dandraderhad to mount and reset permissions manually using the recovery options17:58
dandraderbefore finally pushing and installing the images by hand17:59
greybackdandrader: you document the steps by any chance?17:59
greybackalso did phablet-flash even download the full image? I suspect it didn't17:59
dandradergreyback, no, i didn't document it. phablet-flash did download the images18:00
dandradergreyback, if you tell me the errors I can give you some hints (if it's similar to the problems I experienced)18:01
greybackdandrader: ok thanks. Am trying now18:01
dandradergreyback, but now I'm stuck at the compilation of lp:~robertcarr/qtubuntu/mir-with-packaging :(18:01
greybackdandrader: what's the output?18:02
dandraderfrom mterry 's guide (https://wiki.ubuntu.com/Touch/Testing/Mir)18:02
mterrydandrader, you may have to merge from trunk?18:02
mterrydandrader, specifically, merge racarr's platform-api branch from trunk18:03
mterryand do the instructions again18:03
dandradergreyback, http://paste.ubuntu.com/5817496/18:03
greybackdandrader: I wonder if that's implemented in non-hybris platform-api18:07
greybackoh it should be, in src/mircommon/session_mir.cpp in platform-api trunk. You might need to merge platform-api trunk and rebuild it18:08
dandradergreyback, ok, will try merging trunk18:12
kgunnolli: note, if/when you go to run urban terror....larabel's tests want v4.1...but latest is 4.2, but you can hack an xml to go pick up the old (just ping me if/when you hit it)18:28
greyback_dandrader: what's the link to mterry's doc again please?18:37
dandradergreyback_,  https://wiki.ubuntu.com/Touch/Testing/Mir18:38
greyback_dandrader: ah, it's changed since I saw it last :)18:38
dandradersounds like good news :)18:38
greyback_not really, I am also failing to get phone into flipped18:38
greyback_who did you ask for advice?18:39
mterrydandrader, note that when I finished those instructions, I got a machine that booted up, but didn't display anything.  :-/18:39
dandradergreyback_, have you managed to get the flipped images downloaded at least?18:40
dandradermterry, so you didn't get flipped saucy with unity8+mir running in it?18:41
greyback_dandrader: well it downloads saucy-preinstalled-touch-armhf.zip - that's all18:41
greyback_well, and the md5sum18:41
dandradergreyback_,  you need saucy-preinstalled-touch-armel+maguro.zip and saucy-preinstalled-touch-armhf.zip18:41
mterrydandrader, I got a flipped saucy with a unity8+mir package installed.  But I never figured out why it wasn't displaying on screen.18:42
greyback_dandrader: okay, I'll grab them manually so18:42
greyback_dandrader: why the different arm versions? armel vs armhf??!18:42
dandradergreyback_, don't know. but it works. ask sergiusens :)18:43
dandradermaybe it's just a typo in the naming18:44
dandradermterry, oh, that sucks...18:45
dandradermterry,  did anyone manage to get it working?18:45
mterrydandrader, not that I know, I couldn't figure out why it wasn't, and Mir doesn't seem to have great debugging yet18:46
mterrySo I turned to other things for the moment18:46
dandraderhmm, so maybe I should play with unity8+mir on unflipped images for now18:48
mterrydandrader, that won't work because you can't prevent surfaceflinger from starting that way (if your goal is to be able to boot into Mir, rather than manually stop sf then start Mir)18:53
dandradermterry, you couldn't display anything at all on the screen (like some simple mir test) or just unity8?18:57
mterrydandrader, simple mir tests (like the demo server/client) worked18:58
mterrydandrader, but when running unity8, nothing came up18:58
mterrydandrader, I was told that unity8 would autostart the server, so theoretically all I needed was to run it18:59
dandradermterry, were you trying it on a nexus 7?19:05
mterrydandrader, nexus419:06
racarrI'm trying the instructions again on my phone :)19:08
racarrit's only been tested on flipped images afaik so that shouldn't be a problem19:09
racarris the PPA not working for you guys?19:09
dandraderracarr, you mean we should be using mesa from mir-team/staging PPA?19:12
racarrdandrader: I mean qtubuntu and platform api etc19:13
racarrare all in a ppa19:13
racarrdandrader: https://launchpad.net/~phablet-team/+archive/mir19:13
racarrthere are even images...but I lost the link19:14
racarrriccm ^ ?19:14
racarrerr he's not here XD19:14
dandraderracarr, ah nice! so we should forget about ppa:mir-team/staging and just use ppa:phablet-team/mir?19:15
racarrdandrader: I think so :) at least for now19:16
racarrnot sure what has gone wrong to make the manual build instructions not work but I will try and reproduce19:17
dandraderSaviq, did you manually push to lp:unity8?19:21
dandraderSaviq, head is now a "merge lp:unity8" commit by you...19:21
Saviqdandrader, yes19:23
Saviqdandrader, I tried to maintain the same history in lp:unity/8.0 and lp:unity819:23
dandraderSaviq, ah you're still  there. alway on duty! :)19:23
Saviqdandrader, but there were two merges in parallel to both19:23
Saviqdandrader, so had to merge one of them and push to both19:24
Saviqdandrader, no overwriting should be necessary, fortunately19:24
Saviqdandrader, I'm just lurking around, listening for pings ;)19:24
dandraderracarr, added that ppa, updated, dist-upgraded and rebooted. now nothing shows up on the display19:41
dandraderracarr,  is there a simple mir test I can run?19:41
racarrdandrader: maybe mir_demo_shell &19:45
racarrmir_egltriangle19:45
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== racarr is now known as racarr|lunch
dandradernow I'm getting tons of pedantic warnings, from Qt code itself, when compiling unity8...20:40
=== racarr|lunch is now known as racarr
dandraderhmm, caused by revision 6320:46
digitalhi22:40
digitalAnyone here know much about customising unity?22:41
bschaeferdigital, depends, how are you trying to customize unity?22:51
digitalI want to get the menu bar back the way it should be (eg applications, places and system) and get rid of the annoying thing on the side.23:10
bschaeferdigital, hmm well if you want that you'll want to look into gnome classic and different interface :)23:30
bschaeferdigital, gnome-session-fallback is the package you'll want to to install, after that logout and click on the ubuntu logo to change to gnome class! Hope that helps!23:32
digitalso my next question is going to be how do I edit the menus in gnome session fallback.  It's fixed a lot of the problems but the system menu is missing.23:50
=== salem_ is now known as _salem

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