id

46

title
Typing F2 causes empty screen / Appuyer sur F2 vide l'écran
reporter
Alouette
created
28/06/2013, 18:44
updated
11/09/2014, 19:46
labels
Primitivus
type
bug
status
started
priority
normal
milestone
0.7
severity
major
body

English: If I understand correctly, typing F2 is used to hide contact list. But typing F2 causes empty screen, except for menus. If you type F2 again, it causes a traceback (see below) Français: Si j'ai bien compris, appuyer sur F2 permet de cacher la liste de contact. Mais lorsque l'on appuie sur F2, l'écran se vide à l'exception des menus en haut. Si on appuie encore sur F2, un traceback apparaît (voir plus bas) Traceback: Xlib.protocol.request.QueryExtension Traceback (most recent call last): File "/usr/local/bin/primitivus", line 556, in <module> sat.start() File "/usr/local/bin/primitivus", line 112, in start self.loop.run() File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 272, in run self.screen.run_wrapper(self._run) File "/usr/local/lib/python2.7/dist-packages/urwid/raw_display.py", line 242, in run_wrapper return fn() File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 337, in _run self.event_loop.run() File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 1014, in wrapper return f(*args,**kargs) File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 881, in io_callback callback() File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 388, in _update self.process_input(keys) File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 494, in process_input something_handled |= bool(self.unhandled_input(k)) File "/usr/local/lib/python2.7/dist-packages/urwid/main_loop.py", line 540, in unhandled_input return self._unhandled_input(input) File "/usr/local/bin/primitivus", line 159, in keyHandler center_widgets.insert(0, self.contact_list) File "/usr/local/lib/python2.7/dist-packages/urwid/monitored_list.py", line 28, in call_modified_wrapper self._modified() File "/usr/local/lib/python2.7/dist-packages/urwid/container.py", line 1762, in user_modified self._set_widget_list(ml) File "/usr/local/lib/python2.7/dist-packages/urwid/container.py", line 1766, in _set_widget_list focus_position = self.focus_position File "/usr/local/lib/python2.7/dist-packages/urwid/container.py", line 1935, in _get_focus_position raise IndexError, "No focus_position, Columns is empty" IndexError: No focus_position, Columns is empty

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_46

Click to reduce…

À noter que l'utilisateur ne quitte pas le salon. Seul le frontend est quitté.

Click to expand… Click to reduce…

Click to reduce…

Hi, can you specify which version of Urwid you are using ? Are you using the Debian package of SàT ? thanks

Click to expand… Click to reduce…

Click to reduce…

It works here with my experimental Debian package of SàT 0.5.0. I don't remember seeing this bug with 0.4, but I didn't use Primitivus a lot.

Click to expand… Click to reduce…

You are not logged. You need to log in to comment.