[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setWindowGeometryRecordName and other follies
From: |
Marcus G. Daniels |
Subject: |
Re: setWindowGeometryRecordName and other follies |
Date: |
20 Apr 2000 15:24:10 -0700 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
>>>>> "PJ" == Paul Johnson <address@hidden> writes:
PJ> 1. A student turned this one up:
PJ> setWindowGeometryRecordName: "market Commonality by Firm Graph"
[..]
PJ> you get a crash next time you run your program because the
PJ> geometry record name has spaces and the .swarmArchiver can't be
PJ> processed with them.
Thanks, I think this is best fixed in the documentation. (done)
PJ> 2. Did you know that if you forget to do
PJ> enableDestroyNotification, as in: [...]
PJ> Then your program causes a seg violation in windows every time you quit.
In some cases it is important to prevent messages from being sent to
objects that no longer exist. It's a good thing to use window destroy
notification anyway, so that the model can adapt to dead windows, etc.
PJ> 3. On a Windows 98 computer, the student who unearthed #1 says
PJ> the save button does not dependably save window positions. If one
PJ> is running simple observer bug, for example, he says the positions
PJ> are not coming back the exact same way he places them.
For one thing, simpleObserverBug doesn't have calls to
setWindowGeometryRecordName, so it can't save window positions.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.