Article View: comp.sys.acorn.tech
Article #552RO3.1, C dbox's and 3d icons
From: Pete Goodwin
Date: Thu, 19 Nov 1992 08:42
Date: Thu, 19 Nov 1992 08:42
37 lines
1845 bytes
1845 bytes
I knew about the bug in 3.1 with 3d icons on exit, and I've coded around that.
What I didn't know was that there's another bug - actually more serious.
Take a window with a few icons, all r5 - click, they push in. I use this window
in a dbox like so:
d = dbox_new("view");
dbox_show(d);
dbox_fillin(d);
dbox_dispose(&d);
Now, ordinarily, this is fine. You click on the icon, the window disappears. No
problem. Now, introduce a delay between the dbox_dispose and the next
event_process call (actually due to redrawing a window) - CRASH!!!
I can see an Address Exception in the window manager if I use debug. If I don't
use debug, a few wierd effects occur.
On some occaisons, I get an 'Internal Trap', then EVERY task generates an
address exception until the desktop vanishes leaving me at the '*' prompt.
Typing 'desktop' produces the Initialising screen but it immediately drops back
to '*'.
On other occaisons, everything seems fine. I try to change mode, and it ignores
me. Huh? I look at the TaskWindow, try to drag some of the sliders. I get an
error window full of 'Message Template' repeated a dozen times. Huh? I drop
down to the '*' prompt with F12, try anything I get 'Filecore error' then the
machine hangs.
NONE of these effects occur if I take away the r5 icons, and replace them with
r2 (which doesn't do the indenting).
Anyone else seen this one?
Pete Goodwin
goodwin@edieng.enet.dec.com
Technical Details
Message-ID:
<1992Nov19.085031.16273@rdg.dec.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!decuac!pa.dec.com!rdg.dec.com!edieng.enet.dec.com!goodwinShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.acorn.tech Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!decuac!pa.dec.com!rdg.dec.com!edieng.enet.dec.com!goodwin From: goodwin@edieng.enet.dec.com (Pete Goodwin) Subject: RO3.1, C dbox's and 3d icons Message-ID: <1992Nov19.085031.16273@rdg.dec.com> Sender: news@rdg.dec.com (Mr News) Organization: Digital Equipment Corporation Date: Thu, 19 Nov 1992 08:42:40 GMT Lines: 37