[xmonad] Issue 151 in xmonad: XMonad needs to spot resize events in non-floating windows -- dons

codesite-noreply at google.com codesite-noreply at google.com
Mon Mar 10 16:51:48 EDT 2008


Issue 151: XMonad needs to spot resize events in non-floating windows 
-- dons
http://code.google.com/p/xmonad/issues/detail?id=151

New issue report by mj.fialka:
What steps will reproduce the problem?

1. In tiled layout open XTerm window and run for example Midnight Commander
in it in order to have some good visual reference.
2. Then change the font size of the running XTerm on-the-fly (i.e. from
menu, alt-right-mouse on running XTerm's window).
3. Do the same with floating XTerm and check the difference. See?
4. In tiled layout you can also try to "mod-shift-space" (reset) the
layouts to defaults to see it also have no expected effect on the XTerm
(and the application running inside it).

What is the expected output? What do you see instead?

We can see correct behaviour in the floating XTerm because XMonad seems (or
rather: it seems to me) to handle this part of windowing differently when
"managing" floating windows and when managing tiled windows.

In tiled layout the geometry changes requested by the application such as
XTerm itself seems not be noticed by XMonad at all.

I would expect XMonad should notice the geometry change and reflect it
"somehow". I think the action taken when XMonad notices the event of window
geometry change request should be the same as it is when new one window is
added to the layout or when a window is removed from the layout because in
these cases XTerm windows "resize" correctly and so do programs running
inside of the XTerms (such as the mentioned example Midnight Commander).

Finally here is the #xmonad IRC talk snippet with dons where you can see
what he thinks about it:

---snip---
19:31 : dons: ok. create a ticket for this. basically, we need to spot
resize events in non-floating windows
19:31 : dons: i think this should be easy
19:31 : dons: and may be a subset of some other bugs
---snip---

Thank you very much for solving this issue. (I realized I simply can not
live without changing XTerm fonts on-the-fly, although not only XTerm can
behave this way:)

What version of the product are you using? On what operating system?

DARCS version of XMonad running on Debian/Etch GNU/Linux OS.

Please provide any additional information below.

If this error is due to a module from XMonadContrib, please tag this issue
with 'Component-Contrib' below.



Issue attributes:
	Status: New
	Owner: ----
	Labels: Type-Defect Priority-Medium

-- 
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


More information about the xmonad mailing list