Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!ut-ngp!wca From: wca@ut-ngp.UUCP (William C. Anderson) Newsgroups: net.micro.mac Subject: Re: TransSkel1.0 Bug (horrors!) + Fix Message-ID: <3892@ut-ngp.UUCP> Date: Wed, 27-Aug-86 20:27:07 EDT Article-I.D.: ut-ngp.3892 Posted: Wed Aug 27 20:27:07 1986 Date-Received: Thu, 28-Aug-86 01:33:28 EDT References: <212@uwmacc.UUCP> Distribution: net Organization: UTexas Computation Center, Austin, Texas Lines: 26 Summary: TransSkel DuBois Cudos Flashing ScrollBars In article <212@uwmacc.UUCP>, dubois@uwmacc.UUCP (Paul DuBois) writes: > > There's a bug in the window growing code of TransSkel (DoGrow) - after > a window is grown, the entire port is invalidated, which causes an > update event to be generated for the window. The host is then notified > that the window was resized. Fortuitously, due to the way TransSkel > operates, the current port is virtually always set to the window that > is resized. Under certain circumstances, however, it won't be, and a > bomb occurs. The fix is to set the port before invalidating it. This > also explains what (to me, anyway) was an otherwise inexplicable > phenomenon in DoActivate. > > I hope that this explains why my scrollbars were flashing _twice_ when I expose a window! :-) By the way, I think that TransSkel is a *wonderful* piece of code! It has simplified my Mac programming greatly and it motivated me to buy LightSpeed C (a decision that I will never regret). TransSkel is for the Mac what SunView is for Sun Workstations - a much simpler way to utilize the inter- face from the programmer's point of view. Thanks for TransSkel, Paul. William Anderson - University of Texas Computation Center