Apache OpenOffice (AOO) Bugzilla – Issue 36150
Correct setting the Undo-Stack when TextEdit
Last modified: 2013-02-21 22:57:55 UTC
AW->AF: This is a follow-up to #i35363#. Necessary steps are: (1) Correctly set Undo-Stack of the EditEngine when TextEdit Starts/Ends (in View::BegTextEdit and View::EndTextEdit) (2) Force EndTextEdit() when the shell containing the OutlinerView in edit mode loses the focus (to be sure that the correct UndoManager is on the stack).
Accepted.
Step 1 is not necessary, the existing code is correct: the undo manager is set at the top most shell on the stack. If I understand this correctly then this has not to be (but usually is) the text object bar to make undo work.
I just made an experiment with calling EndTextEdit() on all views on the stack from ViewShellManager::MoveToTop(). This ended the text editing of a simple shape in the edit view when I clicked in the slide sorter bar. I have not yet checked that the implication on the UndoManager. But then again, with the fix for issue 35363 in place, I have not seen Undo related problems originating from the text editing lately.
set to OOo Later
This is currently logged against the dummy '*TESTproduct' component? If this is not a real Issue or has been fixed, please close. Regards Andrew Cleaning-up and Closing old Issues as part of: ~ The Grand Bug Squash, pre v3 ~