codehenry / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

Monitor from Layout.Monitor does not disappear #521

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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
--recompile".

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 

Original issue reported on code.google.com by wakelin....@gmail.com on 4 Dec 2012 at 1:31

Attachments: