Issue 120206 - Mark for index entries can become separated from the text
Summary: Mark for index entries can become separated from the text
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: 3.4.0
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2012-07-06 00:26 UTC by Will Pittenger
Modified: 2013-02-07 03:01 UTC (History)
2 users (show)

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


Attachments
Demostration of what could happen (7.84 KB, application/vnd.oasis.opendocument.text)
2013-02-07 02:50 UTC, Will Pittenger
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Will Pittenger 2012-07-06 00:26:30 UTC
I also noticed it is possible to cause the mark for the index entry (in the text) to end up no where near the text it is supposed to be associated with.  Suppose I add "text" on page X.  Writer now shows "_text" where the underscore is the mark for the index entry.  Now assume that add something between the mark and the text.  So I get "_junk in front of text".  Assume that the word I originally indexed is now on a different page from the mark.

This is why I think Writer needs to store not just the start of the entry, but the end too.  If the user attempts to change the text between the start and end, Writer would ask the user what to do.
Comment 1 Javier Lopez 2013-02-07 02:45:14 UTC
Hello

Could you explain clearly your problem, I do not understand. Please give me the steps and a document attached

Javier Lopez
Comment 2 Will Pittenger 2013-02-07 02:50:57 UTC
Created attachment 80215 [details]
Demostration of what could happen

Examine the attached file.  I added an index mark for the word "tests", but changed the index entry to "test".  I then copied the entire sequence to a later line.  However, in that line, I put an extra "t" in between the mark and the word "tests".  Now, it is possible for the mark to end up on another page from the text it supposed to be with.
Comment 3 Will Pittenger 2013-02-07 02:51:36 UTC
(In reply to comment #2)
> Created attachment 80215 [details]
> Demostration of what could happen
> 
> Examine the attached file.  I added an index mark for the word "tests", but
> changed the index entry to "test".  I then copied the entire sequence to a
> later line.  However, in that line, I put an extra "t" in between the mark
> and the word "tests".  Now, it is possible for the mark to end up on another
> page from the text it supposed to be with.

Oops.  I changed the extra "t" into a space, but forgot to change what I typed.
Comment 4 Javier Lopez 2013-02-07 03:01:56 UTC
Ok. I have it