Re: [e-users] keybindings sometimes don't work bug?

2005-10-20 Thread Kim Woelders

Dennis Nezic wrote:

On Thu, 20 Oct 2005 18:47:48 +0200,
Kim Woelders <[EMAIL PROTECTED]> wrote:
...
Sorry, I cannot reproduce this, or maybe I don't quite understand the 
problem. Could you please specify exactly what the problem is and how 
you trigger it?



When "Focus follows pointer", open a gtk application (rox, xchat, gftp,
etc), (not xterm, xclock, xfontsel, etc), place the pointer over it,
then close it.

now, if there is no window under the mouse, no window gets focus, and
keybindings do not work. they will start to work again if you give any
window focus.

however, if "All all new windows first get the focus", and the pointer
is not over it, and then you close it via a keybinding, although no
window gets the focus, keybindings still work.


Thanks, this should be fixed now.

/Kim


---
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


Re: [e-users] keybindings sometimes don't work bug?

2005-10-20 Thread Dennis Nezic
> On Thu, 20 Oct 2005 18:47:48 +0200,
> Kim Woelders <[EMAIL PROTECTED]> wrote:
> ...
> Sorry, I cannot reproduce this, or maybe I don't quite understand the 
> problem. Could you please specify exactly what the problem is and how 
> you trigger it?

When "Focus follows pointer", open a gtk application (rox, xchat, gftp,
etc), (not xterm, xclock, xfontsel, etc), place the pointer over it,
then close it.

now, if there is no window under the mouse, no window gets focus, and
keybindings do not work. they will start to work again if you give any
window focus.

however, if "All all new windows first get the focus", and the pointer
is not over it, and then you close it via a keybinding, although no
window gets the focus, keybindings still work.


---
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


Re: [e-users] keybindings sometimes don't work bug?

2005-10-20 Thread Kim Woelders

Dennis Nezic wrote:

On Tue, 18 Oct 2005 09:07:50 +0900,
Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> wrote:

... let me guess - it only happens when NO app window is focused
(there are no apps on the screen or none has the focus) ?



i also have this bug with my 2-day old (e16.8) cvs. and, indeed, it
_only_ happens when no windows have focus. it also has something to do
with focus-follows-pointer, because the problem does not occur if it
follows clicks. focus-follows-clicks automatically does something with
the focus when a window is closed (even if it's the last window) .. so
i would compare how focus changes in those two scenarios.

interestingly, although the bug does occur with most apps, it doesn't
with x-applications (xterm, xfontsel, etc)!?

also, the bug only seems to occur if my pointer was over the window
when i closed it. for example, if i open a window, and my mouse isn't
over it (it will get focus, since i have "all new windows get focus"),
and then i close it, although no window gets focus, the bug doesn't
occur.

Sorry, I cannot reproduce this, or maybe I don't quite understand the 
problem. Could you please specify exactly what the problem is and how 
you trigger it?



also, probably on a related issue, with focus-follows-pointer, if my
mouse isn't over a window, i can't alt-tab to it =\. e will switch to
it momentarily, raise it, but then return focus to whatever is under
the mouse.


You can if you use one of the "send mouse pointer to..." options.
In focus-follows-pointer (and -sloppy) mode I think it is somewhat 
contradictory to focus a window that doesn't contain the pointer, 
particularly if the pointer is in another window that can be focused.
However, with "all new windows get focus" it is possible for new windows 
to get focus even though they don't contain the pointer.
I'm not saying focus works exactly as it should in e16.8, just pointing 
out that there are a lot of options and scenarios to consider, and some 
cases one rule will contradict another.
It's a question of putting it all together in a way that in most cases 
feels right.


/Kim


---
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


Re: [e-users] keybindings sometimes don't work bug?

2005-10-19 Thread Dennis Nezic
> On Tue, 18 Oct 2005 09:07:50 +0900,
> Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> wrote:
>
> ... let me guess - it only happens when NO app window is focused
> (there are no apps on the screen or none has the focus) ?

i also have this bug with my 2-day old (e16.8) cvs. and, indeed, it
_only_ happens when no windows have focus. it also has something to do
with focus-follows-pointer, because the problem does not occur if it
follows clicks. focus-follows-clicks automatically does something with
the focus when a window is closed (even if it's the last window) .. so
i would compare how focus changes in those two scenarios.

interestingly, although the bug does occur with most apps, it doesn't
with x-applications (xterm, xfontsel, etc)!?

also, the bug only seems to occur if my pointer was over the window
when i closed it. for example, if i open a window, and my mouse isn't
over it (it will get focus, since i have "all new windows get focus"),
and then i close it, although no window gets focus, the bug doesn't
occur.

also, probably on a related issue, with focus-follows-pointer, if my
mouse isn't over a window, i can't alt-tab to it =\. e will switch to
it momentarily, raise it, but then return focus to whatever is under
the mouse.


---
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


Re: [e-users] keybindings sometimes don't work bug?

2005-10-17 Thread The Rasterman
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


Re: [e-users] keybindings sometimes don't work bug?

2005-10-17 Thread jochen
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.




---
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


Re: [e-users] keybindings sometimes don't work bug?

2005-10-17 Thread The Rasterman
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?

-- 
- 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


Re: [e-users] keybindings sometimes don't work bug?

2005-10-17 Thread jochen
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 :)



---
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


Re: [e-users] keybindings sometimes don't work bug?

2005-10-17 Thread The Rasterman
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) ?

> Cheers
> Jochen
> 
> 
> ---
> 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
> 


-- 
- 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


Re: [e-users] keybindings sometimes don't work bug?

2005-10-17 Thread jochen
Forgot to mention, I checked no duplicate keybindings. CVS is of 2 days
ago, I'm just updating now, but I have had this problem creeping up for
quite a while
Cheers
Jochen


---
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


[e-users] keybindings sometimes don't work bug?

2005-10-17 Thread jochen
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?
Cheers
Jochen


---
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