Apache OpenOffice (AOO) Bugzilla – Issue 46156
updating table of contents deletes the undo stack
Last modified: 2014-11-11 07:20:05 UTC
.
Please write a description for what I guess to be an enhance,ment, else I'll close it as INVALID.
Sorry, I thought that the summary would be enough. I just found out that undo not only is not supported, it does something wrong: - open the attached document - enter a word at the bottom of the document - right-click the TOC to update it - press undo: The line "1. test" is changed to "est". This means that changings to the document cannot be undone anymore. This makes this issue a P2 bug, because of data loss! Please change the issue properties. I don't have the permissions.
Created attachment 24332 [details] Writer document
Reassigned
OOo Later????? Please note that this can lead to data loss!!!!!!!!!!!!!!!!
@es: OOo Later????? Please note that this can lead to data loss!!!!!!!!!!!!!!!!
Is it somehow possible to get privilies for changing the summary of my own issues!? This is really a problem...
Please correct the summary. The fact that the toc update cannot be undone is not the main problem here. The main problem is that everything that has been done before the toc update cannot be undone!
Plese download the second atatched document: - open the attached document - delete the line at the bottom - right-click the TOC to update it - now undo is disabled! The user has no way to restore the accidentally deleted date! This makes this issue a P2 bug, because of data loss! Please change the issue properties. I don't have the permissions.
Created attachment 24384 [details] document 2
ES->HB: DVO thought you had already done something about "undo and TOC update". He thinks this problem has no real solution if we want to avoid crashes. Please evaluate. Keeping OOo later for it was already there since OOO 1.0
HB->ES: I tried to get this fixed properly for about two weeks. But the methods updating the TOX work directly on the core data structures. These changes are not recorded by undo. Thus not clearing the undo stack whould currupt the stack due to us using absolute indices in undos and lead to crashes. Using the higher level methods for manipulating the documents does not solve the problem either. Doing this properly whould need a major rewrite for which I am not allowed the time right now. :-(
But I think it's really worth to fix this bug, also if it is not possible at the moment ...
This Issue requires more information ('needmoreinfo'), but has not been updated within the last year. Please re-test with one of the latest versions of OOo - the problem(s) may have already been addressed. Either use the recent stable version: http://download.openoffice.org/index.html or consider trying the new OOo 3 BETA (still in testing): http://download.openoffice.org/3.0beta/ Please report back the outcome so this Issue may be closed or progressed as necessary - otherwise it may be Resolved as Invalid in the future. You may also wish to search for (and note) any duplicates of this Issue that may have advanced further : http://www.openoffice.org/issues/query.cgi Many thanks, Andrew Cleaning-up and Closing old Issues as part of: ~ The Grand Bug Squash, pre v3 ~
> This Issue requires more information ('needmoreinfo'), but has not been updated > within the last year. Please re-test [...] I don't think more info is needed. It seems to me that the developers are aware of this issue and even know where the problem comes from. Anyway, I've just tested OOo 2.4.0 and this bug is still present.
Removed "needmoreinfo" to avoid future big "automated clean-up" actions. ;) This bug is known but too risky to be fixed with the resources we have.
ama took over undo
*** Issue 112800 has been marked as a duplicate of this issue. ***
Created attachment 72670
Created attachment 73280
Still reproducible with AOO420m1(Build:9800) - Rev. 1630928 Rev.1630928 I don't see anything trivial here. LibO Version: 4.4.0.0.alpha1+ Build ID: 8b21b5cbe78945b27525b4ce78ae3d981f90590f TinderBox: Win-x86@39, Branch:master, Time: 2014-11-06_03:55:51 Still suffers from that problem