[xmonad] Issue 401 in xmonad: Quick use of mouse in tabbed layout makes xmonad enter a loop switching windows

codesite-noreply at google.com codesite-noreply at google.com
Wed Jul 28 05:00:03 EDT 2010

Status: New
Owner: ----

New issue 401 by stenyak: Quick use of mouse in tabbed layout makes xmonad  
enter a loop switching windows

What steps will reproduce the problem?
1. Switch to tabbed layout.
2. Open at least two windows.
3. Click (click and release left mouse button) on the tab of another window.
4. Before the newly selected window is rendered on screen, move the mouse  
down to the (still old) window.

Time between point 3 and 4 is about 200ms max in my computer (if you use  
the mouse fast or your computer is slow, the bug can happen very often,  
which is irritating).

What is the expected output? What do you see instead?
Xmonad should simply change to the newly selected window.
Instead, it starts to switch from the old to the new window in an infinite  
loop. The window-switching loop can be ended by clicking on one of the tabs  
(without reproducing the bug again, which means, clicking "slowly").

What version of the product are you using? On what operating system?
This is a Linux Mint.
$ xmonad --version
xmonad 0.8.1
$ uname -a
Linux ironstk 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010  
i686 GNU/Linux
$ cat /etc/debian_version
$ cat /etc/apt/sources.list
deb http://packages.linuxmint.com/ helena main upstream import
deb http://archive.ubuntu.com/ubuntu/ karmic main restricted universe  
deb http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted  
universe multiverse
deb http://security.ubuntu.com/ubuntu/ karmic-security main restricted  
universe multiverse
deb http://archive.canonical.com/ubuntu/ karmic partner
deb http://packages.medibuntu.org/ karmic free non-free

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
$ xmonad --recompile
(the command doesn't output anything)

Please provide any additional information below.

	xmonad.hs  9.9 KB

More information about the xmonad mailing list