Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

JS bug #3598: window resizing #1

Open
Jajcus opened this issue May 3, 2011 · 1 comment
Open

JS bug #3598: window resizing #1

Jajcus opened this issue May 3, 2011 · 1 comment

Comments

@Jajcus
Copy link
Owner

Jajcus commented May 3, 2011

Reported on [http://www.jabberstudio.org/ JabberStudio] on Time Open: Apr 06, 2004 at 11:00 am CDT

If window is not redrawn after resizing, then changing the active
window (esc/alt-1,2,..) produces this error:

{{{
Traceback (most recent call last):
File "/usr/local/share/cjc/cjc/ui/keytable.py", line 340, in keypressed
process_key(ch)
File "/usr/local/share/cjc/cjc/ui/keytable.py", line 306, in process_key
return t.process_key(code,meta)
File "/usr/local/share/cjc/cjc/ui/keytable.py", line 113, in process_key
fun.invoke(self.object,arg)
File "/usr/local/share/cjc/cjc/ui/keytable.py", line 56, in invoke
self.handler(object,arg)
File "/usr/local/share/cjc/cjc/ui/window.py", line 50, in switch_to_buffer
self.set_buffer(b)
File "/usr/local/share/cjc/cjc/ui/window.py", line 137, in set_buffer
self.screen.input_handler.current_buffer_changed(self.buffer)
File "/usr/local/share/cjc/cjc/ui/input.py", line 135, in current_buffer_changed
self.make_windows()
File "/usr/local/share/cjc/cjc/ui/input.py", line 109, in make_windows
self.input_win=curses.newwin(self.h,self.w,self.y,self.x)
error: curses function returned NULL
}}}

@Jajcus
Copy link
Owner Author

Jajcus commented May 3, 2011

also reported by weirdo in JS bug !#5272:

{{{
[01:33] Exception during keybinding execution
Traceback (most recent call last):
File "/usr/local/share/cjc/cjc/ui/keytable.py", line 381, in keypressed
process_key(ch)
File "/usr/local/share/cjc/cjc/ui/keytable.py", line 346, in process_key
return t.process_key(code,meta)
File "/usr/local/share/cjc/cjc/ui/keytable.py", line 133, in process_key
fun.invoke(object,arg)
File "/usr/local/share/cjc/cjc/ui/keytable.py", line 75, in invoke
self.handler(object,arg)
File "/usr/local/share/cjc/cjc/ui/window.py", line 68, in switch_to_buffer
self.set_buffer(b)
File "/usr/local/share/cjc/cjc/ui/window.py", line 160, in set_buffer
self.screen.input_handler.current_buffer_changed(self.buffer)
File "/usr/local/share/cjc/cjc/ui/input.py", line 150, in current_buffer_changed
self.make_windows()
File "/usr/local/share/cjc/cjc/ui/input.py", line 126, in make_windows
self.input_win=curses.newwin(self.h,self.w,self.y,self.x)
error: curses function returned NULL

on FreeBSD 6.1-BETA4 (also happens on 6.0-RELEASE), ncurses 5.2.
}}}

--jajcus

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant