[Urwid] Scrolling trouble
lists at informa.tiker.net
Wed Dec 3 16:24:03 EST 2008
On Dienstag 02 Dezember 2008, Ian Ward wrote:
> Andreas Klöckner wrote:
> > Hi Ian, all,
> > If you run the attached script with 'python pudb.py pudb.py' and hit 'h',
> > you'll see a help screen that's supposed to be scrollable. For me, it
> > scrolls just a little bit, but doesn't show all the text it's supposed to
> > show.
> > Looks like a ListBox bug...
> > Andreas
> > PS: I'm attaching a bunch of fixes I've made against the hg version. This
> > includes the prior patch.
> pudb.py looks exactly like something I was hoping to have time to write
> myself. Would you like me to distribute it with Urwid?
It's far from done. Feel free to distribute it as is, though. If I get some
time to work more on it, I'll send updates.
> I have had some issues with scrolling long unselectable widgets that I
> haven't fixed yet, this is likely what you're running into. A simple
> workaround is to break your text into multiple widgets, but the proper
> thing to do is to add a test case to test_urwid.py with a really long
> widget. There are lots and lots of listbox test cases, but this looks
> like one I missed.
Ok--I'll add that test once I get back to working on pudb. (no ETA, though) Of
course, don't let that keep you from fixing the bug... :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.excess.org/pipermail/urwid/attachments/20081203/93b4382e/attachment.pgp
More information about the Urwid