Modify

Ticket #54 (closed Bug: Working)

Opened 3 years ago

Last modified 3 years ago

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.

Attachments

Change History

comment:1 Changed 3 years ago by mcalamelli

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

focus.mode = 0 focus.clickraises = 0 focus.transientsfollowleader = 1 focus.switchfortransientmap = 1 focus.all_new_windows_get_focus = 0 focus.new_transients_get_focus = 0 focus.new_transients_get_focus_if_group_focused = 1 focus.raise_on_next = 1 focus.warp_on_next = 0 focus.warp_always = 0 focus.autoraise.enable = 0 focus.autoraise.delay = 500

j@taki ~/src $ DISPLAY=:0.1 eesh sh focus

focus.mode = 0 focus.clickraises = 0 focus.transientsfollowleader = 1 focus.switchfortransientmap = 1 focus.all_new_windows_get_focus = 0 focus.new_transients_get_focus = 0 focus.new_transients_get_focus_if_group_focused = 1 focus.raise_on_next = 1 focus.warp_on_next = 0 focus.warp_always = 0 focus.autoraise.enable = 0 focus.autoraise.delay = 500

Second configuration, click to focus : j@taki ~/src $ DISPLAY=:0.0 eesh sh focus

focus.mode = 2 focus.clickraises = 0 focus.transientsfollowleader = 1 focus.switchfortransientmap = 1 focus.all_new_windows_get_focus = 0 focus.new_transients_get_focus = 0 focus.new_transients_get_focus_if_group_focused = 1 focus.raise_on_next = 1 focus.warp_on_next = 1 focus.warp_always = 1 focus.autoraise.enable = 0 focus.autoraise.delay = 500

j@taki ~/src $ DISPLAY=:0.1 eesh sh focus

focus.mode = 2 focus.clickraises = 0 focus.transientsfollowleader = 1 focus.switchfortransientmap = 1 focus.all_new_windows_get_focus = 0 focus.new_transients_get_focus = 0 focus.new_transients_get_focus_if_group_focused = 1 focus.raise_on_next = 1 focus.warp_on_next = 1 focus.warp_always = 1 focus.autoraise.enable = 0 focus.autoraise.delay = 500

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

