Issue 99278 - Bookmark of the last selected paragraph will not be duplicated when pasting
Summary: Bookmark of the last selected paragraph will not be duplicated when pasting
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 3.0.1
Hardware: PC Windows XP
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2009-02-16 22:04 UTC by leguff
Modified: 2017-05-20 11:15 UTC (History)
2 users (show)

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

Example-Document with a macro demonstratig the problem (8.71 KB, application/vnd.oasis.opendocument.text)
2009-02-16 22:05 UTC, leguff
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description leguff 2009-02-16 22:04:57 UTC
Try the following:
- create a new writer document
- enter 3 paragraphs, let's say

- now insert a bookmark arround WERT in paragraph 2
- select from the start of the document to the Z of QWERTZ so you have a
selection surrounding the created bookmark plus the Z which is not part of the
- press CTRL+C (or do any other thing you want to copy the selected range :-) )
- click to the end of the document and press CTRL+V (paste)
- now open the navigator (e.g. by pressing F5) and check the bookmarks
- you'll see, there is only bookmark "WERT", but no copy of it

If you select the paragraph-break after Z and try this again you'll see the
bookmark will be copied. If you select QWERTZ only and paste it, the bookmark is
also duplicated.
I found that the bookmarks in the last selected paragraph won't be copied.

The problem is also reproducable to using OOo-API using XTransferable.
Comment 1 leguff 2009-02-16 22:05:44 UTC
Created attachment 60212 [details]
Example-Document with a macro demonstratig the problem
Comment 2 eric.savary 2009-02-17 01:36:03 UTC
@MBA: Please have a look.
Comment 3 bjoern.michaelsen 2009-02-23 18:17:49 UTC
confirming issue.
@mba: I might fix this in a followup to swrefactormarks2.
Comment 4 Marcus 2017-05-20 11:15:53 UTC
Reset assigne to the default "".