/srv/irclogs.ubuntu.com/2011/11/29/#ayatana.txt

bschaeferthumper: ping00:05
thumperbschaefer: hi00:05
bschaeferthumper: hey, so i found why the SetKeyFocus in ShowDash was not working00:06
thumperthat's awesome...00:06
thumperand the answer it?00:06
bschaeferthumper: it was getting called before which was causing it to just return00:06
bschaeferthumper: i pushed it to the branch a few days ago but still need to to figure out how to test00:06
thumperbschaefer: it may well be that we need to write some autopilot tests for them00:07
bschaeferautopilot meaning have a program that opens up the dash then trys to send a key event?00:07
bschaeferhttps://code.launchpad.net/~brandontschaefer/unity/fix-860805 branch if you want to take a look00:09
thumperbschaefer: yes00:11
bschaeferthumper: alright, that sounds interesting to do...00:15
thumperbschaefer: however we aren't in a situation to write that right now00:15
bschaeferthumper: also should I propose a merge for right now? or wait for a test00:15
thumperI just proposed it as work in progress so I could see the diff :)00:16
thumperok, can you explain in the description of the merge proposal as to why this fix works?00:16
thumperplease?00:16
bschaeferthanks, and yeah. I want to test a few things to make sure it is why00:17
bschaeferit looks like it is getting called to early00:17
bschaefer(but want to double check something)00:17
bschaeferso when it gets called the first time it sets a focus_area so then it will == area which makes it return before setting the PathToKeyFocus00:18
thumperwhat causes it not to get to PathToKeyFocus?00:20
thumperthe first time..00:20
bschaeferin DashView, line 683 is the first time SetKeyFocus is called00:20
bschaeferand when it gets to ShowDash in DashController calling SetKeyFocus just returns right away00:21
bschaeferso when it is called the first time on line 683 that is where it SetPathToKeyFocus gets called00:21
bschaeferso it is not getting there in DashController::ShowDash00:21
thumperso why doesn't it work?00:22
bschaeferwhich looks like isn't set up or ready before the first call which is why it works the second time.00:22
bschaeferi am looking into what isn't setup at the time of that call. Using the debugger I saw that SetPathToKeyFocus was only getting called for the DashView00:23
bschaeferso that is why I commented it out and then ShowDash calls it now and it works :)00:24
thumper:)00:24
thumperso... we aren't entirely clear why it fixes it, but it appears to?00:24
bschaeferthumper: somewhat, it really seems like it just gets called to soon to early which some input area doesn't exit at that time00:26
thumperis it getting called before the layout is set?00:26
bschaeferso when you call SetPathToKeyFocus that object isn't there so it can't find it but the second time around everything is set up00:26
bschaeferthumper: I checked some things last week but forgot to write what I found down.00:28
bschaeferI moved that SetKeyFocus around in ShowDash which didnt effect anything so I am going to have to see what exactly isn't setup00:29
bschaefermaking the DashView fail00:30
thumper:)00:32
* thumper goes to get lunch00:36
Andy80Trevinho: successfully built and installed in /opt/qt5 :)01:19
bschaeferthumper: when you get back figure out the case01:51
thumperbschaefer: for autopilot?02:18
bschaeferthumper: no for why it isn't working the firs time through02:23
thumper:)02:24
bschaeferit is calling the SetKeyFocus before window->SetLayout(layout)02:24
thumperthat'll do it02:24
bschaeferthere is longer explanation on the merge thing02:25
thumperok02:25
thumperbschaefer: merge trunk in and add a manual test, see manual-test/ReadMe.txt02:25
thumperbschaefer: as autopilot isn't yet ready02:26
bschaeferthumper: alright sounds good!02:26
bschaeferthumper: so there are no manual test at the moment?02:34
bschaeferas the dir is empty02:34
bschaeferbesides the reame02:34
thumperaye, it is new02:34
bschaeferreadme*02:34
thumperadd launcher.txt02:34
bschaeferalright, it will look very close the example you used02:35
bschaeferthumper: alright just pushed the manual test02:51
bschaeferalong with merging trunk02:56
hrwhttp://marcin.juszkiewicz.com.pl/~hrw/shots/howmanychromiums.jpg - unity launcher suggests more then one chromium window but only one is present08:42
=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
djosefssonHi,14:06
djosefssonI'm sitting and trying out the launcher and creating my own Desktop entries, but a thing that I can't get a grip on is search paths for icons.14:13
djosefsson How do I enable Icon=applicationname?14:13
djosefssonI have copied my icon to /usr/share/icons/hicolor/32x32/applicationname.png. Is it neccesary to have a icon in each YYxZZ folder? It works well when I hard code the icon address into the desktop entry.14:13
djosefssonOps, the shift+enter to get a new line did not work that well. Sorry for that.14:14
=== hyperair is now known as Guest43903
=== Amaranth__ is now known as Amaranth
=== Amaranth__ is now known as Amaranth
=== m_conley_away is now known as m_conley
Andy80hi guys15:55
Andy80suppose I've another Qt installation in /opt/qtX, ho do I tell cmake to use that version insted that the default one to compile Unity-2D? Thanks15:56
Andy80resolved.... now I got a compilation problem, but I think it's related to my Qt5 build, I'll try to investigate.16:38
=== chrisccoulson_ is now known as chrisccoulson
=== elopio_ is now known as elopio
fbdystangHi! I have the 3d cube working in unity but how can I get the experimental plugins like atlantis? Thanks18:56
=== m_conley is now known as m_conley_away
tbfmdeslaur: about LP#897545 - sure, some bad luck must come together to cause that situation, but if it happens for http://security.ubuntu.com/ubuntu, users won't get any further security fixes20:43
tbfmdeslaur: not getting security updates definitely is a security issue IMHO20:44
mdeslaurtbf: I understand, but it's not triggered by an attacker. We don't usually consider any package management bugs to be security issues.20:45
tbfmdeslaur: 'k20:46
=== ronoc is now known as ronoc|break

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