Re: Issue 312 in xmonad: [improvement] MosaicAlt: change tall/wide

Updates: Status: Accepted Labels: Type-Enhancement Component-Contrib Comment #2 on issue 312 by byorgey: [improvement] MosaicAlt: change tall/wide http://code.google.com/p/xmonad/issues/detail?id=312 (No comment was entered for this change.) -- 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: Owner: vogt.adam Comment #3 on issue 312 by vogt.adam: [improvement] MosaicAlt: change tall/wide http://code.google.com/p/xmonad/issues/detail?id=312 Attached is a preliminary (not to be applied without further cleanup) patch that sort of does as asked-for. It does a linear search up to 100 modification functions: this could be a binary search. It also breaks configs: the Rectangle could probably be a fixed one (say Rectangle 0 0 200 200), and the W.Stack could probably be gotten from the keys of the params map.... the values are deliberately not the ones you can get from the environment with the X monad, because that breaks things with layouts like combo. I'm bringing this up for review because I'm not sure that the new behavior is an improvement: there's a slight performance impact, and the old behavior where large aspect ratio changes only happen after multiple keypresses is a bit less disorienting... however MosaicAlt isn't very predictable in either variation. Are there other users of MosaicAlt who have opinions on this? Attachments: preliminary-attempt-to-make-mosaicalt-more-responsive_-breaks-configs_.dpatch 93.5 KB -- 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 312 by OrbisVicis: [improvement] MosaicAlt: change tall/wide http://code.google.com/p/xmonad/issues/detail?id=312 My thoughts: First off, I want to mention that this patch is pretty much exactly the enhancement I was looking for in MosaicAlt. Furthermore, aside from the multiple-keypress issue, MosaicAlt behaves exactly as originally. Usability: I find that it is much more productive to have layout modifications take effect right away, rather than the delayed-buffer/multiple-keypress behavior of the previous version. As aavogt pointed out, both variations are rather unpredictable in their placement of windows, so whether a window is moved sooner or later makes little difference. The new configuration parameters ([Rectangle] and [W.Stack window]) are confusing as they do not modify the behavior of MosaicAlt, at least not in any noticeable way. Performance: Definitely more cpu intensive. Furthermore, doesn't optimize cases when a window is as tall/wide as it can become. In such cases, repeated input/resizing causes cpu to skyrise, and xmonad to lock-up, whereas the original variant simply took moderate processing power by keeping the X server awake. On the other hand, the original MosaicAlt variant would continue modifying the layout though the window could not increase width/height, making even more keypresses necessary to shrink the 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 #5 on issue 312 by OrbisVicis: [improvement] MosaicAlt: change tall/wide http://code.google.com/p/xmonad/issues/detail?id=312 By the way, I do really like the modifications you've made. -- 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