Ticket #54 (closed Bug: Working)
Keyboard does not follow focus with multiple X screens.
| Reported by: | mcalamelli | Owned by: | kwo |
|---|---|---|---|
| Priority: | Minor | Milestone: | |
| Component: | e16 | Keywords: | |
| Cc: | ad@…, andrunko@…, kim@… | Blocked By: | |
| Blocking: |
Description
When switching between X screens, the keyboard stays active on the previously focused window.
For example, window A is focused on screen 0. When switching to screen 1 (whatever method is used), window B gets focus because it is the active window of that screen. It is focused, but keystrokes are still sent to window A. The only way to type on window B is to focus another window of screen 1, then go back to window B.
I observed this bug many years ago, but I quit using e16 for a while.
System environment :
Exact enlightenment version : Enlightenment 0.16.8.13
System : Gentoo 2008.0, i686, up to date.
Xorg with nvidia binary drivers, configured to have independant screens (i.e. NOT TwinView?) and no xinerama.

BUGZILLA ID 520
Comment 1 From Kim Woelders 2008-07-24 09:39:52
I'm also running a dual-head non-xinerama setup with nvidia drivers, but I haven't seen this problem in ages.
Please provide your focus configuration for both screens, e.g. $ DISPLAY=:0.0 eesh sh focus $ DISPLAY=:0.1 eesh sh focus
Comment 2 From Jean-Matthieu COULON 2008-07-24 16:08:30
The same problem appears in these two different configurations :
My standard configuration, focus follows mouse : j@taki ~/src $ DISPLAY=:0.0 eesh sh focus
j@taki ~/src $ DISPLAY=:0.1 eesh sh focus
Second configuration, click to focus : j@taki ~/src $ DISPLAY=:0.0 eesh sh focus
j@taki ~/src $ DISPLAY=:0.1 eesh sh focus
I tried some variations, the problem is always the same. My Xorg configuration should be OK, because e17 works pretty well.
Comment 3 From Kim Woelders 2008-08-08 00:16:16
I have not been able to reproduce the problem. Maybe there is some other configuration option interfering. Could you please provide the full configurations? $ DISPLAY=:0.0 eesh show $ DISPLAY=:0.1 eesh show
Comment 4 From Jean-Matthieu COULON 2008-08-08 02:49:36
Here is my configuration :
j@taki ~ $ DISPLAY=:0.0 eesh show
j@taki ~ $ DISPLAY=:0.1 eesh show
I just checked against the latest CVS (checked out one hour ago), compiled unpatched. Because I have it handy, here is the configure summary :
e16 Version 0.16.8.14-0.04
Configuration summary
Support for
Experimental options - DO NOT USE unless you know what you are doing
Unfortunately, the bug is still there.
Comment 5 From Kim Woelders 2008-08-09 07:33:53
Sorry, I can not reproduce this. I'll have to give up for now unless you are willing to try some debugging.
If e16 is started with $ EDEBUG=1:7:8:129 e16 it will print some info to stdout that might be useful. The interesting part is what happens when the pointer is moved to the other screen and the focus problem occurs.