From: Maurice L. <mj...@ga...> - 2002-02-08 10:00:17
|
There's this plasma physicist at UT (Dr. Wendell Horton) that Geoff & I both have worked with who had this remarkable gift.. in the course of 5 minutes he could give you enough work through simple-sounding suggestions to keep you busy for about the next year or two. Remind you of anything? :) Geoffrey Furnish writes: > Plframe Bugs: > ... > 2) First zoom in seems to often be a double display. Very > noticeable for big plots where it takes several seconds in dead > time to display. After the first zoom, the screen goes blank, > then the plot flashes up, then immediately disappears, then > more dead time, followed finally by a redisplay of the image. > The second one "sticks". Next zoom is okay. (Still slow, but > at least it only redisplays once). But the first zoom down > from the top, is a double hitter. > > 3) C-r does a double redisplay too. Once to go back to the size > of the plot when there were scroll bars. But then it notices > the scroll bars are gone, so it resizes again and redisplays > given the full screen real estate of the fully reseted > plframe. Properly handling all the events here & filtering out the extraneous ones was a huge headache when I was developing this originally IIRC. After a lot of hard-fought progress I got to a point where I threw up my hands in disgust and said "good enough!". Maybe now I could stomach working on it again, to try for perfection, but I dunno. When I'm next in the mood for some pain I'll look at it. > Probably we need a way for a Tcl script to set a "don't update" > flag in plframe, then it can do the stuff with the Tk geometry > manager to resize the plframe sans the scroll bars, then it should > reenable event handling and tell plframe to redraw (just once). Hmm... -- Maurice LeBrun mj...@ga... |