---Reply to mail from Chris Hawks about Bug 942

>     The failure (with Debug ROM) to return to the previous form (in your
> bugnote) is caused by the System queuing a frmUpdateEvent (regular ROMs
> don't) and then Plucker crashes trying to redisplay the fullscreen table
> that was just released. (Happens with fullscreen images too.)

    I've got a fix for this problem, but, it might qualify as a 'hack'.

--- mainform.c.orig     Wed Feb  4 16:09:06 2004
+++ mainform.c  Sat Feb 14 17:13:07 2004
@@ -820,6 +820,13 @@
                 if ( mode == WRITEMODE_DRAW_CHAR ) {
                     FrmEraseForm( mainForm );
                     MainFormInit();
+                    /* If we are just coming back from frmFullscreen,
+                       don't reload GetHistoryCurrent().
+                       There is all ready a DoControlAction() pending. */
+                    if ( FrmGetFormId( FrmGetFirstForm() ) ==
frmFullscreen ) {
+                        handled = true;
+                        break;
+                    }
                 }
 
                 successful = ViewRecord( GetHistoryCurrent(),

Like it says, if we are returning from frmFullscreen (FrmGetFirstForm() is
the last used form), then don't re-load the record.

---End reply

Christopher R. Hawks
HAWKSoft
-------------------------------------------------------------------------
DOS: n., A small annoying boot virus that causes random spontaneous system
     crashes, usually just before saving a massive project.  Easily cured by
     UNIX.  See also MS-DOS, IBM-DOS, DR-DOS.
    -- David Vicker's .plan





_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to