Issue 77357

Summary: relative position of bookmarks get lost, if two bookmarks are ending at the same position and text is inserted into one bookmark
Product: Writer Reporter: clutz <chrlutz>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: baumux, chris_mux, cno, issues, mux2005
Version: OOo 2.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description clutz 2007-05-14 17:08:40 UTC
Assume there are two bookmarks A and B, both ending at the same position:

<aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>
             <bbbbbbbbbbbbbbbbbbbbb>

Now marking bookmark B (e.g. via the navigator) and writing some text destroys
the realtive position of the two bookmarks and the end-point of A gets moved to
the beginning of B - like this:

<aaaaaaaaaaa>
             <bbbbbbbbbbbbbbbbbbbbb>

If bookmark A previously inclosed bookmark B, the bookmark A should also inclose
B after the user inserted some text into bookmark B. I would expect the
following relative positions:

<aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>
             <bbbbbbbbbbbbbbbbbbbbb>

Here is how to reproduce:

1) create a new writer-document
2) type the following text: "aaaabbbb"
3) mark the complete text "aaaabbbb" and insert a new Bookmark called "A"
(Insert->Bookmark)
4) mark the textportion "bbbb" and insert a new Bookmark called "B"
5) open the navigator (F5) and select bookmark A
6) select Bookmark B
7) type some text
8) now select Bookmark A again. The end-position of a gets moved to the
start-point of B. In my view A should also end with bookmark B.
Comment 1 michael.ruess 2007-05-15 06:53:00 UTC
Reassigned to ES.
Comment 2 eric.savary 2007-08-22 14:04:23 UTC
@OD: Please have a look
Comment 3 Oliver-Rainer Wittmann 2007-09-07 07:56:30 UTC
OD->AMA: Please take over as discussed.