codehenry / xmonad

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

Layout.Tabbed works like Full when fonts cannot be found #361

Open GoogleCodeExporter opened 8 years ago

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

Original issue reported on code.google.com by zl29ah@gmail.com on 21 Jan 2010 at 5:09

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

Original comment by ivan.miljenovic@gmail.com on 21 Jan 2010 at 5:21

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

Original comment by zl29ah@gmail.com on 21 Jan 2010 at 6:05

GoogleCodeExporter commented 8 years ago
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?

Original comment by ivan.miljenovic@gmail.com on 21 Jan 2010 at 6:13

GoogleCodeExporter commented 8 years ago
Have you hit mod+shift+space to reset your layouts?

Original comment by daniel.w...@gmail.com on 21 Jan 2010 at 6:19

GoogleCodeExporter commented 8 years ago
> And how doesn't tabbedAlways work?
Exactly like simpleTabbed.

Original comment by zl29ah@gmail.com on 21 Jan 2010 at 6:21

GoogleCodeExporter commented 8 years ago
> Have you hit mod+shift+space to reset your layouts?
Have just tried. Still no luck.

Original comment by zl29ah@gmail.com on 21 Jan 2010 at 6:22

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

Original comment by wirtwo...@gmail.com on 22 Jan 2010 at 12:17

GoogleCodeExporter commented 8 years ago
Thank you, that fixed the problem.

Original comment by zl29ah@gmail.com on 22 Jan 2010 at 7:57

GoogleCodeExporter commented 8 years ago
As Wirt pointed out, the tabbed layout should be more clear about
missing fonts, or use fontconfig which is more likely to find a
usable font than assumign that -fixed-*  is present?

Original comment by vogt.a...@gmail.com on 31 Mar 2010 at 7:14