backgrounds.hiquality = 1 backgrounds.user = 1 backgrounds.timeout = 240 compmgr.enable = 1 compmgr.mode = 1 compmgr.shadows.mode = 2 compmgr.shadows.offset_x = 3 compmgr.shadows.offset_y = 5 compmgr.shadows.blur.radius = 5 compmgr.shadows.blur.opacity = 75 compmgr.shadows.sharp.opacity = 30 compmgr.resize_fix_enable = 0 compmgr.use_name_pixmap = 0 compmgr.use_cow = 1 compmgr.fading.enable = 1 compmgr.fading.time = 300 compmgr.override_redirect.mode = 1 compmgr.override_redirect.opacity = 90 desktops.num = 1 desktops.dragdir = 2 desktops.dragbar_width = 0 desktops.dragbar_length = 0 desktops.dragbar_ordering = 1 desktops.desks_wraparound = 0 desktops.slidein = 1 desktops.slidespeed = 6000 desktops.areas_nx = 1 desktops.areas_ny = 3 desktops.areas_wraparound = 1 desktops.edge_flip_mode = 2 desktops.edge_flip_resistance = 8 effects.ripples.enabled = 0 effects.waves.enabled = 0 focus.mode = 0 focus.clickraises = 0 focus.transientsfollowleader = 1 focus.switchfortransientmap = 1 focus.all_new_windows_get_focus = 0 focus.new_transients_get_focus = 0 focus.new_transients_get_focus_if_group_focused = 1 focus.raise_on_next = 0 focus.warp_on_next = 1 focus.warp_always = 1 focus.autoraise.enable = 0 focus.autoraise.delay = 500 groups.dflt.iconify = 1 groups.dflt.kill = 0 groups.dflt.mirror = 1 groups.dflt.move = 1 groups.dflt.raise = 0 groups.dflt.set_border = 1 groups.dflt.stick = 1 groups.dflt.shade = 1 groups.swapmove = 1 iconboxes.anim_time = 250 locale.internal = locale.exported = menus.animate = 0 menus.onscreen = 1 menus.warp = 1 menus.show_icons = 1 menus.icon_size = 16 menus.key.left = 0xff51 menus.key.right = 0xff53 menus.key.up = 0xff52 menus.key.down = 0xff54 menus.key.escape = 0xff1b menus.key.ret = 0xff0d misc.animation.step = 10 misc.buttons.move_resistance = 10 misc.dialogs.headers = 0 misc.dialogs.button_image = 0 misc.dock.enable = 1 misc.dock.sticky = 1 misc.dock.dirmode = 3 misc.dock.startx = 0 misc.dock.starty = 0 misc.hints.set_xroot_info_on_root_window = 0 misc.movres.mode_move = 0 misc.movres.mode_resize = 0 misc.movres.mode_info = 2 misc.movres.mode_maximize_default = 2 misc.movres.color = 0xff0000 misc.movres.avoid_server_grab = 1 misc.movres.update_while_moving = 0 misc.movres.enable_sync_request = 0 misc.opacity.menus = 85 misc.opacity.movres = 60 misc.opacity.tooltips = 80 misc.opacity.focused = 100 misc.opacity.unfocused = 90 misc.place.manual = 0 misc.place.manual_mouse_pointer = 0 misc.place.center_if_desk_full = 0 misc.place.ignore_struts = 0 misc.place.raise_fullscreen = 0 misc.place.slidein = 0 misc.place.cleanupslide = 1 misc.place.slidemode = 0 misc.place.slidespeedmap = 6000 misc.place.slidespeedcleanup = 8000 misc.session.enable_script = 0 misc.session.script = $EROOT/scripts/session.sh misc.session.enable_logout_dialog = 1 misc.session.enable_reboot_halt = 0 misc.session.cmd_reboot = reboot misc.session.cmd_halt = poweroff misc.shading.animate = 1 misc.shading.speed = 8000 misc.snap.enable = 1 misc.snap.edge_snap_dist = 8 misc.snap.screen_snap_dist = 32 misc.startup.firsttime = 0 misc.startup.animate = 0 misc.testing.argb_internal_objects = 0 misc.testing.argb_internal_clients = 0 misc.testing.argb_clients = 0 misc.testing.argb_clients_inherit_attr = 0 misc.testing.image_cache_size = -1 misc.testing.mask_alpha_threshold = 8 misc.testing.enable_startup_id = 1 misc.testing.use_render_for_scaling = 0 misc.testing.no_sync_mask = 0 misc.autosave = 1 misc.memory_paranoia = 1 misc.save_under = 0 misc.difftime = 0 pagers.enable = 0 pagers.zoom = 1 pagers.title = 1 pagers.hiq = 1 pagers.mode = 2 pagers.scanspeed = 10 pagers.sel_button = 2 pagers.win_button = 1 pagers.menu_button = 3 theme.localise = 0 theme.name = winter theme.extra_path = theme.ttfont_path = theme.use_alt_font_cfg = 1 theme.font_cfg = fonts.cfg.xft tooltips.enable = 0 tooltips.showroottooltip = 0 tooltips.delay = 1500 transparency.alpha = 0 transparency.menu = 0 transparency.menu_item = 0 transparency.tooltip = 0 transparency.widget = 0 transparency.hilight = 0 transparency.border = 0 transparency.iconbox = 1 transparency.dialog = 0 transparency.pager = 1 transparency.warplist = 1 warplist.enable = 1 warplist.showsticky = 0 warplist.showshaded = 1 warplist.showiconified = 1 warplist.showalldesks = 0 warplist.warpfocused = 0 warplist.raise_on_select = 0 warplist.warp_on_select = 1 warplist.icon_mode = 3

j@taki ~ $ DISPLAY=:0.1 eesh show

