/srv/irclogs.ubuntu.com/2012/01/20/#ubuntu-unity.txt

mhall119mas: you might be interested in http://design.canonical.com/2012/01/launcher-reveal-prototype/ and leaving your preferences in the comments00:00
mhall119jono: shell or django?00:00
jonomhall119, django00:00
masi've been contemplating it myself, i was thinking moving it to the bottom might help but shuttleworth keeps has some obsession with everything having to be to the left. it would also be nice to see some sort of feedback from the buttons in the launcher, like when the mouse is over them they glow or hover. they feel so "static"00:00
mhall119jono: sure, give me a minute00:01
jonomhall119, thanks!00:01
masoh thanks mhall, i'll leave some comments00:02
mhall119mas: it's not so much wanting it on the left, it's wanting it to use up the dimension you have the most space in00:03
bgoismas, some hover or glow might be really good for button feedback.00:03
mhall119I'd rather lose 48px of 1024, than 48px of 78600:03
bgoisIf my opinion and experience with unity on corporate machines. The launcher hidding and revealing it self on left side confuses people.00:05
bgoisI wonder my self, if the launcher be moved to bottom it could looks a lot like the win7 bar. But it would be a lot easier to switch betwen tasks.00:06
mashmm, i've heard that argument before about losing in the horizontal versus the vertical. not to say i disagree...however i never hear anybody talk about symmetry. it can sometimes be visually unpleasant. also the space argument doesn't really matter when you maximize as the launcher disappears anyway00:06
bgoismhall119, your observation makes sense in the logical point of view. But, from a usability vision, users are used to look at the bottom bar and find its running apps and menu. i think.00:08
maswhat has confused me about the entire argument is why the option of not being able to move it around to any side the user wants is not desired. that was something i always admired about *nix desktop environments. i rarely deviate from the default desktop, but sometimes one or two tweeks depending on the end user's workflow can make a world of difference00:09
masi mean even mac, the ultimate in controlling the end user's experience let you move the dock around00:11
htorquei wonder how RTL language users feel about it00:12
=== htorque_ is now known as htorque
w3r3wolv3squit00:22
mhall119bgois: it doesn't take that long to learn to look on the left00:23
mhall119we shouldn't treat users as if they are incapable of learning a better experience00:23
mhall119htorque: that's an interesting question00:24
thumperhi mhall11900:42
thumperare we moving all ayatana chatter here?\00:43
thumperwhat else what talked about on ayatana?00:44
thumperhtorque: I'd love to see some research on RTL languages and launcher expectations00:45
mhall119thumper: moving it here00:45
mhall119we'll put in a redirect on #ayatana in about a week00:45
thumpermhall119: we should have a call next week00:45
thumperI'm not actually working today00:45
mhall119thumper: yes please00:45
thumper62 hours travelling home00:45
thumperjust back this morning00:45
mhall119eeew00:45
mhall119sure, I'm pretty flexible, so whenever is good for you00:45
thumpermhall119: where are you based?00:46
mhall119USA, east-coast00:46
thumperah cool00:46
thumperjust 3 hours different then00:46
thumperperhaps Monday afternoon your time00:46
mhall119I assume you're west-coast then00:46
thumperthat matches up with after lunch tuesday for me00:46
mhall119or the middle of the atlantic00:46
thumperNope00:46
thumperNZ00:46
mhall119wait...00:46
thumperwell three hours + one day00:47
thumperthree hours ahead and a day behind00:47
mhall119that still doesn't sound quite right, what time is it there now?00:47
thumper13:4700:47
thumperdamn00:47
mhall119ok, so 6 hours different00:48
thumpereast and west mix up again00:48
mhall119that sounds better00:48
thumperI do that all the time00:48
mhall119no problem00:48
thumperyou are in the same tz as lamalex, DBO, and jay00:48
mhall119and I don't know any of them.... :(00:49
thumperyou were ISD before?00:49
mhall119yup, until the end of December00:49
thumperjust looked you up on the directory00:50
mhall119thumper: give me a ping monday morning (your time) and we'll setup a time for a call00:50
thumperI don't think we've met have we?00:50
mhall119maybe in passing at UDS00:50
thumperI've not been to a UDS since Boston00:51
mhall119ok,then not in passing at UDS00:51
thumpereven then, it was a co-located launchpad sprint00:51
mhall119you were in the launchpad team?00:52
thumperfor 4.5 years00:52
thumperswitched last April to DX00:52
mhall119then it's very possible that I've bugged you about something before ;)00:52
thumperwhich is now product strategy00:52
thumpermaybe00:52
mhall119summit or loco-directory perhaps00:52
* thumper has to head off for stuff00:53
thumperwe'll chat next week00:53
=== Justin____ is now known as Justinba1010
Justinba1010hello01:41
Justinba1010anyone here?01:42
=== JoseeAntonioR is now known as JoseeAntonioR1
=== JoseeAntonioR1 is now known as JoseeAntonioR
CaioHello. Is here the best place to give suggestions about Unity?02:50
=== nick is now known as Guest94462
marcosrorizHi guys03:28
marcosrorizI'm running natty here, I think I found a 'security' bug in Unity03:28
marcosrorizCan someone confirme me if it happens on oneiric??03:28
vadi2Sure.03:28
marcosrorizThe bug is the following:03:29
marcosroriz1 - Press the super key  (will launch unity 'default' view)03:29
marcosroriz2 - Wait to computer to block03:29
vadi2block?03:30
marcosrorizAs in session block03:30
marcosrorizAs you can see, you can still do a one time usage of unity.03:30
vadi2Ah so the lock screen?03:30
marcosrorizyep03:30
marcosrorizthe lock screen dont appear directly, you can 'use' unity for a command03:30
marcosrorizI think what happen is that the unity launcher stays on top of the gnome-lock-screen03:30
marcosrorizand you can use unity one time, once it dissapears (the unity windows) it goes to the password of the lock screen03:31
vadi2I'll see03:31
marcosrorizTry it :)03:31
marcosrorizPut your comp session lock < 2 min03:31
marcosrorizand press the super :)03:32
marcosrorizwait, and profit03:32
marcosrorizyou'll get the chance to explore unity hehe, once you get out of the unity screen the computer goes to the lock screen (session)03:32
marcosroriz:~03:32
marcosrorizI don't know if this is a security bug, but IMO after the period that you specified (for instance, 2min) your computer should go automatically to the gnome-session screen with the pass.03:34
vadi2Did you hold the super key, or press and let go?03:37
vadi2my screen turned off and locked, it came back to the lock screen though, not unity03:38
marcosrorizpress and let it go03:38
vadi2Yeah that's what I did, didn't happen here03:39
marcosrorizStrange :~03:39
=== IdleOne is now known as pangolin
guest____hi all06:32
guest____anybody here?06:33
guest____whois JanC JanC06:34
vadi2hello06:39
vadi2bye06:39
aslamckrahello06:52
kamstrupdoes anyone know how we sort the lenses in the lensbar in the dash?08:31
Saviqkamstrup, preliminary look at 2d code says that we do whatever you guys give us08:34
kamstrupSaviq: yeah, and u3d also seems to take whatever comes out of the FilesystemLenses class08:35
Saviqkamstrup, yup, same here it seems08:35
kamstrupbut the sorting order in the dash seems to be stable, so there must be something sorting it08:35
Saviqkamstrup, "m_unityLenses = new unity::dash::FilesystemLenses("/usr/share/unity/lenses"); for (unsigned int i=0; i<m_unityLenses->count(); i++) [...]"08:35
kamstrupmaybe it's really just sorting on inode accurence within the /usr/share/unity/lenses dir...08:35
kamstrupSaviq: which order are your lenses in?08:36
kamstrupi have home, apps, files, music08:36
Saviqsame here08:36
Saviqany additional get added later08:36
kamstruphmmm, so something is likely to sort it08:36
kamstrups/likely/certain08:36
Saviqyup08:37
kamstrupSaviq: AHA! vvvv08:37
kamstrup/FIXME: We don't have a strict order, but alphabetical serves us wonderfully for08:37
kamstrup    // Oneiric. When we have an order/policy, please replace this.08:37
Saviqookies08:37
kamstrupin FilesystemLenses08:38
Saviqyup, was just going there08:38
Saviqexcept the app lens seems to be forced first08:39
kamstrupok, I am actually implementing that policy in my home-lenses branch, so I'll put it on my todo08:39
kamstrupright08:39
Saviqand we probably want the home lens to be first in Precise08:39
Atem18Hi09:05
Saviqhey greyback09:22
gordmhr3, so your icon loading branch is great, but i think it needs tests - just one that loads a bunch of icons and makes sure they all come in09:27
greybackSaviq: morning09:27
mhr3gord, i knew you'd said that09:28
Saviqfrck!09:28
nerochiaroSaviq: I think I have addressed all your concerns in the shape tests branch. just pushed the last changes now09:36
Saviqgreyback, we need to set locale to en_something in the tests..09:36
Saviqotherwise I'll waste many more hours wondering what the frck09:37
Saviqor at least require a "en_*" locale for the tests09:37
nerochiaroSaviq: yep. but then we should also have some localization tests09:38
greybackSaviq: yeah. Getting tests running on every developers machine correctly is a pain. Why I want to use VBox09:38
greybacknerochiaro: agreed, and also needed for RTL tests09:38
Saviqgreyback, still, I've changed the locale on my vbox to check out RTL yesterday09:38
nerochiarogreyback: Saviq: i'm also worried about some tests that will require resolution changes (for example to test the min size of the dash)09:39
Saviqand since then I couldn't, for the life of mine, understand why the tests failed09:39
nerochiaro(min size before it goes fullscreen by default)09:39
greybackSaviq: yep, my idea was to have a VBox Snapshot that everyone just uses and won't be changed09:39
Saviqgreyback, that's not safe09:39
Saviqgreyback, tests should work on virtually every machine09:39
nerochiarogreyback: yeah, but what do you do for tests where a certain feature is for a configuration that is impossible to obtain on a certain machine ?09:40
Saviqif we just have a snapshot that noone changes, the tests won't get enough coverage, tbh09:40
nerochiaroSaviq: ^09:40
Saviqnerochiaro, example?09:40
greybacknerochiaro: you'll have to add checks to ensure the resolution is big enough for the dash not to be full-screen, and bypass the test with a warning maybe09:40
nerochiaroSaviq: multimonitor tests ?09:40
Saviqnerochiaro, true, what greyback said - just check whether the env is ready for the test09:41
Saviqand bypass it09:41
Saviqexactly what I want to do for locale09:41
Saviqcheck if it's en_whateveryouguysuse.UTF-809:41
Saviqand drop out of the test suite09:41
Saviqor change the locale for the duration of the tests09:41
dyamsnerochiaro: saviq: In the shape-tests branch i checked move the dash bit away from launcher09:44
dyamsnerochiaro: saviq:actually to the second screen09:44
dyamsnerochiaro: saviq: the dash is no more visible there09:44
Saviqdyams, meaning multimonitor?09:44
dyamssaviq: yes09:45
Saviqdyams, we didn't yet do anything re multimonitor in -shell09:45
Saviqdyams, but you need to remember there is no "dash" and "launcher" anymore09:45
nerochiaroyep, no multimonitor support in shell for now09:45
Saviqthere's just a single window09:45
Saviqwhich has both the dash and the launcher09:45
Saviqso if you've moved the dash over screen, it will just go overscreen, not to the next screen09:46
dyamssaviq: sure, but if i move the window bit away from launcher, then any portion of the dash falling outside the current screen is cut off09:46
dyamsnerochiaro: saviq: Yes, I didn't expect it will work perfectly by just reposition it09:48
dyamsnerochiaro: saviq: yet i didn't expect it will be clipped either.09:48
Saviqdyams, what are you repositioning? the whole shell window or just the dash inside?09:48
Saviqdyams, yes it will be clipped09:48
Saviqour window is the size of your current screen's available geometry09:48
dyamssaviq: I reposition dash only09:48
Saviqif you go over that, it will get clipped, yes09:49
Saviqdyams, there's simply no support gone into -shell yet09:49
dyamssaviq: i see , height: screen.availableGeometry.height09:49
dyams    width: screen.availableGeometry.width09:49
dyamssaviq: Ok09:50
Saviqnerochiaro, that fits into the merge-todo, do we have that there yet?09:50
Saviqnerochiaro, at least getting on-par with trunk09:50
Saviqnerochiaro, so you didn't manage to work with _NET_WORKAREA in the end?09:51
nerochiaroSaviq: i don't think we have it yet09:51
Saviqnerochiaro, ok I'll add it09:51
nerochiaroSaviq: i decided not to, it was quicker this way and i'll also be forcing the panel to be there for the dash button tests, so i thought might as well do the same in that case09:52
Saviqlazies :P09:53
Saviqok09:53
nerochiaroSaviq: i'll add the test to verify the correct shape in absence of the dash when i add the ability for the shell window to correctly adjust in case the panel appears and disappears09:53
Saviqk09:53
dyamsnerochiaro: saviq: 1) Invoke dash, 2) invoke spread,09:55
dyams3) Cancel the spread09:55
dyamsNow dash is reappearing09:55
dyamsmoreover now dash is not closing either09:56
greybackdidrocks: welcome ;)09:56
Saviqhey didrocks09:56
nerochiarodyams: sounds like a bug in shell. let's add to the TODO in the wiki please09:56
didrocksgreyback: hey ;) Seems I need to add the autojoin here ;) the super + keynum seems to not work with the numpad in 2d, do you have a bug report on that? :)09:56
greybackdidrocks: designers say it's not supposed to09:57
greybackdyams: ^^09:57
didrockshum?09:57
didrocksa lot of people marks the tests are failed because they try to use it09:57
dyamsdidrocks: greyback is correct09:57
dyamsgreyback: didrocks: actually super + numpad with launcher? Or with windows?09:58
didrocksdyams: launcher09:58
didrocksoh that will be the shortcut for maximinizing the window now09:59
didrocksforgot about it09:59
Saviqdyams, you need to run the spread from the shell branch09:59
Saviqnerochiaro, ^^09:59
greybackdidrocks: https://bugs.launchpad.net/unity-2d/+bug/75051409:59
dyamsdidrocks: Super + Numpad [1] [2]....[0] Is not supported by launcher09:59
didrockshey Saviq ;)09:59
Saviqnerochiaro, dyams: works fine for me, but you need to run the spread from the shell branch09:59
nerochiaroSaviq: oh, right, forgot that might be the issue09:59
Saviqnot the installed one09:59
dyamssaviq: trying again..09:59
didrocksdyams: well, it was for Natty, but the design changed :)09:59
greybackdidrocks: so no Super+numpad does same as Super+num ?10:00
greybacks/no/now10:00
didrocksgreyback: in 3D right10:00
dyamsdidrocks: oh they changed it..? Or is it a bug in 3D?10:01
nerochiaroSaviq: let me know when you are done with the review, so i can pull it into another branch if it's ok, or fix what's wrong if not. thanks.10:01
didrocksdyams: I can tell for sure it's not a bug in 3D and they ask for it as I spent time to support it :)10:01
gordstop assuming things are bugs in 3d you guys :P10:01
didrocksanyway, there is this new shortcut stuff where it should maximize/semi-maximize window now10:01
Saviqnerochiaro, seems right already, I'm just verifying that the tests fail without the shell being shaped10:01
dyamsdidrocks: lemme crosscheck with the shortcuts gdocs once10:02
greybackdidrocks: am consulting with design now :)10:03
didrocksthanks :)10:03
didrocksdyams: John showed me this gdocs, but I can't find it anymore10:04
dyamsdidrocks: hrer https://docs.google.com/a/canonical.com/document/d/1jqeKtIJwqLtl58Wk_fqjr9Rrgxn9zsouCYOo-cZsLSE/edit?authkey=CLGG9NkJ&hl=en_GB10:04
didrocksdyams: thanks10:05
didrocksdyams: hum, no, it's ctrl + alt in fact10:06
didrocksso nothing on super + numpad10:06
didrocksseems a lot of people expect it to do the same than super + keynum10:06
greybackdidrocks: see the other channel :)10:06
greybackdyams: dust off that Super+keypad branch, it's going in :)10:08
dyamsgreyback: :) sure, I can do it... :)10:09
dyamsgreyback: should we wait for shell work or we merge it current trunk already?10:11
greybackdyams: as ultimately we'll be using shell, there's little point in merging it to trunk only.10:13
greybackdyams: see how easy it ports to shell10:13
dyamsgreyback: Ok, I'll work on shell branch10:14
greybackSaviq: I think adding features should be done to shell, if they don't apply cleanly to both branches. Otherwise we're making more work for ourselves10:15
dyamssaviq: Yes, Spread works better if I launch it from shell itself10:15
Saviqdyams, "better"? not "correct"?10:15
dyamssaviq: but that didn't solve the issue either10:16
Saviqgreyback, true10:16
Saviqgreyback, if they fit nicely in both - then both10:16
Saviqotherwise - shell it is10:16
dyamssaviq: two issues i noticed.10:16
greybackSaviq: agreed10:16
dyamssaviq: 1) Launcher won't stay open when spread is active, it disappears after a few seconds10:17
Saviqweirds, should be forcedVisible, add to the wiki please10:17
dyams2) after 3-4 attemps dash stays open and won't go away10:18
dyamssaviq: sure10:18
dyamsnerochiaro: You already added the Dash clipping issue in wiki?10:35
dyamsnerochiaro: Or is it not required?10:35
Saviqdyams, there's no "dash clipping"10:36
Saviqthat is not an issue10:36
dyamssaviq: Ok10:37
Saviqdyams, why would you move the dash itself anyway?10:37
Saviqthe dash is supposed to be stuck to the launcher, and proper multimonitor support will come later10:38
dyamsSaviq: multi-monitor10:38
Saviqdyams, we won't be moving it10:38
Saviqwe will have a dash per-screen10:38
Saviqjust as we will a launcher per-screen10:38
dyamsSaviq: no10:38
Saviqdyams, I know, it will just be shown on one screen10:39
Saviqcurrent screen10:39
Saviqbut that doesn't mean we will necessarily move the window around10:39
dyamssaviq: Ok10:39
dyamssaviq: then it is like shell per monitor. no?10:40
Saviqdyams, yes10:40
dyamssaviq: i got it :)10:40
kamstrupbooyacacha mhr3, gord! nailed the home-lenses despite njpatel trying to trip me up with his tricks! :-D10:45
gordwoohoo10:45
gordhe's trixy10:45
kamstrupjust adding some tests10:45
kamstrupthen mp10:45
gordkamstrup,  you know omg already wrote about this stuff right? can't disappoint them now ;)10:46
kamstrupgord: indeed :-) that kinda upped the pressure a bit...10:46
kamstrupgord: as you'll learn soon enough, this was not exactly trivial to get right10:46
kamstrupI basically wrote an in-memory relational db :-)10:46
gordoh dear, /me gets his finger over the rejected button10:47
kamstruplol10:47
gordcomment: stop re-writing mysql every six months10:47
kamstrupboring10:47
kamstrupit would actually be interesting to rewrite the internal lens handling by using in-mem sqlite tables. Will be quite fast, and actually not too ugly10:48
mhr3kamstrup, so... i suppose the the merge diff in counted in dozen thousands lines?10:49
mhr3is counted in*?10:49
kamstrupindeed10:52
Saviqnerochiaro, I'm pushing just the input shaping tests to lp:~saviq/+junk/shell-shapetests10:53
Saviqnerochiaro, can you try them? I can't seem to be able to fail them even without input shaping..10:53
nerochiaroSaviq: how do you remove input shaping ?10:53
Saviqnerochiaro, still pushing, though10:53
Saviqnerochiaro, I just merged the commits that did the tests10:54
Saviqnot those that actually implemented the feature10:54
Saviqnerochiaro, pushed10:54
nerochiaroSaviq: on top of unity-2d-shell ?10:54
Saviqnerochiaro, yes10:54
Saviqnerochiaro, btw, -shell has stuff merged from trunk again this morning10:54
nerochiaroi saw that10:55
nerochiarolet me try10:55
SaviqI freakin' can't fail those tests... wth10:55
nerochiaroSaviq: checking. might be something wrong with waht i do10:56
Saviqnerochiaro, btw that's why it's good to write the tests first, too ;)10:56
Saviqotherwise you never know if they actually fail :]10:56
Saviqor at least make it easy to only merge the tests and not the fix itself10:57
Saviqbrb10:57
nerochiaroSaviq: you have a point10:57
nerochiaroSaviq: they don't seem to fail here neither. i'm looking into why11:04
nerochiaroSaviq: are you sure you picked up all my changes ? in your branch there's some commits missing it seems. i'm double checking i pushed all11:05
nerochiaroSaviq: revision 934 (which i added this morning) is the one that should make the tests properly fail11:06
Saviqnerochiaro, oh11:07
Saviqnerochiaro, will check out again in a bit11:07
nerochiaroSaviq: okies11:07
nerochiaroSaviq: i double check and i pushed all of them. the last on top of my branch should be 935 now11:07
nerochiarogreyback: Saviq: or anyone: panel buttons for dash submitted as an MR, for whoever wants to take it: https://code.launchpad.net/~unity-2d-team/unity-2d/unity-2d-shell-dash-panel-buttons/+merge/8941411:19
nerochiaroi'll bbiab11:19
davidcallekamstrup, about matching the sorting of lenses in the Home Dash to the lens bar. Would it mean that the lens bar wouldn't be sorted alphabetically on the lens name anymore?11:40
kamstrupdavidcalle: depends... :-)11:41
kamstrupdavidcalle: it could be, but not if we let users override11:41
mhr3i can imagine that in some languages the ordering isn't what we want11:43
mhr3unless it's being sorted on non-localized name11:44
mhr3kamstrup, anyway so what was the thing you wanted me to look at yesterday?11:44
kamstrupmhr3: some tweaks to the music lens11:44
davidcallekamstrup, ok. I'm just going to make an Aardwark lens to mess with you guys. ;-)11:44
davidcalleAardvark*11:45
mhr3kamstrup, oh dear :P11:45
mhr3is there a bug opened?11:45
kamstrupmhr3: when doing global search, we need to collate the Songs and Albums categories into one Music category (with albums first)11:45
kamstrupmhr3: it's in relation to the new homescreen, it's mentioned briefly there11:46
kamstrupmhr3: I talked with JohnLea about it11:46
kamstrupmhr3: I have a partial branch ready... hold on I'll upload it11:46
mhr3Dee.Transaction comes to rescue us :)11:46
kamstrupmhr3: you can save yourself a bit of time if you start from lp:~kamstrup/unity-lens-music/home-lenses11:49
Saviqnerochiaro, so here's what I'm doing: `bzr branch lp:~unity-2d-team/unity-2d/unity-2d-shell-shaped-testability-shapetests`11:59
Saviqnerochiaro, `bzr merge -r 913..907 .`11:59
Saviqthere are two small conflicts11:59
Saviqbut that gets rid of the actual shaping code11:59
nerochiaroSaviq: I don't understand why you do that merge11:59
Saviqnerochiaro, I want to get rid of the actual shaping12:00
nerochiaroSaviq: to test that the tests fail ?12:00
SaviqI want to have shell with shape tests on top12:00
Saviqyes12:00
Saviqand they don't12:00
nerochiaroSaviq: ok12:00
Saviqnerochiaro, http://pastebin.ubuntu.com/12:00
Saviqfacepalm12:00
Saviqnerochiaro, http://pastebin.ubuntu.com/810617/12:00
nerochiaroSaviq: only one fails12:01
nerochiarohmm12:01
nerochiaroSaviq: can you check that the function to compare window shape in the input_shaping.rb tests don't compare the sizes of the windows anymore ?12:01
nerochiaroSaviq: if it does, then something is messed up again and the branch is not current12:02
nerochiaroSaviq: but honestly to test that the tests fail if the shaping isn't there, i'd just remove the call for XShapeCombine...12:02
nerochiaroeven though i understand why you're doing it that way12:03
Saviqstandup12:03
nerochiarosure12:03
nerochiaroi'm there already12:03
SaviqKaleo, you comin'?12:03
Saviqnerochiaro, lp:~saviq/+junk/shell-shapetests12:14
nerochiaroSaviq: looking into it now12:15
nerochiaroSaviq: it looks like on my machine it actually hangs when comparing the images in one case, i'm trying to find out why12:27
nerochiaroSaviq: hangs as in IM compare takes 100% cpu seemingly forever12:28
Mart_inihi all12:29
Saviqnerochiaro, isn't that why you were comparing the dimensions of the images?12:29
Saviqthat imagick hanged when they were different?12:30
Saviqand also, they shouldn't ever be different, should they?12:30
Mart_iniI have a problem with Windows Theme.... Here is a screen shot with current look:http://imageshack.us/photo/my-images/209/zrzutekranu201201201327.png/ ... is there any posibility to change it?:/12:30
nerochiaroSaviq: no, i was comparing the sizes because IM returned 0 difference when the sizes were different, and instead i should've checked the error code. but i guess it's a good thing to have both the size check and the error code check12:31
nerochiaroSaviq: they should be different in the case when you want the tests to fail: without shaping applied the size of the window is not fullscreen12:31
SaviqMart_ini, looks like your gnome-settings-daemon crashed, did you try to log out and back in?12:32
Mart_iniyeah:/12:32
Mart_iniand didnt help:/12:32
Mart_inieven restart of whole system12:33
SaviqMart_ini, you can change the theme in gnome-control-cente12:33
Saviqr12:33
Mart_iniyes I can but it didnt work12:33
SaviqMart_ini, try in #ubuntu, here isn't really the place for that12:34
Mart_iniThere I have few options like Ambiance , radiance, high contrast but even one of it changes nothing12:34
Mart_iniok12:34
Saviqthere's more people there that will be able to help12:34
Mart_inino problem, thanks:)12:35
Saviqnerochiaro, sure, but the test should only pass if the images are the same size _and_ the input shapes are correct, right?12:35
Saviqnerochiaro, I removed the unlinks, the masks you generate look ok12:36
Saviqexcept12:37
Saviqlet me just have one at a time12:37
Saviqah no, ok - there's four12:37
Saviqlauncher, launcher + dash, launcher + collapsed dash, fullscreen12:37
nerochiaroSaviq: to your first question, yes12:38
nerochiaroand yes 4 tests12:38
Saviqnerochiaro, they're not the same size, though12:38
Saviqonly the fullscreen one is12:38
Saviqthe rest are only bounding-box sized12:39
nerochiaroSaviq: let's mumble a moment please12:39
Saviqi.e. launcher is only the size of the launcher, shouldn't it be a white rectangle with a black rectangle on the left?12:39
Saviqsec12:39
mhall119didrocks: will you have time today to talk about singlet and quickly, or early next week perhaps?12:46
didrocksmhall119: early next week12:47
mhall119ok12:47
mhall119I'll ping you Monday then?12:47
nerochiaroSaviq: i'm a moron,i was using verify() { somevalue } instead of verify_equal('true') { somevalue }13:01
Saviqor verify_true() {} ?13:01
nerochiaroor that13:01
Saviqnerochiaro, okies, good thing we caught that13:01
Saviqthat would be a non-useful test13:01
nerochiaroSaviq: yeah. so i'll fix that and put back the size check13:02
nerochiaroSaviq: push and let you know13:02
Saviqnerochiaro, thanks13:02
nerochiaroSaviq: thanks to you13:02
Saviqsometimes I'm being an a$$ for a reason :]13:03
Saviqgood13:03
nerochiaroSaviq: generally you aren't one13:03
Saviqyeah, generally13:03
Saviq;)13:03
nerochiarowell we all have our moments of assitude ;)13:03
nerochiaroSaviq: pushed fixes. hopefully for the last time ;)13:11
Saviqnerochiaro, cool, checking now13:11
Saviqnerochiaro, yup, much better!13:16
nerochiaroSaviq: awesome13:17
mhall119kamstrup: https://launchpad.net/unity-lens-sample contains some very old code, what's the plan for that project?13:17
Saviqnerochiaro, http://pastebin.ubuntu.com/810671/13:19
Saviqlauncher+dash failed13:19
Saviqthat's with shaping13:19
nerochiarowtf, everything worked here13:22
nerochiaroSaviq: ^13:22
nerochiaroSaviq: can you post the pngs somewhere, like imgur.com ?13:23
Saviqnerochiaro, yup13:27
Saviqnerochiaro, looks like it's comparing launcher against launcher+dash13:27
Saviqmight be it's trying to get the shape too fast13:27
Saviqnerochiaro, yup13:28
nerochiaroSaviq: sleep in the middle ?13:28
Saviqnerochiaro, ye13:28
Saviqs13:28
nerochiaroSaviq: are you pushing that one yourself ?13:28
Saviqnerochiaro, no, push13:28
SaviqI need to straighten up my branches here first13:29
Saviqdon't want to push something weird13:29
nerochiaroSaviq: 2 secs sleep ok ?13:30
Saviqnerochiaro, 0.5 was fine here13:30
Saviqnerochiaro, but 2 is fine13:30
nerochiaroi'll do 1 then, if 0.5 was fine13:31
SaviqI wonder if we can actually use the verify()s timeout here somehow13:31
Saviqno idea how that works, though13:31
nerochiaroSaviq: better not risk for now13:31
Saviqbut yeah that won't help either13:31
Saviqsince what will we verify13:31
Saviqthe image is there13:31
Saviqjust not up to date yet13:31
* Saviq needs to read about the verifies and stuff13:33
nerochiaroSaviq: in any case it's a bit weird to do these kinds of tests because ultimately you're still bound by the speed of the machine13:33
Saviqnerochiaro, sure, that's why the verify_ stuff helps13:33
SaviqI'm not sure how it works, though - will it check every second or?13:33
nerochiaroSaviq: yeah, but it works only for things you do in the SUT IIRC13:33
Saviqok13:33
nerochiaroit's syncronized somehow13:33
nerochiaroSaviq: pushed the sleeps for now13:34
Saviqthat's why I said /me needs to reda about that13:34
Saviqnerochiaro, cool, checkinf13:34
Saviq-f13:34
Saviq+g13:34
snadge:D13:36
Saviqnerochiaro, "4 tests, 8 assertions, 0 failures, 0 errors" yay13:36
snadgeim running precise on a few systems.. including this one which i installed from a daily build13:36
Saviqapproving13:36
snadgeanyway.. on this system.. i cant visually tell the difference between a focussed window and a non focussed one13:37
snadgethey all appear to have focus even if they dont13:37
snadgeis there a ccsm setting for that?13:37
Saviqnerochiaro, on a related note, did you get an answer about the actual input shape of the dash? should it incorporate the shadow or not?13:38
Saviqnerochiaro, as the images now very clearly show it's wrong how it is now :)13:38
nerochiaroSaviq: i don't think i did. and i didn't go check unity3d yet13:40
Saviqlet me13:40
nerochiaroSaviq: but this is what we had in unity-2d13:40
nerochiaroSaviq: so please let's commit this, then fix it in another MR13:40
Saviqnerochiaro, already merged13:41
SaviqI was curious..13:41
Saviqnerochiaro, aaand anyway...13:41
Saviq3d behaves completely different - it takes the whole screen when dash is active13:41
nerochiaroSaviq: it's always fullscreen ?13:42
Saviqnerochiaro, when the dash is open there's no interaction with the windows below13:42
* snadge cries13:42
nerochiaroSaviq: eww13:43
nerochiaroSaviq: well, we're not going back13:43
Saviqnerochiaro, not going back, but we might need to revisit our shapes later13:43
nerochiaroSaviq: but how do they exit ? clicking outside of the dash area should close it13:43
Saviqlike have a fullscreen mousearea behind the dash13:43
Saviqnerochiaro, yes, the lighter border already does that13:43
nerochiarodoes what ?13:44
Saviqexits the dash13:44
Saviqclicking on the lighter border around the dash will exit it, as will clicking anywhere outside13:44
nerochiaroSaviq: but that border doesn't have a drop shadow ?13:44
Saviqnerochiaro, it does13:44
snadgehttp://askubuntu.com/questions/70071/wrong-window-focus-behaviour-in-unity-but-not-gnome-shell13:44
Saviqsnadge, sounds compiz-related13:45
nerochiaroSaviq: so clicking on the shadow exits. then it's what we need to do in unity-2d too13:45
snadgeyeah .. only one of my systems does it13:45
Saviqgreyback, -qt's dash corner has much bigger radius than unity's does, do you know which is correct?13:45
nerochiaroregardless of the shaep13:45
Saviqnerochiaro, yeah we need a mousarea covering the whole thing13:45
snadgebut im trying to figure out which ccsm option would be related to window focus appearance13:45
htorquedidrocks: hi! can you please make sure the old test case in bug 913569 works for you (reveal launcher bar, click on the ubuntu/dash launcher, don't move the mouse outside of the launcher bar area, press alt+f1 → launcher bar should be saturated)? it's not working here.13:45
Saviqsnadge, I'm not saying it's an option13:45
htorqueno ubot? well: https://bugs.launchpad.net/unity/+bug/91356913:46
snadgelooks like its an fglrx problem13:46
nerochiaroSaviq: that's two separate issues: one is the non-interaction with the stuff below, the other is what part of the dash should trigger the dash to close13:46
Saviqnerochiaro, yes13:46
nerochiaroSaviq: i'm focusing only on the latter question13:46
Saviqnerochiaro, both minor issues for later13:46
nerochiaroSaviq: indeed13:46
snadgei need to enable unity switcher apparently13:46
didrockshtorque: oh interesting, I found another case then13:46
Saviqsnadge, tried `unity -reset` to reset your environment?13:46
didrockshtorque: try right-click on bfb -> dash home13:46
didrockshtorque: alt + F113:46
didrocksit saturated then, isn't it?13:47
Saviqgreyback, dyams, Kaleo, tiagosh: input shaping merged, yay :)13:47
Saviqnerochiaro, can you resubmit the buttons branch so that tarmac won't die?13:48
nerochiaroSaviq: will do shortly13:49
snadgehmm.. actually that bug seems to describe the fix13:49
dyamssaviq: very nice13:49
nerochiaroSaviq: https://code.launchpad.net/~unity-2d-team/unity-2d/unity-2d-shell-dash-panel-buttons/+merge/8943613:50
Saviqnerochiaro, thanks13:50
Saviqgreyback, one thing I noticed - press super, alt+f1 - dash goes away13:53
Saviqbug? feature?13:54
dyamssaviq: Atleast I can say its not reported as bug so far :)13:55
Saviqdyams, checking with unity13:55
dyamssaviq: Ok13:55
Saviqdyams, unity does not do that13:58
Saviqdyams, I say we fix along with the shell work13:59
dyamsdyams: Ok, sure13:59
dyamssaviq:^^14:00
Saviqdyams, trying to talk to someone smart here? ;)14:01
dyamssaviq: ;)14:01
Saviqdyams, do you confirm that bug, though?14:02
greybackSaviq: dyams: nice find, but I'd like to check with design what is the right thing to do.14:03
Saviqgreyback, sure, another thing is keyboard nav between the dash and the launcher14:04
* dyams greyback is right 14:04
* greyback only learns now that nick changes have to be done for each server14:04
Saviqgreyback, ?14:04
greybackSaviq: example?14:05
Saviqgreyback, go left from search entry14:05
snadgeok unity --reset doesnt help.. deleting my .compiz .config and .gnome2 dirs didnt help14:05
greybackSaviq: maybe it's xchat14:05
Saviqgreyback, I don't think it is, you can have different nicks per server14:05
KaleoSaviq: rock14:05
Saviq...and a hard place14:06
greybackpaper scissors14:06
greybacklizard spock?14:06
Saviqgreyback, you can't have two14:06
Saviqpaper _or_ scissors14:06
Saviqbut hey, you lost with yourself :D14:06
greybackSaviq: hmm, again I'd like to check. If you're editing text in that box, going left too many times to focus BFB might be confusing too14:06
greybackor won :P14:07
Saviqgreyback, depends how you look on it ;)14:07
greybackSaviq: yep, hence asking design ;)14:07
Saviqgreyback, that was re paper scissors14:07
Saviqgreyback, but sure, for tv we have going left from dash content14:07
greybackthat's my answer to everything :)14:08
Saviqlol14:08
Saviqa good one, too14:08
greybackSaviq: yeah that consistency would be nice alright14:08
Saviqgreyback, except I hate it that I can't go left from search entry to launcher ;)14:08
Saviqso yes, that needs design14:08
SaviqJohnLea, we need you here :D14:08
JohnLeaSaviq; where are you?14:09
Saviqhere14:09
JohnLea;-)14:09
SaviqJohnLea, like, on IRC ;)14:09
SaviqJohnLea, two things: open dash, press alt+f114:09
Saviqright now the launcher gets focus14:09
Saviqbut the dash disappears14:09
Saviq(in unity other weird things happen, but dash does not disappear)14:09
Saviq(that's just the first thing)14:10
SaviqI have a bug ready that I can affect to ayatana-design, if you'd like14:10
JohnLeabug #?14:10
Saviqnone, right now14:10
Saviq'cause we weren't sure it's a bug14:10
SaviqI can file and affect you guys14:10
JohnLeayup, ping me the bug number when you have filed it14:11
JohnLeathx14:11
SaviqJohnLea, bug #91920914:11
SaviqI said I have it ready14:11
greybackSaviq: ooh you're kidding! https://bugs.launchpad.net/ayatana-design/+bug/91921114:13
greybackSaviq: grrr, you & your efficiency14:13
Saviqgreyback, no that's fine14:13
SaviqI only filed the dash, alt+f1 one14:13
greybackSaviq: yep just saw that, pfew14:14
Saviqgreyback, we need one the other way around, too14:14
greybackSaviq: yep14:14
Saviqexcept that going right from the launcher gives you the menu14:14
greybackwhich is pointless14:14
Saviqso it might be that we shouldn't have any keynav between launcher and dash14:14
Saviqto have it consistent14:14
Saviqjust use super / alt+f1 to be sure where you'll end up14:15
greybackSaviq: yep, hence asking design ;)14:15
Saviqyeyp14:15
JohnLeaSaviq; the dash should hide, current behaviour in Unity2d is correct (but this needs fixing in unity3d)14:16
snadgegah... all my windows look like they have focus14:17
SaviqJohnLea, ok, so that kind of solves part of #91921114:17
greybackJohnLea: woo :)14:17
Saviqgreyback, I'll cook up a test for that :)14:17
snadgeprobably an fglrx issue.. sigh14:17
Saviqsnadge, try with radeon14:18
Saviqif you can, that is14:18
JohnLeaSaviq, greyback; take a look at bug #919209 now ;-)14:19
Saviqtake that!14:19
Saviqmwahahahaha14:19
snadgeok14:19
htorquedidrocks: yeah, but again: not when the mouse doesn't leave the launcher bar area14:21
Saviqgreyback, we do have a bug there, though - go super, alt+f1, then try to dismiss the launcher14:22
didrockshtorque: yeah, I misread that part, I edited it, sorry :)14:22
htorquedidrocks: thanks, and no problem! :-)14:22
greybackSaviq: Alt+F1 again, or Escape. You want to click away?14:23
Saviqgreyback, mine doesn't hide14:23
greybackSaviq: hmm, you running shell?14:23
SaviqI have to alt+tab / click away to get out of the launcher14:23
Saviqgreyback, nope, oneiric14:23
Saviqwrong14:23
Saviqstaging14:23
Saviqgreyback, it works if I just go alt+f1, alt+f1 or alt+f1, esc14:24
Saviqbut not if I go super, alt+f1, [esc,alt+f1]14:24
greybackSaviq: yep, confirmed. I can click away though14:24
greybackSaviq: logging bug14:25
Saviqgreyback, do you think that belongs to launcher or dash tests?14:25
dyamsgreyback: while testing { Super+Num_Key }, I assume that application launched successfully if the tile has atleast one pip14:25
JohnLeaSaviq, grayback; also see bug https://bugs.launchpad.net/ayatana-design/+bug/86912214:26
snadgeok getting somewhere now.. fglrx has the window focus bug.. but radeon does not14:26
dyamsgreyback: i.e to check the application is running status14:26
greybackSaviq: yep I know the cause. A bad bit of code from me :(14:26
greybackSaviq: launcher I'd say. Other apps can cause it14:27
Saviqgreyback, oks14:27
SaviqJohnLea, apart from point 3. looks fixed in unity-qt14:29
Saviq(see how I've sneaked the non-2d name there? ;>)14:29
greybackSaviq: oO14:29
smspillaznjpatel: comments on https://code.launchpad.net/~vanvugt/unity/fix-742544-alt-trunk/+merge/8677914:34
smspillazsnadge: dri drivers do not have the no-damage-events-on-non-window-pixmaps bug anymore14:34
snadgedammit.. its an fglrx problem14:34
njpatelsmspillaz, jasons' work will fix this14:34
snadgesmspillaz: Im using the latest drivers from amd :|14:35
njpatelwe can't just revert without having a proper fix14:35
smspillaznjpatel: for 4.0 ?14:35
smspillaznjpatel: ok, can you leave  comment then ?14:35
njpatelnot for 4.0, we don't need this in 4.014:35
smspillazthe fix seems to make sense, always picking the "primary" monitor. unless I missed something14:35
snadgefglrx_8.920 aka catalyst 11.1214:36
snadgeinstalled with --buildpkg Unity/precise14:36
Saviqgreyback, so I'm thinking separate tests - one that verifies that the launcher behaves correctly when the dash is open (not caring about what the dash does)14:36
Saviqand the other just for the dash14:36
Saviq(two for the first case)14:37
greybackSaviq: yeah that's more comprehensive14:37
Saviq- one for alt+f1, one for esc to dismiss14:37
snadgesmspillaz: i cant find any references to that bug on google14:38
njpatelsmspillaz, you can't open the launcher when it's hidden on 4.0 if it's not on the left screen easily14:38
njpatelthat's why it picks 0 (it used to always pick primary)14:38
njpateljason's multimonitor work fixes that14:38
Saviqgreyback, hmm we actually don't have a test to just check whether launcher shows after dash has been invoked14:39
SaviqI'll have one for that, too14:39
greybackSaviq: not yet, lots of things to test :(14:39
Saviqgreyback, yup14:39
mhall119does http://blogs.gnome.org/carlosg/2012/01/20/multitouch-is-near/ use any uTouch technology?14:40
greybackSaviq: shell in a usable condition now?14:40
Saviqgreyback, yup14:40
Saviqcnd, ^14:40
greybackSaviq:  ok, I'll focus more on that for tests in future14:40
Saviqgreyback, I'll do the four I mentioned14:40
smspillaznjpatel: ok, can you comment on the merge then ?14:41
Saviqmhall119, cnd will be best to answer that, but he's hard asleep now, I'm afraid14:43
mhall119when he wakes up, will it be Friday or Saturday?14:44
SaviqFriday14:44
Saviqmhall119, but from what I can see there won't be any utouch happening behind that14:47
Saviqmhall119, all the work that's gone into X re multitouch while utouch was in the works will, of course14:47
mhall119ok, so some of the work that Canonical did for uTouch is helping enable GTK+ touch14:48
mhall119that was really my question14:48
njpatelsmspillaz,  i did14:53
smspillaznjpatel: yep, saw, thanks14:58
smspillazjust so it didn't look dodge when I abstain for no reason XD14:59
smspillazmhall119: cnd works upstream with XInput2 - some of XInput2 is used for the Gtk+ touch stack. you'll have to ask him on the specifics15:00
Saviqgreyback, do we want any tests that we know will fail in trunk submitted there?15:08
Saviqgreyback, the actual question is whether we want _any_ tests that fail in the suite? or do we keep them somewhere in a branch and only merge with the fix?15:08
Saviq'cause I can easily imagine (and not only imagine) people writing tests not being those that actually fix the issues15:09
greybackSaviq: can add tests that are skipped by defining them as "xtest something" instead of "test something"15:18
greybackso they can be enabled later15:18
Saviqgreyback, oh cool15:18
Saviqgreyback, is there a way to actually run them, too?15:18
nerochiarogreyback: Saviq: any idea on how to test that the dash will go fullscreen when the resolution changes to resolution that's too small ?15:18
Saviqnerochiaro, you could test the dash mode and its height / width?15:19
greybackSaviq: no unfortunately, it's just a little bit of syntactic sugar15:19
Saviqgreyback, ok nvm15:19
nerochiaroSaviq: yes but how do i change the resolution in the test ?15:19
Saviqnerochiaro, xrandr?15:19
nerochiaroSaviq: to what resolution ? each system is different in what it does allow ;)15:20
nerochiaroSaviq: and actually on my machine for some reason just right now xrandr isn't working15:20
nerochiaroalso, do we want to fuck around with resolution on people's machiens ?15:20
Saviqnerochiaro, as greyback mentioned earlier - skip the test with a warning15:20
Saviqnerochiaro, we can have them separate15:20
Saviqgreyback, what do you think?15:20
greybackI think fucking about with people's resolution is dodgy15:21
nerochiaromy suggestion here is to test at whatever resolution we are right now and check the dash in the correct shape15:21
greybackBest detect in the test what resolution they have, and just return if it's not suitable15:21
greybacknerochiaro: yeah, I think that's ok15:21
nerochiarogreyback: or test that we do the right thing at that resolution, knowing that maybe at another resolution we will fail15:22
Saviqnerochiaro, btw, it doesn't, not in my VBOX at least15:22
nerochiaroSaviq: doesn't what ?15:22
Saviqnerochiaro, doesn't adapt15:22
nerochiaroSaviq: no it doesn't, i'm working on it now :)15:23
greybacknerochiaro: exactly. I don't see how to change resolution safely15:23
Saviqat 640x480 the launcher is resized, but the dash doesn't change modes15:23
Saviqnerochiaro, ok15:23
Saviqgreyback, nerochiaro: maybe we could have an env var15:23
Saviqthat says "RUN_DISRUPTIVE_TESTS"15:23
nerochiarogreyback: it would be great to be able to run the tests in an instrumented environment where ScreenInfo returns whatever we want it to return15:23
nerochiaroSaviq: ^15:23
Saviqnerochiaro, that might make sense15:24
nerochiaroso we would be able to fake changes in the resolution15:24
Saviqnerochiaro, can't we hack ScreenInfo already?15:24
Saviqnerochiaro, from testability15:24
Saviqnerochiaro, just write to the properties15:24
nerochiaroSaviq: hmm, it's a singleton class, not part of the object tree15:24
nerochiarodoubt it can reach it15:24
Saviqnerochiaro, oh :/15:24
nerochiaroSaviq: but aren't we running unity-2d-shell with -testability ?15:25
Saviqnerochiaro, yes, we are15:25
nerochiarowe can check that and use the fake ScreenInfo in that case15:25
Saviqyup, we probably coudl15:25
Saviq*could15:26
nerochiarobut i'm not sure it's a great idea from another standpoint because it's just adding an extra code path _in_ the app under test15:26
* nerochiaro got an idea15:26
* greyback pondering how evil Xephyr would be for this15:27
Saviqgreyback, too evil15:27
nerochiarowhy ?15:27
Saviqunless we decide to run everything under xephyr, that i15:28
Saviqs15:28
greybackSaviq: just for resolution tests, why so evil15:28
greyback?15:28
Saviqdunno, I kind of hate xephyr for some reasony15:28
Saviq-y15:28
Saviqmight have had issues with it before or something15:28
Saviqnigthmares maybe15:28
Saviqand simply unsure if we really need that15:29
nerochiaroSaviq: i guess it's the same feeling i have for vbox ;)15:29
Saviqnerochiaro, true, true15:29
greybackI think it's an option, but not a great one. It means installing more crap on the machine under test15:29
nerochiarosurely running the tests under xephyr will be closer to the real system than vbox15:29
Saviqnerochiaro, how so?15:30
Saviqnerochiaro, as far as the system knows, vbox is just different hardware15:31
Saviqas far as an application knows, xephyr is just a different X server/client/whatever15:31
Saviqso the difference is just at a different level15:31
Saviqcan't we just skip the tests that are disruptive unless there's an env var set?15:32
Saviqand those that we can't run (like when Ugo's xrandr is broken)15:32
nerochiaroSaviq: sure, if you know xrandr is broken ;)15:33
greybackSaviq: yep, do-able15:33
Saviqnerochiaro, how does your broken xrandr show it's broken?15:33
nerochiaroSaviq: in general i agree, in this particular case i dunno even if xrandr works, how do we know which resolution to change to ?15:33
Saviqit probably doesn't display the res or something?15:33
nerochiaroSaviq: it just say it faield to change the res15:33
nerochiaromight be i'm using nvidia drivers or something15:33
Saviqnerochiaro, I'm on nvidia too15:34
Saviqnerochiaro, just run xrandr, find one that fits, change15:34
Saviqchange back15:34
Saviq+test in between15:34
greybacknerochiaro: this is the reason why VBox is good idea IMO. If something core is broken on your machine, then test will fail because of it . At least in a VBox instance, it should be a clean install & everything working15:34
nerochiaroSaviq: "find one that fits" ?15:34
Saviqnerochiaro, it will list you available resolutions15:34
Saviqjust find one that's low enough that the change will happen15:34
Saviqif any of that fails, the test failed, but will tell you why15:35
Saviqit15:35
Saviqshit will happen, yes - tests will sometimes fail due to <input_your_favourite_reason_here>15:35
nerochiarogreyback: Saviq: what i'm really thinking is that we should take a step back and define who are the tests meant for. if they are meant for any random user to run,it's one thing, if they are meant to be run on jenkins for verification before release,it's another15:35
Saviqnerochiaro, they're primarily based for automated testing15:35
Saviqbut if we can make them work for user x then cool15:36
Saviqgreyback, unless I'm mistaken with that?15:36
greybackthat's my priority list, yeah15:36
greybacknerochiaro: I do want test to run on your machine, without VBox. But there's only so much time I can spend thinking of every possiblt thing your machine might have different to work around15:37
nerochiarogreyback: i agree. i'm not necessarily against vbox or xephyr15:37
nerochiarobbiab15:37
greybacknerochiaro: in fact, I prefer when they can run inside some virtualised thing, so I can do other stuff as they run15:38
greybackVBox has a headless mode too, which I want to play with in future15:38
Saviqgreyback, yeah I do the same, they just run away, I'm doing other things, when I get back I have a result ready15:38
greybackSaviq: yep, perfect, that's what I'm trying to get going15:39
greybackAmazing all the little things that can get in the way15:39
Saviqyup15:40
greybackSaviq: nerochiaro: But I have to say, this week with you all using Testability, your comments about problems, stuff that's missing, etc, have been bloody useful15:40
greybackGreat to get proper feeedback15:40
greybackfeeeedback15:40
Saviqgreyback, for me it's awesome to see that we can actually test stuff15:41
Saviqbefore your Testability talk I was scared as hell15:41
Saviqeasy peasy now15:41
greybackSaviq: it is nice, with a few painful exceptions. XDotool stuff needs a lotta loving (in progress)15:42
Saviqsure, but we can already do a lot15:42
greybackand we're really pushing what the tool can do. It wasn't meant for testing a desktop environment15:42
greybackYep, I'm pretty pleased with it15:42
SaviqI love it how we can hack a test up, make it fail (well, error at this point :P) and the fix it, pass the test15:42
Saviqdone!15:42
Saviqno f*cking about15:42
greybackYep. It's a good way to work15:43
Saviqthat's what Ugo failed to do with the shaping work - he built tests on top of a working feature15:46
Saviqit was difficult to actually see whether the tests fail when the feature was broken (or not there)15:46
Saviqgreyback, you sir need to settle on a nick, too :P15:48
greybackSaviq: eh?15:48
Saviqyou're greyback here, gerboland on LP15:48
Saviqgreyback, you got a MR waiting, sorry15:48
greybackYeah, always meaning to get that changed15:48
greybackSaviq: np, looking15:49
Saviqgreyback, we (by we I mean you with a little help from your friends) need to define a process for working with tests15:50
Saviqlike whether we want separate branches for tests15:50
didrocksSaviq: bug #919209 is a duplicate15:50
Saviqsubmitted with xtest to disable them initially15:50
Saviqdidrocks, couldn't find one, sorry15:51
didrocksbug #88530415:52
greybackSaviq: I see. My concern is someone writing a disabled test will then forget to do the fix and enable the test.15:52
greybackSo I want fix+test15:52
Saviqgreyback, well, the bug will be open all the time15:52
Saviqso as long as someone is assigned to the bug...15:53
Saviqgreyback, fix+test has the added issue of not being able to test the test15:53
Saviqor making it difficukt15:53
Saviqs/k/l/15:53
greybackSaviq: sure15:53
Saviqexactly our issue with Ugo today15:53
greybackYeah, that I saw15:53
SaviqI spent several hours to verify that the tests actually fail without the fix15:53
Saviqthat should be easy as pie15:54
greybackTrue15:54
SaviqI'm not requiring for people to go TDD15:54
Saviqbut a separate test / fix branch might be useful15:55
Saviqand easy to work with, really15:55
Saviqsince they're separate enough, merging the tests into your fix branch to test would be very easy15:56
Saviqproblems arise when you need to fix your tests15:56
Saviqbut they're even bigger when you only have one branch where the history gets intertwined15:56
greybackLet me recap. You have a bug to fix. You first write a test for the fix in one branch15:57
greybackIn second branch you do the fix.15:57
greybackYou try to have both merged into trunk simultaneously15:57
greybackTest-only branch will cause Jenkins to lockout, unless test is disabled.15:59
Saviqthat's TDD, I'm not set on whether you should write the test first or the fix15:59
greybackYeah, I'm pondering out loud ;)15:59
Saviqthat's irrelevant, really15:59
Saviqbut there are two approaches here16:00
Saviq1) you merge xtests and not tests16:00
Saviqthen you merge the fix, actually enabling the tests16:00
nerochiaroSaviq: greyback: re16:00
Saviq2) merge the fix and the test before merging into trunk16:01
Saviq2) has issues with MRs16:01
Saviq1) does not16:01
greybackYeah option 1 is what I'm thinking is good16:01
Saviqtwo separate MRs - one for the test, the other for the fix - only thing we need to remember is that the test one needs to be merged first16:02
nerochiaroat this point i'm actually starting to think that TDD might be a better option (not mandatory, just saying for me for some cases)16:02
Saviqnerochiaro, !!!!!16:02
SaviqD:16:02
Saviq:D16:02
Saviq;)16:02
greybackSaviq: yep16:02
greybacknerochiaro: omg!16:02
greyback:)16:02
nerochiaroyeah, shocking i know16:02
SaviqI think he's been bitten by me being an a$$ today16:03
Saviqand even more by me being an a$$ rightly so16:03
nerochiaroby you being very rigorous, sir. that's differnet16:03
greybacknerochiaro: you have opinion on what we're discussing above. A test-driven workflow process16:03
greyback?16:03
mhr3gord, question about the views that displays stuff from lenses16:03
mhr3gord, it seems like they just append the results, no matter the position in the model16:03
mhr3gord, do they support inserting at proper position?16:04
greybackSaviq: nerochiaro whatever you two get up to in private has no business on this channel ;)16:04
mhr3gord, like i have 5 results in the view already and then i want to insert something at pos 016:04
nerochiarogreyback: i'm not much in favor of a tests branch and a feature branch, MR'd separately. adds lots of overhead imho16:04
Saviqgreyback, right, we should take that to #unity-qt16:04
Saviqnerochiaro, yes, the overhead is definitely an issue16:05
Saviqnerochiaro, but how else do you think we can make sure it's easy to verify the test itself?16:06
nerochiaroi've gotta think about it a bit16:06
greybackSaviq: LP can have one branch depend on another. Might help prevent fix being merged before test16:07
gordmhr3, are you talking about per category views?16:07
Saviqgreyback, yeah, but tarmac pukes with that16:07
greybackSaviq: ahh, I didn't know16:07
nerochiaroif bzr made it easier to reorder the history i would suggest that when you commit you move them as the first commit of your MR16:07
mhr3gord, yea16:07
Saviqsure, if we were using git I would just rebase my fix on the test16:07
Saviqbut we're not :P16:08
nerochiaroyeah, a man can dream right ;)16:08
mhr3gord, oh right the model is then split to categories... so no straight mapping from the model positions...16:08
gordmhr3, yeah, we go in order iirc, but the only signals the views get are row_added/row_removed so any changes are appended/removed16:09
nerochiaroSaviq: if the commits about the tests are not mixed with the commits about the feature one can just revert the block of commits about the feature when reviewing,no ?16:09
nerochiaroSaviq: what you did in my case16:10
mhr3gord, ok then, i'll pre-sort it in the lens, that will surely be easier...16:10
nerochiaroSaviq: so maybe we can either do the 2 branches thing or the grouping thing, and each dev choose which one they prefer16:10
Saviqnerochiaro, meeting, will get back to you16:12
greybacknerochiaro: sorry, grouping thing? You mean merge test into fix before MR?16:12
nerochiarogreyback: i mean that all commits that are not tests should not be mixed with the commits (or hopefully, single commit) that are tests16:13
davidcallemhr3, wouldn't that hurt lenses with scopes with different latencies? As the result would have to wait for the slowest scope to pass results before being displayed?16:13
nerochiarogreyback: so one can do "bzr merge -r X..Y ." where X and Y are the non-test commits, to revert the feature but keep the tests16:13
nerochiarogreyback: i think it works well for small bugfixes16:14
nerochiarogreyback: larger bugfixes might want the split branches16:14
greybacknerochiaro: true. I think it's valuable to keep them separate16:14
greybacknerochiaro: just trying to figure out best way so there's not too much overhead16:14
nerochiarogreyback: yeah, and i think the overhead of splitting is ok with a large branch (like -shaped) but not ok with a small fix16:15
greybacksay if a fix is bad, but the test is good, having them separate in trunk is great16:15
nerochiarogreyback: so for the small fix we can just have one single branch with feature commits and test commits cleanly separated16:15
mhr3davidcalle, well, yes, in some way16:16
nerochiarogreyback: well, if the commits are not mixed, it's easy to merge just a part of them,as if they were from 2 separate branches16:16
greybacknerochiaro: I dunno, then we've got 2 policies which adds confusion16:16
greybacknerochiaro: sure16:16
nerochiarogreyback: right. i just feel neither works well for all commits16:16
nerochiarogreyback: for all MRs, sorry16:16
mhr3davidcalle, i'll be actually sorting the results within one scope, so no big deal16:17
greybacknerochiaro: Yeah, I'm torn myself. I'd rather not the pain for every little bugfix16:17
greybacknerochiaro: but I don't like there being 2 policies either16:17
mhr3davidcalle, but now that i think about it, the merge strategy might actually not work at all16:17
nerochiarogreyback: frankly i wouldn't want to make any of these policies mandatory either16:18
mhr3and kamstrup's gone already :/16:18
davidcallemhr3, why?16:18
greybacknerochiaro: it wouldn't be a policy if it's not enforced :)16:18
greybacknerochiaro: guidelines are a nicer term16:19
mhr3davidcalle, cause you are sorting the model, but the dash won't care about the order of the model16:19
nerochiarogreyback: right16:19
mhr3it's appending latest results at the end16:19
davidcallemhr3, indeed...16:19
davidcallemhr3, can the Dash be changed in time for Precise?16:21
mhr3that's a topic for next week's discussions :)16:21
mhr3i suppose 2d has the same issue?16:22
mhr3greyback, ^^?16:22
didrocksgreyback: bug #919226 is another duplicate you just opened of bug #919209 ? (which I signaled as a duplicate of bug #885304 ?16:22
greybackmhr3: yes I believe so16:23
greybackdidrocks: 919226 != 919209 - it's a different bug16:25
didrocksurgh, yeah16:26
didrocks919226 is the duplicate of bug #88530416:26
didrocksnot 91920916:27
didrocksisn't it?16:27
greybackdidrocks: in the code, it's actually a different issue16:27
mhr3greyback, one can totally tell that you studied maths ;)16:27
mhr3(919226 != 919209)16:27
greybackmhr3: 8 years of university baby!16:28
didrocksgreyback: can you please dup 919226 to 885304?16:28
didrocksgreyback: I'll undup 919209 and say "sorry" to Saviq :)16:28
didrocksor are those you mean, "it's different bugs?"16:29
greybackdidrocks: yep, 919226 != 88530416:29
greybackdidrocks: it's a problem determining which window to give focus back to16:29
didrockshum, weird ;)16:29
didrocksah ok16:29
Saviqguys, straighten your maths up and let me know ;)16:29
mhr3greyback, i'm just waiting while you get to a dupe and type 9098 == 917216:30
greybackdidrocks: tho there should be a different bug it is a dup of, am searching16:30
didrocksanyway 919209 is a different one as well, undupping16:30
greybackmhr3: I... just ... can't  gaah16:30
Saviqnerochiaro, problem with "grouping" is that after review you will fix the test, then you will fix the feature... and then you're not grouped anymore16:31
mhr3greyback, so it'll be "~=" ?16:31
nerochiarogreyback: do you mind if i rename tests/places to tests/dash ? we can finally get rid of that old name now16:31
Saviqthat's never gonna work16:31
nerochiaroSaviq: ah, good point. keep thinking in terms of git16:31
nerochiaroSaviq: feh16:31
greybacknerochiaro: please do!16:31
greybackawww16:31
nerochiaroSaviq: but i really hate forcing separate branches even for small bugfixes16:32
nerochiarogrrr16:32
nerochiaroand bzr support for in-place branches ain't that great either so i have to keep them in two dirs, and rebuild all two times16:33
nerochiarobleh16:33
Saviqnerochiaro, well, colo-branches work ~fine for me16:33
nerochiaroit's the ~ that bites me at the wrong moments16:34
Saviqunless I move the whole repo around, when it dies completely <headdesk>16:34
nerochiaroor rather, bit me16:34
Saviqwell, ok, the only real issue I've had is moving the repo around16:34
Saviqit's got absolute paths saved in there16:34
greybackSaviq: I am thinking for a bug fix, the overhead of 2 branches is too much. As long as test and fix are separate commits, it should be ok16:34
Saviqwhich is :O16:34
nerochiaroi dunno, it might have been me being stupid, but sometimes switching between branches confused it immensely16:35
greybackSaviq: problem is defining "just a  bugfix" :)16:35
nerochiaroi'll give it another go i guess16:35
nerochiaroor just suck up the overhead16:35
Saviqgreyback, ok so maybe the guideline would be: every MR needs to have a clear way to get rid of the fix to be able to test the test16:35
Saviqhow you achieve that is the dev's responsibility16:36
greybackSaviq: yeah, that's my thinking16:36
Saviqnerochiaro, yeah I can't understand why once `bzr switch trunk` works and once it does not16:36
Saviqand then list out the recommended approaches16:36
greybackIf you write something that needs more than 1-2 tests, then the tests should be separate16:37
Saviq`bzr rebase` might be your friend there, too16:37
Saviqaanyway, EOD for me guys16:38
Saviqwe'll talk on monday, have a great weekend16:38
greybackSaviq: thanks for good discussion16:38
greybackHave a good one!16:38
nerochiarohave a good weekend16:39
nerochiaroSaviq: one last thing, if you have a sec16:39
Saviqnerochiaro, yup16:39
nerochiarodo you know if when i overwrite a branch with --overwrite and you want to pick up what i did, but preserve the build in your local tree, how to do that ?16:40
nerochiarosay you branched earlier, then i overwrote the branch, then you want to pick up my overwritten branch16:40
nerochiarobut in the same dir as the previous branch16:41
Saviqnerochiaro, `bzr pull --overwrite` should do, no?16:43
nerochiaroSaviq: i didn't know it existed :)16:43
Saviq:)16:43
nerochiaroSaviq: because with push --overwrite is permissible, then we can relatively easily reorder the history git-style with bzr uncommit and a few helper scripts16:44
nerochiaros/with/if16:44
nerochiaroand ask the reviewer to pull --overwrite again16:45
Saviqnerochiaro, yeah sure, but I'm too afraid to do that in bzr16:45
nerochiaroSaviq: i've been using uncommit a bunch and it's really sae16:45
nerochiarosafe16:45
nerochiarobut YMMV16:45
Saviqwe basically need a `bzr rebase -i`16:45
nerochiaroSaviq: ok i'll think about it16:47
nerochiaroSaviq: have a good weekend16:47
Saviqcheers16:47
nerochiarogreyback: that's funny, i'm fixing something where the test is actually longer than the fix16:53
nerochiarogreyback: also the test depends on something that's in gsettings, do i hardcode these values in the test file or read them from gsettings16:56
nerochiaro?16:56
greybacknerochiaro: oops sorry, reading17:13
nerochiarogreyback: np17:13
greybackyeah I can see lots of tests longer than the fixes ;)17:13
greybackEspecially with my demand for a nice long comment at the top17:13
greybackOh gsettings grr, another thingy on my list to figure out a proper test system for dconf stuff17:14
greybacknerochiaro: reading from gsettings risky?17:15
nerochiarogreyback: didn't say risky, just wondering what i should do. in the end the test will mostly mirror the fix, since we can't change the resolution on the user's machien17:16
nerochiarogreyback: i mean, i will read the min resolution, check what the user has, and test what the dash does. the dash will read the min resolution, check what the user has, and do something. i mean, it's pretty much the same ;917:18
nerochiaro;)17:18
greybacknerochiaro: lol ok so. Go for gsettings then17:28
burlidoes someone use unity-2d? or is maybe a developer?19:32
burliI want to know why unity-2d does not support the shortcuts for the lenses19:33
burlilike Super+a or Super+f19:33
nava_i use it19:41
nava_i dont know wht19:41
nava_why19:41
nava_but you can mail them to why they dont develop it19:42
burliand I want to replace Metacity with Mutter19:43
nava_why ?19:43
burliWith Metacity I have problems with tearing19:44
nava_ok19:44
nava_did u try unity 2d 5.2 ?19:44
nava_its new19:44
nava_just 1 week release19:45
burliIt looks good so far. The only downside is, that the window decorations is not hidden at maximized windows19:45
burliyes, I have Precise19:46
nava_good19:46
nava_enjoy it19:46
nava_and also u can report bugs in lunchpad19:46
burliI can, and I do19:46
nava_good19:47
=== kancerman_ is now known as kancerman
burlinava_, why do you use unity-2d?19:55
vadi2Does unity 2d allow you to re-order icons?21:11
vadi2I cannot seem to be able to drag the icon out. (using 2d for performance reasons)21:12
kenvandinemhall119, did you say that i should be able to add/remove filter options now?21:23
mhall119kenvandine: on what?21:23
kenvandinea scope21:24
kenvandinewhoops21:24
kenvandinecompletion fail21:24
kenvandinemhr3, ^^21:24
kenvandinesorry mhall119 :)21:24
mhall119ah, ok21:24
mhall119no problem :)21:24
mhr3kenvandine, that's right21:25
kenvandinemhr3, well it doesn't blow up if i do it21:25
kenvandinebut the lens doesn't see it21:25
mhr3nooo, dont tell me it doesn't work21:26
kenvandinemhr3, i wish i wasn't telling you that :)21:26
mhr3kenvandine, could you just restart unity while your lens is up?21:26
mhr3see what happens21:26
kenvandinei tried, restarting unity makes it show up21:26
mhr3cause i have a feeling that at some point unity no longer cares about changes to the model21:27
mhr3but that'd be a bug in unity21:27
mhr3kenvandine, anyway now that it's restart does it react to changes in the filters?21:28
kenvandinei didn't try that, let me do that21:28
kenvandineactually, maybe it isn't unity's fault21:29
kenvandinei don't get the filter.changed signal21:29
kenvandinei connect to the signal before i add options, and get the signal when it is first populated21:30
kenvandinebut later if i remove or add an option i don't get the signal21:30
kenvandine        var filter = scope.get_filter ("account_id") as CheckOptionFilter;21:31
kenvandine        filter.add_option (account.id, account.service + "/" + account.username);21:31
kenvandineis what i am doing21:31
* kenvandine restarts unity21:31
kenvandineok... that doesn't really help... i have an unrelated crasher when interacting with those filters :)21:38
kenvandinebut am am not getting filter.changed signals after i initially populate them21:40
jasoxhey guys23:26
snadgegday23:49

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