bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #4692] problem with registerUndoWithTarget: selector: object:


From: nobody
Subject: [bug #4692] problem with registerUndoWithTarget: selector: object:
Date: Sat, 09 Aug 2003 16:21:23 -0400
User-agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i586; U;) Gecko/20030131

=================== BUG #4692: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4692&group_id=99

Submitted by: rburns                  Project: GNUstep                      
Submitted on: Sat 08/09/2003 at 20:21
Category:  Base/Foundation            Severity:  5 - Major                  
Bug Group:  Bug                       Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  problem with registerUndoWithTarget: selector: object: 

Original Submission:  Using this code:

[undoManager registerUndoWithTarget:self selector:@selector(setState:) 
object:[em state]];

[undoManager undo];
[undoManager undo];

setState: only gets called the second time.

an example NSLog from this program: http://paiges.net/misc/EdenMath_test.tar.gz

bash-2.05b$ openapp EdenMath
2003-08-10 03:00:18.025 EdenMath[15367] em state - {current_value = 0; 
isNewDigit = YES; op_type = 0; previous_value = 0; trailing_digits = 0; }
2003-08-10 03:00:19.220 EdenMath[15367] we are undoing
2003-08-10 03:00:19.908 EdenMath[15367] we are undoing
2003-08-10 03:00:19.918 EdenMath[15367] setState in EMController
2003-08-10 03:00:19.929 EdenMath[15367] em state - {current_value = 2; 
isNewDigit = NO; op_type = 0; previous_value = 0; trailing_digits = 0; }
Segmentation fault
bash-2.05b$

using gnustep cvs from August 8



No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4692&group_id=99

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]