Discussion:
[xmonad] Issue 603 in xmonad: Problems with toggling focus on Chrome
c***@google.com
2015-04-30 16:37:10 UTC
Permalink
Status: New
Owner: ----

New issue 603 by ***@cnphil.com: Problems with toggling focus on Chrome
https://code.google.com/p/xmonad/issues/detail?id=603

What steps will reproduce the problem?
1. In tiling mode, open up Chrome
2. Open up another window, say urxvt
3. Try toggling back and forth the focus with <Mod-Tab>

What is the expected output? What do you see instead?
Chrome should be responding to keyboard, mouse movement. But it just does
not seem to realize it is on focus.

What version of the product are you using? On what operating system?
xmonad 0.11.1
ghc 7.10.1
Chrome 43 beta
Arch Linux

Are you using an xmonad.hs? Please attach it and the output of "xmonad
--recompile".
The problem persists even without an xmonad.hs

Please provide any additional information below.
In the attached image, you can see that the currently focused window is
red-bordered (lower right), but it's not responding to keyboard strokes or
anything unless I explicitly move the cursor there and click on it.

Attachments:
2015-05-01-003015_2560x1600_scrot.png 468 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2015-04-30 16:49:08 UTC
Permalink
Comment #1 on issue 603 by ***@gmail.com: Problems with toggling
focus on Chrome
https://code.google.com/p/xmonad/issues/detail?id=603

Does your xmonad.hs use EwmhDesktops? If not, please try configuring it:
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-EwmhDesktops.html

Increasingly, recent gtk3 does not actually speak X11 but only the Wayland
emulation parts of EWMH, which means that it is less and less compatible
with non-Gnome3 and plays less and less well with applications that are not
based on the same or later version of gtk3. I suspect whatever gtk3 this
Chrome is using simply does not recognize X11 focus any more, only Wayland
emulation focus. This suggests that Chrome will in the future not be worth
the effort on X11 at all, unless you run nothing but Gnome3 environment and
approved Gnome3-compatible programs.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2015-04-30 16:50:08 UTC
Permalink
Comment #2 on issue 603 by ***@cnphil.com: Problems with toggling focus on
Chrome
https://code.google.com/p/xmonad/issues/detail?id=603

Chrome 42 or older does not have this problem.

I've tested Chrome 43 under i3 and Plasma 5, both works. Seems to be
xmonad's issue.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2015-04-30 16:52:18 UTC
Permalink
Comment #3 on issue 603 by ***@gmail.com: Problems with toggling
focus on Chrome
https://code.google.com/p/xmonad/issues/detail?id=603

Yes, I imagine both come with Wayland emulation aka EWMH out of the box.
You must explicitly configure that in xmonad via EwmhDesktops; only ICCCM
support is enabled by default.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2015-04-30 17:00:35 UTC
Permalink
Comment #4 on issue 603 by ***@cnphil.com: Problems with toggling focus on
Chrome
https://code.google.com/p/xmonad/issues/detail?id=603

Solved after configuring EWMH.

Thank you so much for the quick response! :-)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2015-04-30 17:24:41 UTC
Permalink
Updates:
Status: Verified
Owner: ***@gmail.com

Comment #5 on issue 603 by ***@gmail.com: Problems with toggling
focus on Chrome
https://code.google.com/p/xmonad/issues/detail?id=603

(No comment was entered for this change.)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2015-07-10 18:39:57 UTC
Permalink
Comment #6 on issue 603 by ***@google.com: Problems with toggling focus on
Chrome
https://code.google.com/p/xmonad/issues/detail?id=603

Relevant reference doc for configuration:
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-EwmhDesktops.html
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Loading...