Issue 327 in xmonad: Layout.SubLayouts does not work with Layout.Combo

Status: New Owner: ---- New issue 327 by OrbisVicis: Layout.SubLayouts does not work with Layout.Combo http://code.google.com/p/xmonad/issues/detail?id=327 What steps will reproduce the problem? 1. combineTwo (vertTiled) (styleTabbed) (Accordion) where vertTiled = ResizableTall 1 (2/100) (1/2) [] styleTabbed = tabbed shrinkText myTabConfig 2. Use Layout.SubLayouts as recommended in the documentation (a modifier for a ||| seperated list of layouts), and with modifiers from WindowNavigation and BoringWindows What is the expected output? What do you see instead? The combineTwo layout is not displayed properly. It should work with all layouts because combineTwo provides one layout, while subLayouts modifies all 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

Updates: Status: Accepted Owner: vogt.adam Labels: Component-Contrib Priority-Medium Documentation Comment #1 on issue 327 by vogt.adam: Layout.SubLayouts does not work with Layout.Combo http://code.google.com/p/xmonad/issues/detail?id=327 It's a known and difficult issue that not all layouts can be nested within others. As described here, decorated layouts must not be used as the inner layout: http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-SubLayouts.html#3 Instead, use http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-SubLayouts.html#v... (or it's pieces) with a more pure layout, if you want decorations. I believe that this can be type-system enforced by choosing a different type for the inner layout to manage (ex. Int) which is just as Combo does (currently it is Window), but I guess that isn't a substitute for a larger disclaimer (since the errors would suggest to write the missing instance). -- 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 327 by OrbisVicis: Layout.SubLayouts does not work with Layout.Combo http://code.google.com/p/xmonad/issues/detail?id=327 I want to make sure these are the same issues. In my case the tabbed layout *does* display properly. The accordion layout is blank/empty//no_window. This is using the subLayout modifier, even when not having created any subLayouts yet. -- 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
participants (1)
-
codesite-noreply@google.com