Created attachment 86549 [details] Example writer document Menu Edit - Index Entry: I deleted the actual index entry at the cursor, then I clicked to the <- arrow in the dialog box a lot of times (step to the previous index entry). Writer always steped to that, but deleted the index entries: 1 click deletes 1 index entry.
Created attachment 86550 [details] Example Writer document
Thank you for your feedback. I tried to reproduce this bug (Windows 7, LibreOffice 4.0.5.2) and didn't showed what going wrong. Do you expect that Writer delete each index entries touched when the <- arrow is used? What do you want to say with "Writer always steped to that"? That previous versions did that? Clarifications needed. Maybe, could you rewrite your bug report with : - How to reproduce the bug ? (write each steps) - What is happening ? - What do you expected to happen? Thank's
BugTriage : - No duplicated bug fouded (keywords = "index entry") - Problem description didn't appear clear. More info needed. - Status changed to "NeedInfo"
This error is not happen in the previous versions (3.5, 3.6). Steps: Open a document with a lot of index entryes, for example my attachment. Set on the index entry highlighting, if already do not set. You see the index entryes with gray background color. Move the cursor to the end of an index entry at the middle of the document. Menu Edit - Index entryes. Delete the actual index entry: click to the button "Delete". Step to the previous index entry: click to the button "<-". Repeat the stepping some times. Writer always steps to the previous index entry, and there is a gift or encore: Writer always deletes the actual index entry. For example, if you clicked 4 times to the button "<-", Writer deleted 4 index entries. The highlighting disappeared, and if you refresh the index, the entries disappered from the index.
A correction (I can not edit the text): Move the cursor to the BEGIN of an index entry at the middle of the document.
I have tried the manip on my Windows 7 / LO 4.0.5.2 system. I have the following : - when the cursor is just after the very last character of the index entry, I can't get then Edit/Index menu (greyed either in either the popup menu or the main edit/index... menu) - when the cursor is at the beginning or the middle of the index entry, the problem doesn't occur. How do you manage to "Move the cursor to the end of an index entry" and still have the menu ?
Created attachment 87433 [details] Example document (search push_macro) The error does not happen all times. Open the NEW attachment Set on the entry highlighting (menu View, Ctrl+F8 makes this on/off) Search for push_macro Move the cursor to the begin of the word push_macro Menu Edit - Index Entry (if this is not choosable, try moving the cursor left or right, because of an index entry is a zero-wide character) Click to the button <- some times All click deletes an index entry. For example, if you clicked 4 times, Writer deleted 4 index entries.
OK, reproductible. Now I suggest that you have a glance at the result of multiple Undos after the test : index entries are restored, but tied with the first visible character of the corresponding word, and without any grey background. Re-playing the test results in the deletion of this first characters, also in the forward way. For me, this tips in favor of a corruption of internal Writer data related to index entries.
*** Bug 70825 has been marked as a duplicate of this bug. ***
Could not reproduce. Windows Vista 64 Version: 4.4.2.2 Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6 Changed to RESOLVED WORKSFORME.
> Could not reproduce. But shouldn't you try to reproduce (in time) with the version where the defect was reported? Also the problem might have been fixed in an earlier version than 4.4.2.2.
Could not reproduce in 4.1.6.2 portable.