Apache OpenOffice (AOO) Bugzilla – Issue 121897
Multiple undo/redo operation erase first letter on nearby indexed words
Last modified: 2017-05-20 10:35:33 UTC
Created attachment 80405 [details] Collection of 6 screenshots and two .odt files. Finally, after more than two years I catch predictable pattern how to reproduce this serious problem if you are going to add index tags in your text. Bug is continuously present at least from version 3.2, and it is still here. Please find in attachment, 6 step how to reproduce it and original (index_err.odt) and modified document (index_err_final.odt). I'll really appreciate anyone how will take a time to inspect what is going on, since it cost me until now lots of suffering, pain and time for proof reading. Many thanks!
Created attachment 80426 [details] STEP1 - preview of original text (index_err.odt)
Created attachment 80427 [details] STEP2 - text selection is made ready for moving
Created attachment 80428 [details] STEP3 - selected text is now on new location
Created attachment 80429 [details] STEP4 - selected text is moved back by using 'Undo' option
Created attachment 80430 [details] STEP5 - text is moved once again using 'Redo' option
Created attachment 80431 [details] STEP6 - preview of saved text with visible damages (index_err_final.odt)
Created attachment 80432 [details] Original text document used for screenshots
Created attachment 80433 [details] Saved text that contain errors
Please describe how exactly the indexes were defined.
Created attachment 80458 [details] STEP1 - add new index
Created attachment 80459 [details] STEP2 - define new index entry
Created attachment 80460 [details] STEP3 - new index has been added
(In reply to comment #9) > Please describe how exactly the indexes were defined. Please find in attachment new added screenshots.
Created attachment 80463 [details] Original text reproduced Rewritten using Rev. 1400866, the phenomena described by the originator can not be reproduced.
Undo redo operations won't cause the alleged bug.
Thanks elish for quick response. I'm asking you a little more attention. I forgot to highlight an important detail: changes in indexed words become visible next time when you open saved changes. You cannot see any change (and that's why I had so many trouble to identify this problem) if you did not close a file after save and open it again. If that still cannot help you to reproduce this problem please let me know which version you are using since I tried it again with your sample document using v.3.4.1.
Created attachment 80466 [details] File derived from index_no_problem.odt
This is strange. I did close and reopen index_no_problem.odt before attaching here. From index_no_problem2.odt I see the word models is problem, unlike original file where words mirror and better - the bug is inconsistent. I am using Rev. 1400866.
I can reproduce the problem too on Rev. 1457731. In my opinion, <text:alphabetical-index-mark text:string-value="Mirror"/> bites the following character but not happen with the parts wrapped with text:alphabetical-index-mark-start and end tags. In the attached screen shot, last "Simulation" part is correct even the index mark is there just before the word. Maybe this is because it was in the modified range. So, it seems non ranged index mark has the problem?
Please let me know do you need any additional assistance from my side since I can reproduce that bug every time.
Seems it is reproduce-able on my local env: Win XP, AOO 4.0 dev snapshot.
Created attachment 80658 [details] Simplified Sample file
I will take this issue.
"zhengfan" committed SVN revision 1483640 into trunk: i121897, change the hints clearing method from RstAttr to clearSwpHhints.
Fixed in R1483640.
verified using info@envox.hr description (error reproducible on openoffice 3.4) all works fine on OS X 10.8.4 AOO400m3(Build:9702) - Rev. 1499347 2013-07-03 14:06:53 (Wed, 03 Jul 2013) an on windows 8 AOO400m3(Build:9702) - Rev. 1499347 2013-07-03 15:11:47 (Mi, 03 Jul 2013)
closing in order to be able to reopen it
reopening. the fix triggers bug 123389. Thus, I reverted the fix and provide an alternative solution which does not cause bug 123389. The solution has been committed for bug 123389. Thus, further verification needed for the next release
solved by alternative solution - see bug 123389
Verify AOO410m1(Build:9750) - Rev. 1570848 on windows7 , Pass