Issue 361 in xmonad: Layout.Tabbed works like Full

Status: New Owner: ---- New issue 361 by zl29ah: Layout.Tabbed works like Full http://code.google.com/p/xmonad/issues/detail?id=361 What steps will reproduce the problem? 1. Get the config strip from http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout- Tabbed.html 2. Add "import XMonad.Layout.Tabbed", as the docs are seemingly outdated. 3. Run xmonad. What is the expected output? What do you see instead? Window with tabs attached to it. Fullscreened window w/ a border. What version of the product are you using? On what operating system? 0.9.1 on gentoo linux Are you using an xmonad.hs? Please attach it and the output of "xmonad --recompile". l29ah@l29ah-work ~/.xmonad $ xmonad --recompile l29ah@l29ah-work ~/.xmonad $ cat xmonad.hs import XMonad import XMonad.Layout.Tabbed main = xmonad defaultConfig { layoutHook = simpleTabbed } Please provide any additional information below. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #1 on issue 361 by ivan.miljenovic: Layout.Tabbed works like Full http://code.google.com/p/xmonad/issues/detail?id=361 How exactly are the docs outdated? Note that just by importing the module won't actually use the Tabbed layout. Also, by default the Tabbed layout doesn't show the tab-bar if only one window is present; see the various tabbedAlways layouts (added by yours truly!) if you want a tabbar there as soon as you have even a single window. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #2 on issue 361 by zl29ah: Layout.Tabbed works like Full http://code.google.com/p/xmonad/issues/detail?id=361
How exactly are the docs outdated? "import XMonad.Layout.DecorationMadness" doesn't bring simpleTabbed (anymore?)
Note that just by importing the module won't actually use the Tabbed layout. Have you read the following: main = xmonad defaultConfig { layoutHook = simpleTabbed } ?
Also, by default the Tabbed layout doesn't show the tab-bar if only one window is present; I know. I've tested it using several windows. tabbedAlways doesn't work too.
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #3 on issue 361 by ivan.miljenovic: Layout.Tabbed works like Full http://code.google.com/p/xmonad/issues/detail?id=361 No, the sample config is from http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-Tabbed.html#1 (But yes, the documentation for simpleTabbed does seem to be not only wrong but stupid.) And how doesn't tabbedAlways work? -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #4 on issue 361 by daniel.wagner: Layout.Tabbed works like Full http://code.google.com/p/xmonad/issues/detail?id=361 Have you hit mod+shift+space to reset your layouts? -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #5 on issue 361 by zl29ah: Layout.Tabbed works like Full http://code.google.com/p/xmonad/issues/detail?id=361
And how doesn't tabbedAlways work? Exactly like simpleTabbed.
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #6 on issue 361 by zl29ah: Layout.Tabbed works like Full http://code.google.com/p/xmonad/issues/detail?id=361
Have you hit mod+shift+space to reset your layouts? Have just tried. Still no luck.
-- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #7 on issue 361 by wirtwo...@gmail.com: Layout.Tabbed works like Full http://code.google.com/p/xmonad/issues/detail?id=361 Ugh, sorry zl29ah, just realized you probably didn't get my response sent to list rather than commented on the bug tracker. Likely this problem is caused by the default font not being loaded. See the following message to add misc fixed 10 to your font path, or customize your tabbed theme to use an xft font you have installed. http://www.haskell.org/pipermail/xmonad/2010-January/009603.html -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #8 on issue 361 by zl29ah: Layout.Tabbed works like Full http://code.google.com/p/xmonad/issues/detail?id=361 Thank you, that fixed the problem. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Excerpts from codesite-noreply's message of Thu Jan 21 11:24:17 -0700 2010:
Comment #5 on issue 361 by zl29ah: Layout.Tabbed works like Full http://code.google.com/p/xmonad/issues/detail?id=361
And how doesn't tabbedAlways work? Exactly like simpleTabbed.
I suspect what's happening here is that the default bitmap font, "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*" is not loaded on your xorg server. Tabbed layouts fall back to Full when there is a font error. You could run `xset fp+ /path/to/fonts/misc' and `xset fp rehash' if you have it installed. You could then add that font path to xorg.conf so it gets used in the future. If you have no desire to mess with legacy fonts you can pick an xft font you have installed, say DejaVu, and use it in a custom theme with your tabbed layouts: myTheme = defaultTheme { fontName = "xft:DejaVu Sans:size=10" } main = xmonad defaultConfig { layoutHook = tabbedAlways shrinkText myTheme } Hopefully this gets your layouts working properly, and in the future xmonad communicates the problem more clearly, rather than hiding font problems behind unexpected layout behaviour. regards, -- wmw
participants (2)
-
codesite-noreply@google.com
-
Wirt Wolff