Issue 425 in xmonad: XMonad.Layout.LayoutHints serious bugs

Status: New Owner: ---- New issue 425 by kevind...@gmail.com: XMonad.Layout.LayoutHints serious bugs http://code.google.com/p/xmonad/issues/detail?id=425 What steps will reproduce the problem? 1. import XMonad.Layout.LayoutHints 2. layoutHook = avoidStruts $ layoutHintsToCenter(noFrillsDeco shrinkText myTheme (Tall 1 0.05 0.5)), 3. <try switching focus several times> What is the expected output? What do you see instead? It's expected to try to fill gaps without creating overlaps, but instead it creates lots of overlaps between each window and decoration of the next window, plus after some switching of focus windows get needless resizing, then sometimes totally wrong, overlapping layout and finally, disappearance of windows with disappearance of their processes. What version of the product are you using? On what operating system? xmonad 0.9.1 Linux 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010 i686 Are you using an xmonad.hs? Please attach it and the output of "xmonad --recompile". Yes. Afraid to check for output now since browser window could be taken off as well. At least there were no error window. Please provide any additional information below. I remember that before, when I tried subj with simpler config, there was only one problem: it overlapped each window with next window's 2-pixel thick border.

Updates: Status: Accepted Owner: vogt.adam Labels: Type-Defect Priority-Medium Component-Contrib Comment #1 on issue 425 by vogt.adam: XMonad.Layout.LayoutHints serious bugs http://code.google.com/p/xmonad/issues/detail?id=425 I agree that these deficiencies are significant. If you switch the order of hints and the decoration, the decorations are unaffected, but then the hints are incorrectly applied, since the correctly resized windows are later resized to make space for the decoration. LayoutHints does not treat windows which are the decorations differently, so they get resized (or at least the gray background does). Either LayoutHints could special case windows arranged by the layout being modified which do not exist in the passed Stack, or the decoration modules could set appropriate hints on those windows.
participants (1)
-
codesite-noreply@google.com