Issue 46156 - updating table of contents deletes the undo stack
Summary: updating table of contents deletes the undo stack
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 680m87
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
: 112800 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-03-28 13:18 UTC by norbert2
Modified: 2014-11-11 07:20 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.2.0-dev
Developer Difficulty: ---


Attachments
Writer document (6.88 KB, application/vnd.sun.xml.writer)
2005-03-28 14:48 UTC, norbert2
no flags Details
document 2 (5.78 KB, application/vnd.sun.xml.writer)
2005-03-29 19:11 UTC, norbert2
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description norbert2 2005-03-28 13:18:31 UTC
.
Comment 1 eric.savary 2005-03-28 14:27:28 UTC
Please write a description for what I guess to be an enhance,ment, else I'll
close it as INVALID.
Comment 2 norbert2 2005-03-28 14:47:54 UTC
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.
Comment 3 norbert2 2005-03-28 14:48:39 UTC
Created attachment 24332 [details]
Writer document
Comment 4 eric.savary 2005-03-28 18:40:46 UTC
Reassigned
Comment 5 norbert2 2005-03-28 18:47:56 UTC
OOo Later?????


Please note that this can lead to data loss!!!!!!!!!!!!!!!!
Comment 6 norbert2 2005-03-28 18:47:57 UTC
@es: OOo Later?????


Please note that this can lead to data loss!!!!!!!!!!!!!!!!
Comment 7 norbert2 2005-03-28 18:49:05 UTC
Is it somehow possible to get privilies for changing the summary of my own
issues!? This is really a problem...
Comment 8 norbert2 2005-03-28 18:51:54 UTC
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!
Comment 9 norbert2 2005-03-29 19:11:04 UTC
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.

Comment 10 norbert2 2005-03-29 19:11:42 UTC
Created attachment 24384 [details]
document 2
Comment 11 eric.savary 2005-03-30 13:16:24 UTC
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
Comment 12 openoffice 2005-04-04 10:03:14 UTC
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. :-( 
Comment 13 norbert2 2005-04-05 08:24:49 UTC
But I think it's really worth to fix this bug, also if it is not possible at the
moment ...
Comment 14 ace_dent 2008-05-15 00:06:53 UTC
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 ~
Comment 15 ggs 2008-05-15 17:03:44 UTC
> 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.
Comment 16 eric.savary 2008-05-15 17:20:37 UTC
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.
Comment 17 openoffice 2008-11-24 15:06:50 UTC
ama took over undo
Comment 18 michael.ruess 2010-06-30 09:41:04 UTC
*** Issue 112800 has been marked as a duplicate of this issue. ***
Comment 19 grehtietalders 2010-10-23 15:44:14 UTC
Created attachment 72670
Comment 20 grehtietalders 2010-11-10 16:46:10 UTC
Created attachment 73280
Comment 21 Rainer Bielefeld 2014-11-11 07:20:05 UTC
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