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

davidcallemhall119, Teester_, hey, sorry for earlier00:58
mhall119davidcalle: no worries, will you have a few minutes tommorrow to chat?  I just had a couple questions01:00
davidcallemhall119, sure01:01
mhall119great, I'll give you a ping in the morning (my time)01:01
mhall119thanks01:01
davidcallemhall119, perfect :)01:01
=== bschaefer_ is now known as bschaefer
Mirvduflu is successfully burning my CPU via Thunderbird ;)06:28
dufluMirv: Yeah I logged a bug against thunderbird yesterday, but only landed on an existing bug. Mostly ignored06:28
dufluThat reminds me. I need to check out why one of my "small" folders is using 12GB06:29
MirvI don't know why TB filtering is so slow, but for example if I get 100 bug e-mails it takes a while of 100% CPU burn before they are in the folders06:29
dufluMirv: There are actually separate bugs for "100% CPU during filtering" vs "100% CPU when idle" :P06:29
Mirvheh06:30
dufluMirv: And of course if thunderbird is spinning and constantly redrawing part of itself, that forces compiz to comply and update the screen. Constantly.06:30
Mirvof course06:32
=== BEC is now known as alpha_
=== alpha_ is now known as BEC
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
ryejoin #archlinux09:48
* rye tries to register on arch bbs to give the link to u1 bugreport. But can't. Please disregard that join msg :)09:49
ryeerm... my gnome-terminal for some reason maximizes when i click on other windows o_O - raring/unity... has somebody seen that?10:55
Mirvrye: haven't seen that, running pure raring (not daily ppa)11:01
Mirvand using gnome-terminal all the time11:02
Mirvinteresting anyway..11:02
ryeMirv: well, me too, (and kazam is broken to show how it behaves...)11:02
ryeMirv: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1040885 :)11:07
ubot5Launchpad bug 1040885 in gnome-terminal (Ubuntu) "gnome-terminal auto-restores its size" [Undecided,Confirmed]11:07
Mirvrye: oh! so coming to raring soon, good11:12
Mirvwould be worth backporting as well to quantal, precise apparently not affected11:12
ryeMirv: i think everything is affected, I remember I was given a video a year ago (i guess on precise) where gnome terminal was auto shrinking but this will need to be checked11:13
Mirvthe size changing when changing font size / opening/closing tabs is another bug that doesn't have a fix I think11:16
Mirvanyway, commented on the bug to help if someone wants to propose the SRU11:17
MirvI mean, do the SRU (until asking for sponsoring)11:18
ryeduflu: if you guys need a device to test https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1100970 on - feel free to ping me (https://launchpad.net/~rye)11:19
ubot5Launchpad bug 1100970 in unity (Ubuntu) "Dash background flickers and blur is misplaced on intel graphics" [High,Confirmed]11:19
=== dandrader is now known as dandrader|afk
ryeok, patch definitely works11:35
=== _salem is now known as salem_
=== dandrader|afk is now known as dandrader
mitya57hi fginther, can I ask you to review https://code.launchpad.net/~mitya57/jenkins-launchpad-plugin/no-empty-approved-by/+merge/143025 please?12:34
=== MacSlow is now known as MacSlow|lunch
=== dandrader is now known as dandrader|afk
=== rsalveti_ is now known as rsalveti
=== dandrader|afk is now known as dandrader
* luv started working on the patch to show list of windows when right-clinking an BamfIconLauncher - so far so good!, would say 30% done in one night13:56
luvmuch easier than I expected - most of the work was to backport GetWindowName and few other functions from HEAD to Unity in 12.04 LTS13:57
=== MacSlow|lunch is now known as MacSlow
mterryThe UTAH config seems broken (daily tests aren't working)14:37
didrocksmterry: yep, I opened 2 bugs for that14:52
mterrydidrocks, cool14:52
fginthermitya57, yes, I'll take a look15:25
mitya57thanks fginther!15:25
=== dandrader is now known as dandrader-afk
=== dandrader-afk is now known as dandrader
=== salem_ is now known as _salem
=== _salem is now known as salem_
mterryWhat's the story with the libunity-0.7 branch?  It's not the same as trunk, but why not?16:30
mterrymhr3, ^16:31
mhr3mterry, cause it's being developed16:35
mterrymhr3, fair enough.  I'm just used to the brave new world of fresh bits hitting raring moments after landing16:36
mhr3some components could break half the desktop though16:37
bregmajust a warning: I did an apt-get upgrade from the daily PPA and it removed unity and refuses to install it, beware17:52
* bschaefer was about to upgrade17:53
didrocksbschaefer: what do you call the daily PPA?17:54
didrocksas for some people it's staging, the other is really daily :)17:54
bschaeferyeah, I have both staging and dailing17:55
bschaeferdaily *17:55
didrockshaving both is clearly an issue :)17:55
bschaeferdidrocks, well bregma was having the problem :)17:55
* bschaefer updates to join in the fun17:55
didrocksyeah, let's see what he's having :)17:55
mterryWhat is Pawel Stolowski's IRC nick?17:56
didrocksmterry: pstolowski17:56
mterrydidrocks, thanks17:56
didrockshe's not online anymore apparently though17:56
didrocksyw17:56
mterryyar17:56
bregma"daily" is ppa.launchpad.net/ubuntu-unity/daily-build/ubuntu17:56
didrocksbregma: ah interesting, do you have the logs?17:58
bschaeferThe following packages will be REMOVED:17:58
bschaefer  unity17:58
bschaeferhmm strange17:58
didrockswell, the reasons why :)17:58
didrockslike apt-get install unity ;)17:58
didrocksbregma: because of UTAH failing, I have no idea of the state of the ppa17:58
* bschaefer updates to see as well17:59
bschaeferwell there was a recent ABI break in nux...18:00
didrocksyep, but normally, unity build-dep against latest nux now18:01
bschaeferyeah, well ill have everything upgrade shortly18:02
bregmahttp://paste.ubuntu.com/1563762/18:02
didrockshum18:03
didrocksis the unity build-deps not high enough?18:03
didrocksoh I know18:03
didrocksit was high enough if we built both at the same time18:03
didrocksbut we had the cruft in the ppa already due to previous nux not bumping the abi18:04
didrocksand so the versionning requirement was enough18:04
didrocksand so unity started before nux built18:04
bregmaright, http://paste.ubuntu.com/1563770/18:04
didrockswell, this will be fixed by itself in few hours, when next daily-build is fine18:04
bschaeferstrange, so do you have to rebuild those again?18:04
didrocksI hope that they will fix UTAH by then18:04
bregmaunity needs rebuilding against the current nux, 'sall18:05
didrocksyep18:05
bschaefercool, well hopefully my trunk builds as well :)18:05
didrocksheh, ideally, if we didn't get those UTAH issue, you don't need any daily/staging ppa18:05
didrocksjust have your latest ubuntu + the project you are working on18:06
bschaeferi usually try to stay up to date with staging/daily, though I should make sure I only have 1 of those ppas...18:07
didrocksbschaefer: well, you will get daily content without it (and validated) soon :)18:07
bschaeferI have ubuntu-unity-daily-build-raring.list and unity-team-staging-raring.list18:07
bschaeferhmm18:08
didrocksso no ppa is even better18:08
bschaeferI wonder if I should remove one18:08
bschaeferdidrocks, o awesome!18:08
didrocksbschaefer: both!!! :)18:08
bschaeferdidrocks, alright, Ill do that right now18:08
didrocks:)18:08
bschaeferthanks!18:08
mterrydidrocks, btw, debian/ added to home-scope, but needs unpackages libunity-0.7, so not sure you can do anything interesting like daily-builds yet18:08
didrocksyw, thanks for mentionning the issue bschaefer, bregma. It's another argument to automatically bump the build-deps18:08
didrocksmterry: I don't think we can do that yet18:09
fgintherbregma, bschaefer, I've noticed 2 recurring failures in the unity autolanding job that are failing multiple merges. Can either of you take a look? lp:1103487 & lp:110363218:53
bschaeferfginther, yeah, Trevinho mentioned the second one as a problem with /dev/random ...18:55
bschaeferfginther, but Iam unable to reproduce that failing :(18:55
bregmalooks to me more like two processes attempting to open the same socket18:56
* bregma investigates 18:57
bschaeferfginther, does the intel arch always run first?18:57
fgintherbschaefer, bregma thanks! this are causing about 1/2 of the jobs to fail18:57
fgintherbschaefer, they typically run simultaneously, but not gauranteed because they are just build jobs being sent to a queue18:58
bschaeferfginther, as it could be the intel one isn't getting shut down completely and the amd arc is attempting to open the display when something already owns it...18:58
bschaeferdang...18:58
fgintherthey may not always run on the same builder either18:58
bschaeferfginther, is there a way to tell from looking at the logs?18:59
fginthertell that they ran at the same time?18:59
bschaeferfginther, hmm yeah, but they should be running in their own environment anyway...19:00
bschaeferfginther, as it always seems to be a problem with the amd64 only19:00
fgintherbschaefer, the build jobs are just pbuilders running on possibly the same host. I believe sockets are provided by the host, so two jobs could hit a race condition19:01
fgintherbschaefer, yes, all the failures are on amd64, perhaps it builds just a tick slower?19:02
bschaeferfginther, i just find it strange that all of them are failing on amd6419:02
bschaeferfginther, hmm possibly,19:03
bschaeferas, the error "Could not open X display"  should mean that something else already has the display open19:04
bschaeferfginther, is there a hard coding to open display :0 ?19:04
* bschaefer ins't 100% sure how all the jenkins magic works19:04
fgintherbschaefer, that would have to be specified in unity tests themselves19:04
bschaeferyeah19:05
bschaeferfginther, :), cool, well off to see what I can find out19:05
fgintherjenkins isn't doing anything special to provide an X environment19:05
fgintherbschaefer, do you know of a bug for the /dev/random issue?19:06
bschaeferfginther, Trevinho mentioned the /dev/random problem but I wasn't sure how he arrived at that19:06
fgintherbschaefer, ok, thanks, maybe Trevinho is listening :-)19:07
bschaeferhopefully :)19:07
fgintherbschaefer, by the way, if you want to get more details from jenkins, you can add "/api/xml" to any url. For example: https://jenkins.qa.ubuntu.com/job/unity-mbs-autolanding/335/build=pbuilder,distribution=raring,flavor=amd64/api/xml19:08
fgintherthere you can see the timestamp for the build19:08
bschaeferfginther, awesome, thanks!19:08
bregmathe 'test-unit' test used GDK to perform drawing and get input, it evidently connects to the X server19:09
bregmagiven it's the failing test, I think that's a rational explanation19:09
bschaeferyes it is, hmm interesting19:09
bschaeferhmm we should just be using the display from Nux though19:10
bschaeferdisplay pointer19:10
bschaeferbregma, http://paste.ubuntu.com/1563908/19:11
bschaefertheres also 4 test that open the the display server...19:11
bregmaa lot of tests that require X don't get run in the builders, because they break (and they don;t get run by developers, either, evidently)19:12
bschaefersoo hows the xorg test suite coming along?19:12
bschaeferas that should solve those problems...19:12
bregmathe failing test uses GTK,19:13
bregmaxorg-gtest will not solve that problem19:13
bschaeferhmm, are you talking about: unit/TestMain.cpp:64:  gtk_init(&argc, &argv);19:14
bregmathat where it all begins, yes19:14
bregmait's required because it's testing panel-service, which is a gtk app19:14
bschaeferhmm because we have another main loop going in compiz...19:15
* bschaefer doesn't think that is related19:15
bregmawait a minute, when did we start running all the non-headless tests in jenkins?19:19
bschaeferhmm that would explain both the bugs...19:19
bschaefershould we only be running the xless test?19:20
bschaefershouldn't*19:20
fgintherbregma, the jenkins job is only executing the tests triggered by the packaging (debian/rules)19:29
bregmadebian/rules runs check-headless, which does not include the failing tests19:30
bregmaunless I'm reading the CMakefiles.txt wrong, it's not my area of expertise yet19:31
bschaeferhmm its running the gestures tests19:31
bschaeferthe make check-headless is19:31
bregmayeah, gesture tests are OK AFACT, they don't actually use X19:34
bschaeferso thats a different issue, yeah, alright...so why would a test try to open X...hmm19:34
bschaeferbregma, how could you tell from the logs that 'unit-test' was causing the problem?19:35
bschaeferas I don't see where its failing on jenkins logs, besides it failed...19:35
bregmaum, the error message19:35
bregmaFAIL: ./test-unit19:36
fgintherbschaefer, bregma I think I know what's happening19:37
* bschaefer only sees the gesture test failing19:37
fgintherthere is a pbuilder hook to fall back to "make check" if "make check-headless" fails19:37
bschaeferoo there it is...19:38
bschaeferodd19:38
fgintherthe intermittent  GesturalWindowSwitcherTest.NewDragAfterTapAndHoldSelectsNextWindow failures are causing "make check-headless" to fail19:38
fgintherSo, I can fix the  X display issue19:38
bschaeferfginther, oo...so the real problem is still that test19:38
fgintherbschaefer, I believe so.19:39
bregmaGesturalWindowSwitcherTest.NewDragAfterTapAndHoldSelectsNextWindow is a separate problem (I think)19:39
bschaeferwell a make check is happening because of that test failure19:39
bregmamake check shouldn;t be happening19:40
fgintherThe pbuilder hook was a holdover from the time when building the tests were not baked into the packaging. It just never got cleanup19:40
fgintherbregma, right. I can fix the job to not attempt to run tests outside of what's defined in the package19:40
bschaeferyeah, but we still need to fix that gesture test...which I don't see how that is the only gesture test that fails as all the other test use the same logic...19:41
bregmaOK, we're already investigating the NewDragAfterTapAndHoldSelectsNextWindow problem19:41
bregmaonly fails on amd64, sounds like either an uninitialized variable, a rounding issue, or a timing ssue19:42
bregmagivem I can;t repro it on my amd64 machine, it's unlikely a rounding issue19:42
bschaeferhmm ill did through the switcher controller for an unitit var19:42
bschaeferuninited19:43
fgintherbregma, bschaefer thanks for your help on the X issue, sorry I didn't notice the actual root cause sooner19:43
bregmait could be in the gesture stack somewhere since the problem is that a particular gesture is not having an effect19:43
bschaeferso it could be in nux as well?19:43
bregmacoud be anywhere19:44
bschaeferI can dig through that stack for an uninited issue as well...as for the timing issue...hm19:44
bschaeferit should randomly happen on one of our machines ... and Trevinho can't repro it either19:44
* bschaefer needs to remove a few CPUs19:44
bschaeferand get an amd64 to test it out19:44
bregmawhy it would start showing up after my changes to the switcher controller is unclear19:45
bregmaI'm trying in my pbuilder, it's slower19:45
bschaeferit wasn't only your branch though, Trevinho had a branch that failed a couple times19:45
bschaeferbut then it went through19:45
bregmaon the gesture test?19:45
bschaeferyup19:45
* bschaefer goes to dig that up19:45
bschaeferhttps://code.launchpad.net/~3v1n0/unity/shortcuts-modeller/+merge/14441419:46
bschaeferhe has some changes to the switcher as well though19:46
bschaefernevermind shortcut not switcher19:47
* bschaefer wonders when this started19:47
fgintherbschaefer, it has not gone on for long. the first occurrance I can find is https://jenkins.qa.ubuntu.com/job/unity-mbs-autolanding/317/ from Jan 1819:50
bschaeferyup just saw that one19:50
bschaeferfginther, is the branch that run is for in the full log?19:50
bschaeferfound it19:51
bschaeferits in params19:51
bschaeferhttps://code.launchpad.net/~3v1n0/unity/launchers-resize-new/+merge/13581619:51
fgintheryes, you can also find it in the "parameter" link on the left side of the jenkins page19:51
bschaeferthough that branch might just be the first one that failed after the problem got in...19:54
bregmaOK, so this switcher gesture failure predates my switcher changes19:58
bregmaI don't feel so bad19:58
bschaefer:), I found 1 uninited var in launcher.cpp but i don't think it will cause the problem20:00
bschaeferwhich is something that branch touched but hmm...20:00
bregmafound some uninit vars in GesturalWindowSwitcher...  that would do it20:07
bschaefero nice, I found just an enum that was uninit in the SwitcherController...20:08
bschaeferbut it only gets used after being assigned20:08
bschaeferthe umm index_icon_hit?20:11
bschaeferor accumulated_horizontal_drag, which doesn't get assigned until the state is of a gesture type but hmm20:12
jongleurHi. Is there any documentation about (or the possibility to) implementing applications with undecorated, transparent or partly transparent (= freely shaped) windows in Unity? Like a circular window, a flower-shaped one and so on? I search for documentation about that, but wasn't successful up to now20:12
bregmabschaefer, https://code.launchpad.net/~bregma/unity/initialize_horizontal_drag/+merge/144579 won;t hurt, worth a try20:13
bschaeferbregma, very, lets see if it works :)20:13
bschaeferapproved20:14
bschaeferjongleur, from what I know, there is very little documentation doing things like that :(20:15
jongleurbschaefer: I guessed so, that's why I hoped to find some hints here ;)20:15
bschaeferjongleur, so what are you trying to do? Besides make transparent circular/flower shaped windows?20:15
jongleurI would like to develop a framework for multitouch/tangible applications (multitouch should be clear, I think, Tangibles are these physical objects you use as a kind of direct manipulation tool in multitouch environments like the M$ surface or similar devices)20:17
jongleurI think about implementing something like that as a master thesis and try to figure out what may be possible and what's not20:18
bschaeferhmm so decors are only rendered on windows if it has this state: CompWindowTypeDesktopMask20:18
jongleurso in general it would be possible to not set that state flag and that's it...20:19
bschaeferyes, but it is going to be a desktop window, but yes you can get around the compiz plugin20:19
bschaeferfor the decor20:19
jongleurokay... using the CompWindowTypeDesktopMask flag fr the windowstate and disabling the compiz plugin should do the trick.20:20
jongleurThanks - will put that into my notes and try it out in the next days20:20
bschaeferwell if you disable it you wont need to set that flag :), its enabled by default20:20
bschaeferjongleur, the glDraw function for the decor: http://bazaar.launchpad.net/~compiz-team/compiz/0.9.9/view/head:/plugins/decor/src/decor.cpp#L15520:21
bschaeferso it only paints the decor on windows that are set to CompWindowTypeDesktopMask, but you'll also have to look at when that is getting set for each window20:22
jongleursure20:22
bschaeferbut you should be able to unset it... :)20:22
jongleurbut if I disable that flag, there's simply n decoration? then I only have a logical window without anything visible as long as I don't draw anything?20:23
bschaeferwell really, since you don't want to talk directly to compiz20:24
bschaeferis you'll have to look at which X atom is equal to CompWindowTypeDesktopMask20:24
bschaeferand make sure that isn't getting set for you application, or worst case you can always set this X atom: _NET_WM_WINDOW_TYPE_DOCK20:25
jongleurokay, thanks for your help20:26
bschaefernp!20:26
jongleurI'll come back if I have new questions ;)20:26
bschaeferalright20:27
=== salem_ is now known as _salem
fgintherbregma, bschaefer, https://code.launchpad.net/~bregma/unity/initialize_horizontal_drag/+merge/144579 merged. I'll monitor the builds to see if that resolves the issue23:01
bschaeferfginther, thanks! Looks like the test passed as well, so hopefully that was the correct fix and not one of the random times it doesn't fail :)23:01
bregmasaw the merge, I re-approved one of the previously failing MPs to see23:01

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