Problems with two monitors #97

Open
jacintocorral opened this Issue Jun 12, 2012 · 3 comments

2 participants

@jacintocorral

I have 2 monitors and when calculated widget position.... y launch or wiev in second monitor, if i launch at firts it's ok.

[INFO] => Initializing timelines Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(self.__args, *self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/turses-0.2.0-py2.7.egg/turses/core.py", line 433, in append_default_timelines
append()
File "/usr/local/lib/python2.7/dist-packages/turses-0.2.0-py2.7.egg/turses/core.py", line 446, in append_home_timeline
on_success=timeline_fetched,)
File "/usr/local/lib/python2.7/dist-packages/turses-0.2.0-py2.7.egg/turses/meta.py", line 35, in wrapper
on_error()
File "/usr/local/lib/python2.7/dist-packages/turses-0.2.0-py2.7.egg/turses/core.py", line 722, in error_message
self.redraw_screen()
File "/usr/local/lib/python2.7/dist-packages/turses-0.2.0-py2.7.egg/turses/core.py", line 1260, in redraw_screen
self.loop.draw_screen()
File "/usr/lib/pymodules/python2.7/urwid/main_loop.py", line 361, in draw_screen
canvas = self.widget.render(self.screen_size, focus=True)
File "/usr/lib/pymodules/python2.7/urwid/widget.py", line 135, in cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.7/urwid/container.py", line 569, in render
focus and self.focus_part == 'body')
File "/usr/lib/pymodules/python2.7/urwid/widget.py", line 135, in cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.7/urwid/widget.py", line 1302, in render
canv = self._w.render(size, focus=focus)
File "/usr/lib/pymodules/python2.7/urwid/widget.py", line 135, in cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.7/urwid/container.py", line 422, in render
self.top_w_size(size, left, right, top, bottom), focus)
File "/usr/lib/pymodules/python2.7/urwid/widget.py", line 135, in cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.7/urwid/container.py", line 1173, in render
focus = focus and self.focus_col == i)
File "/usr/lib/pymodules/python2.7/urwid/widget.py", line 135, in cached_render
canv = fn(self, size, focus=focus)
File "/usr/lib/pymodules/python2.7/urwid/listbox.py", line 360, in render
raise ListBoxError, "Widget %s at position %s within listbox calculated %d rows but rendered %d!"% (widget,w_pos,w_rows, canvas.rows())
ListBoxError: Widget at position 2 within listbox calculated 3 rows but rendered 4!

@dialelo
Owner

Is this happening when you move the window from one monitor to another? I'll try to reproduce it with an external monitor but I don't have one at the moment.

@jacintocorral
@dialelo
Owner

Yes, feel free to explain the error in spanish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment