On Tue, 18 Oct 2005 15:43:27 +1300 jochen <[EMAIL PROTECTED]> babbled:
> Carsten Haitzler (The Rasterman) wrote: > > On Tue, 18 Oct 2005 14:29:20 +1300 jochen <[EMAIL PROTECTED]> > > babbled: > > > > > >>Carsten Haitzler (The Rasterman) wrote: > >> > >>>On Tue, 18 Oct 2005 11:35:44 +1300 jochen <[EMAIL PROTECTED]> > >>>babbled: > >>> > >>> > >>> > >>>>Hi guys, > >>>>I'm still experiencing keybinding problems. Sometimes they don't work, I > >>>>can't switch desktops or start Eterm etc using keybindings. I haven't > >>>>found a way to trigger this yet. When they lockup, I can get them > >>>>working again by switching desktops using the pager or starting an eterm > >>>>from the menu. > >>>>I mentioned it before in this thread: > >>>>http://marc.theaimsgroup.com/?l=enlightenment-users&m=112795168400490&w=2 > >>>>somebody mentioned he can trigger it with turning the remember settings > >>>>off. How would I go abouts to debug such a thing, gdb won't be much help > >>>>right? Do I just put a lot of printfs into the e source code and wait > >>>>until it happens again, and look what function has been called before? > >>> > >>> > >>>basically thats how you catch these things. you put printf's in where u > >>>suspect something maybe invovled, log it to a file and wait for it to > >>>happen then jump asap into the log - and examine it for anything unusual. > >>>somehting is weird here i think concerning focus. the key is grabbed - but > >>>not being delivered to the right place. let me guess - it only happens when > >>>NO app window is focused (there are no apps on the screen or none has the > >>>focus) ? > >>> > >>> > >> > >>Yup spot on :) > > > > > > aaah hrrrm. that shouldnt happen. basically i have seen this and thats why > > when a window loses focus it is set back to the container background window > > so something has the focus at al times ... hmmm. ie in e_border.c, line 1180 > > > > e_grabinput_focus(bd->zone->container->bg_win, > > E_FOCUS_METHOD_PASSIVE); > > > > maybe this isnt happening? some logic case is missed? > > > Well I can try debug it further tonight currently I should be working, > So I should be looking at the focus functions? I let you know when I get > something. yeah- printf and log what is getting the focus set and when it happens - jump off to a text consol - save your log immediately somewhere else and see where the focus last went. thats a start anyway. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users