Anonymous | Login | 2019-02-16 14:23 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0029884 | Community | [OCCT] OCCT:Application Framework | public | 2018-06-20 10:56 | 2018-06-20 11:15 | ||||||||
Reporter | Vico Liang | ||||||||||||
Assigned To | mpv | ||||||||||||
Priority | normal | Severity | minor | ||||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | |||||||||||||
Target Version | [OCCT] 7.4.0* | Fixed in Version | |||||||||||
Summary | 0029884: Calling sequence of BeforeUndo() and AfterUndo() unpredictable | ||||||||||||
Description | Undo/redo delta sequence is base on label tree hierarchy. Base on this assumption, attributes may be designed with dependency with each other. The predict behavior is that BeforeUndo() and AfterUndo() will be called in the label tree hierarchy order. Actually, the order is unpredictable. The reason is TDF_Data::FixOrder() adjusted the delta order to fix another bug 0029142. It seems ugly and unnatural with such order fix. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Test case number | |||||||||||||
Attached Files | |||||||||||||
![]() |
|
(0076843) Vico Liang (developer) 2018-06-20 11:14 edited on: 2018-06-20 11:15 |
My use case looks like this, the application is base on TObj package, TObj_TObject rely on AfterUndo() to recover object from death and My_AISPresentation rely on BeforeUndo() and AfterUndo() to do presentation update. My_AISPresentation is designed to depend on TObj_TObject. It will crash during presentation updating on undo/redo because AfterUndo() of TObj_TObject is not called before My_AISPresentation. |
![]() |
|||
Date Modified | Username | Field | Change |
2018-06-20 10:56 | Vico Liang | New Issue | |
2018-06-20 10:56 | Vico Liang | Assigned To | => mpv |
2018-06-20 11:07 | Vico Liang | Note Added: 0076842 | |
2018-06-20 11:08 | Vico Liang | Relationship added | related to 0029142 |
2018-06-20 11:10 | Vico Liang | Note Deleted: 0076842 | |
2018-06-20 11:14 | Vico Liang | Note Added: 0076843 | |
2018-06-20 11:15 | Vico Liang | Note Edited: 0076843 | View Revisions |
Copyright © 2000 - 2019 MantisBT Team |