Re: [xmonad] Problem with urxvt, different-sized monitors and ncurses

Hello On Fri, Jun 27, 2008 at 08:26:51PM +0200, Jesús Guerrero wrote:
On Fri, 27 Jun 2008 20:09:52 +0200 Michal 'vorner' Vaner
wrote: But when I move it to other screen (switching to the screen and bringing it's virtual desktop there), the application does not change it's size -- urxvt changes it's size, but the app is missing some of it's parts or occupying only part of urxvt.
mc and mocp do fine here. So maybe it's a problem with either mutt or irssi.
I tried mc, it does not happen every time, only something like one time out of five. I tried with konsole and xterm, with same result, so it seems it is not urxvt's fault. Which version of ncurses do you have? And, do you have it with unicode? (It could maybe caused by this) Thank you PS: Sorry to Jésus for the duplicity, I hit wrong reply button the first time. -- You can't have everything... where would you put it? -- Steven Wright Michal 'vorner' Vaner

On Fri, 27 Jun 2008 22:17:21 +0200
Michal 'vorner' Vaner
Hello
On Fri, Jun 27, 2008 at 08:26:51PM +0200, Jesús Guerrero wrote:
On Fri, 27 Jun 2008 20:09:52 +0200 Michal 'vorner' Vaner
wrote: But when I move it to other screen (switching to the screen and bringing it's virtual desktop there), the application does not change it's size -- urxvt changes it's size, but the app is missing some of it's parts or occupying only part of urxvt.
mc and mocp do fine here. So maybe it's a problem with either mutt or irssi.
I tried mc, it does not happen every time, only something like one time out of five.
Well, mc sometimes fail but it has other problems with layout, so I wouldn't bother about that. It's probably some bug on the way that mc calculates it's own layout which is not always reproducible. Moc, on the other side, does *always* resize ok, so, I am inclined to think that the problem lies in the client app, and not xmonad, the terminal or ncurses.
Which version of ncurses do you have? And, do you have it with unicode? (It could maybe caused by this)
5.6, it's a non-debug build, using unicode and gpm support (not that gpm is relevant here, but there you are). mc 4.6.2_pre1 is built with X,gpm and unicode support. This is Gentoo, so I am 100% that all the apps have been built using the same ncurses version, since there's no prepackaged binary stuff.
PS: Sorry to Jésus for the duplicity, I hit wrong reply button the first time.
Don't worry about that, those things happen :)
--
Jesús Guerrero

Hello On Sat, Jun 28, 2008 at 12:20:38AM +0200, Jesús Guerrero wrote:
Moc, on the other side, does *always* resize ok, so, I am inclined to think that the problem lies in the client app, and not xmonad, the terminal or ncurses.
Well, there are too many applications that do it for it to be the app (I already found top, mc, mutt, irssi and vim).
Which version of ncurses do you have? And, do you have it with unicode? (It could maybe caused by this)
5.6, it's a non-debug build, using unicode and gpm support (not that gpm is relevant here, but there you are). mc 4.6.2_pre1 is built with X,gpm and unicode support. This is Gentoo, so I am 100% that all the apps have been built using the same ncurses version, since there's no prepackaged binary stuff.
I have gentoo too, tried with the same use flags. Still getting this behaviour. But I noticed it happens more often when the system is under load, it could be some race condition. Does X guarantee event delivery in order? Is there any way to see what xmonad sends to the windows? Or, what a given window gets for events? Thank you -- Anything is possible, unless it's not. Michal 'vorner' Vaner

On Sat, 28 Jun 2008 12:20:33 +0200
Michal 'vorner' Vaner
I have gentoo too, tried with the same use flags. Still getting this behaviour. But I noticed it happens more often when the system is under load, it could be some race condition. Does X guarantee event delivery in order?
Yup.
Is there any way to see what xmonad sends to the windows? Or, what a given window gets for events?
xscope is what you need here -- but to be honest you're barking up the wrong tree. -- Thomas Adam -- "It was the cruelest game I've ever played and it's played inside my head." -- "Hush The Warmth", Gorky's Zygotic Mynci.
participants (3)
-
Jesús Guerrero
-
Michal 'vorner' Vaner
-
Thomas Adam