[xmonad] Odd behaviour of Combo and Tabbed

Kathryn Andersen kat_lists at katspace.org
Thu Feb 5 20:08:21 EST 2009


Oh, and further to this, I forgot to mention I'm running xmonad 0.8
on Ubuntu 8.10 (standard package).

On Fri, Feb 06, 2009 at 10:05:53AM +1100, Kathryn Andersen wrote:
> I've been enjoying xmonad, building layouts with Combo, but it isn't
> doing quite what I expect.
> 
> code:
> -------------------------------------------------------------------------
> import XMonad.Layout.Tabbed
> import XMonad.Layout.DragPane
> import XMonad.Layout.Combo
> import XMonad.Layout.Named
> 
> myBasicTabbed = named "KA Tabbed" $ tabbedAlways shrinkText myTheme
> myVertPane = dragPane Vertical 0.1 0.5
> myDuplexTall = named "Duplex Tall"
>   (combineTwo myVertPane myBasicTabbed myBasicTabbed)
> -------------------------------------------------------------------------
> 
> Note that I am using "tabbedAlways" because I always want tabs on my
> windows.
> 
> Using the myDuplexTall layout, this is what I expect:
> 
> With one window: window in whole area, tab on the window
> With two windows: two columns, side by side, tabs on both windows
> 
> What I get:
> 
> With one window: window in whole area, NO tab on the window
> (incorrect)
> With two windows: two columns, side by side, tabs on both windows
> (correct)
> 
> With other, more complex layouts, the pattern seems to be that tabs
> are displayed one fewer than one would expect.
> 
> For example, here's a three-window layout:
> 
> myDuplexWide = named "Duplex Wide"
>   (combineTwo myHorizPane myBasicTabbed myBasicTabbed)
> myTrioTabbed = named "Trio"
>   (combineTwo myVertPane myBasicTabbed myDuplexWide)
> 
> What I get:
> With one window: window in whole area, NO tab on the window
> (incorrect)
> With two windows: two columns, side by side, tab on one window, no tab
> on the second window (incorrect)
> With three windows: tabs on all windows (correct)
> 
> Why is this happening, and what can I do to fix it?
> 
> Kathryn Andersen
> -- 
>  _--_|\     | Kathryn Andersen	<http://www.katspace.com>
> /      \    | 
> \_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
>       v     | 
> ------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
> Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad

-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe


More information about the xmonad mailing list