On Tue, 17 May 2005, Joerg Lehmann wrote:
On 13.05.05, Dag Wieers wrote:
Another set of comments:
- The interface feels a bit sluggish and I think that is because if you 'tab' between the 2 windows there is a visible refresh. I've been looking to get rid of it one way or the other but I struggle with ncurses.
Hmm, logging the calls of the doupdate function of the curses library shows only on call after pressing the TAB key.
After reading some curses documentation, they do explain that it's necessary to make all updates first on the virtual screen before calling doupdate(). But I'm not sure doupdate() is the problem here, is it possible something else is causing this ? Is the virtual terminal playing back operations instead of showing the result ?
What I see happening is that when pressing TAB to switch between the filelistwin and the playlistwin, the destination window (the one I'm switching to) is being cleared (the complete area) and redrawn.
I tested it with several terminal programs to ensure this was not a xterm problem. Am I the only one seeing this ? Because I think it's very disturbing (it makes pytone feel as slow and sluggish).
After a lot of trial and error I found a solution to the refresh even though I have no clue why this fixes it. I added the small patch to this mail. You may want to verify this and fix the real issue when found :)
Furthermore I have also seen cases where the initial screen is corrupted in the center of the screen. (something that is 2 chars high is removing part of the left border of the playlistwin) Pressing tab fixes the problem.
Can we expect a new (temporary) release that fixes these (and previous reported) issues ? Maybe with some contributed plugins inside the pytone tarball (shouldn't be a problem since you have to opt-in on each manually).
Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]