backgrounds.hiquality = 1 backgrounds.user = 1 backgrounds.timeout = 240 compmgr.enable = 1 compmgr.mode = 1 compmgr.shadows.mode = 2 compmgr.shadows.offset_x = 3 compmgr.shadows.offset_y = 5 compmgr.shadows.blur.radius = 5 compmgr.shadows.blur.opacity = 75 compmgr.shadows.sharp.opacity = 30 compmgr.resize_fix_enable = 0 compmgr.use_name_pixmap = 0 compmgr.use_cow = 1 compmgr.fading.enable = 1 compmgr.fading.time = 200 compmgr.override_redirect.mode = 1 compmgr.override_redirect.opacity = 90 desktops.num = 1 desktops.dragdir = 2 desktops.dragbar_width = 0 desktops.dragbar_length = 0 desktops.dragbar_ordering = 1 desktops.desks_wraparound = 0 desktops.slidein = 1 desktops.slidespeed = 6000 desktops.areas_nx = 1 desktops.areas_ny = 1 desktops.areas_wraparound = 0 desktops.edge_flip_mode = 1 desktops.edge_flip_resistance = 25 effects.ripples.enabled = 0 effects.waves.enabled = 0 focus.mode = 0 focus.clickraises = 0 focus.transientsfollowleader = 1 focus.switchfortransientmap = 1 focus.all_new_windows_get_focus = 0 focus.new_transients_get_focus = 0 focus.new_transients_get_focus_if_group_focused = 1 focus.raise_on_next = 0 focus.warp_on_next = 1 focus.warp_always = 1 focus.autoraise.enable = 0 focus.autoraise.delay = 500 groups.dflt.iconify = 1 groups.dflt.kill = 0 groups.dflt.mirror = 1 groups.dflt.move = 1 groups.dflt.raise = 0 groups.dflt.set_border = 1 groups.dflt.stick = 1 groups.dflt.shade = 1 groups.swapmove = 1 iconboxes.anim_time = 250 locale.internal = locale.exported = menus.animate = 0 menus.onscreen = 1 menus.warp = 1 menus.show_icons = 1 menus.icon_size = 16 menus.key.left = 0xff51 menus.key.right = 0xff53 menus.key.up = 0xff52 menus.key.down = 0xff54 menus.key.escape = 0xff1b menus.key.ret = 0xff0d misc.animation.step = 10 misc.buttons.move_resistance = 10 misc.dialogs.headers = 0 misc.dialogs.button_image = 0 misc.dock.enable = 1 misc.dock.sticky = 1 misc.dock.dirmode = 3 misc.dock.startx = 0 misc.dock.starty = 0 misc.hints.set_xroot_info_on_root_window = 0 misc.movres.mode_move = 0 misc.movres.mode_resize = 0 misc.movres.mode_info = 1 misc.movres.mode_maximize_default = 2 misc.movres.color = 0xff0000 misc.movres.avoid_server_grab = 257 misc.movres.update_while_moving = 1 misc.movres.enable_sync_request = 0 misc.opacity.menus = 85 misc.opacity.movres = 60 misc.opacity.tooltips = 80 misc.opacity.focused = 100 misc.opacity.unfocused = 100 misc.place.manual = 0 misc.place.manual_mouse_pointer = 0 misc.place.center_if_desk_full = 0 misc.place.ignore_struts = 0 misc.place.raise_fullscreen = 0 misc.place.slidein = 0 misc.place.cleanupslide = 1 misc.place.slidemode = 0 misc.place.slidespeedmap = 6000 misc.place.slidespeedcleanup = 8000 misc.session.enable_script = 0 misc.session.script = $EROOT/scripts/session.sh misc.session.enable_logout_dialog = 1 misc.session.enable_reboot_halt = 0 misc.session.cmd_reboot = reboot misc.session.cmd_halt = poweroff misc.shading.animate = 1 misc.shading.speed = 8000 misc.snap.enable = 1 misc.snap.edge_snap_dist = 8 misc.snap.screen_snap_dist = 32 misc.startup.firsttime = 0 misc.startup.animate = 1 misc.testing.argb_internal_objects = 0 misc.testing.argb_internal_clients = 0 misc.testing.argb_clients = 0 misc.testing.argb_clients_inherit_attr = 0 misc.testing.image_cache_size = -1 misc.testing.mask_alpha_threshold = 8 misc.testing.enable_startup_id = 1 misc.testing.use_render_for_scaling = 0 misc.testing.no_sync_mask = 0 misc.autosave = 1 misc.memory_paranoia = 1 misc.save_under = 0 misc.difftime = 0 pagers.enable = 0 pagers.zoom = 1 pagers.title = 1 pagers.hiq = 1 pagers.mode = 2 pagers.scanspeed = 10 pagers.sel_button = 2 pagers.win_button = 1 pagers.menu_button = 3 theme.localise = 0 theme.name = winter theme.extra_path = theme.ttfont_path = theme.use_alt_font_cfg = 1 theme.font_cfg = fonts.cfg.xft tooltips.enable = 1 tooltips.showroottooltip = 1 tooltips.delay = 1500 transparency.alpha = 0 transparency.menu = 1 transparency.menu_item = 1 transparency.tooltip = 2 transparency.widget = 1 transparency.hilight = 0 transparency.border = 1 transparency.iconbox = 1 transparency.dialog = 1 transparency.pager = 1 transparency.warplist = 1 warplist.enable = 1 warplist.showsticky = 0 warplist.showshaded = 1 warplist.showiconified = 1 warplist.showalldesks = 0 warplist.warpfocused = 0 warplist.raise_on_select = 0 warplist.warp_on_select = 1 warplist.icon_mode = 3

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

Localisation ................. yes Sound ........................ no Old GNOME hints .............. no Session management ........... yes Zoom ......................... yes Pango ........................ no Xft .......................... yes Xinerama ..................... yes RandR ........................ yes Sync ......................... yes Composite .................... yes Modules ...................... no Visibility hiding ............ no (only useful with modules) Window mode helper library ... yes

Experimental options - DO NOT USE unless you know what you are doing

Compile with ecore/ecore_x ... no GLX .......................... no ScreenSaver? .................. no D-Bus ........................ no

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.

comment:2 Changed 3 years ago by kwo

  • Priority changed from Major to Minor
  • Status changed from new to closed
  • Resolution set to Working

Can't reproduce, noone else seems to have this problem, no additional feedback -> Worksforme.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.