[xmonad] Issue 521 in xmonad: Monitor from Layout.Monitor does not disappear

codesite-noreply at google.com codesite-noreply at google.com
Tue Dec 4 14:31:19 CET 2012

Status: New
Owner: ----

New issue 521 by andrew.s... at tiscali.co.uk: Monitor from Layout.Monitor  
does not disappear

What steps will reproduce the problem?
1. Add Layout.Monitor to xmonad.hs, including key binding to toggle monitor
2. (Re)start xmonad - monitor is hidden as expected
3. Press S-u - monitor appears as expected
4. Press S-u again - nothing happens

What is the expected output? What do you see instead?
Pressing key for second time should hide monitor

What version of the product are you using? On what operating system?
xmonad 0.10 on Arch linux

Are you using an xmonad.hs?  Please attach it and the output of "xmonad

Please provide any additional information below.
As far as I can see, this is a manifestation of issue 344.  So explicitly,  
what I think is happening is:
1. manageMonitor handles the monitor using either doIgnore or doHideIgnore,  
and so ...
2. the monitor is never added to the stackset
3. redoLayout in Layout.Monitor tries to hide monitor with "hide"
4. "hide" (in XMonad.Operations) checks if window appears in "mapped"  
before actually hiding window but it was never added

	xmonad.hs  9.9 KB

More information about the xmonad mailing list