Issue 99538

Summary: Bookmarks won't be copied if just selected
Product: Writer Reporter: hawkhunter2002 <helmut.gruber>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, mathias
Version: OOo 3.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Bookmark_Sender File 1 of 2
none
Bookmark_Receiver File 2 of 2 none

Description hawkhunter2002 2009-02-23 14:55:57 UTC
try the following:
- create two new writer documents
- enter some text like
Bookmark 1 only one Paragraph

Bookmark 2 
with some
Paragraphs 

- now insert two bookmarks one arround “Bookmark 1 only one Paragraph†in 
paragraph 1 and second arround the following paragraphs
- create a second Document like the first one
- open the Navigator on both Documents 
- in the first Document select the Text of the second Bookmark by Clicking
double on the Bookmarkname in the navigator.
- press CTRL+C (or do any other thing you want to copy the selected range :-) )
- change to the second document and again select the Text of the second Bookmark
by Clicking double on the Bookmarkname in the navigator and then press CTRL+V
(paste) to insert the text
- now check the bookmarks
- you'll see, the second Bookmark is not longer wrapped arround your text.


The Problem seems to be the Paragraph-Breaks.

The problem is also reproducable to using OOo-API using XTransferable
Comment 1 michael.ruess 2009-02-23 17:36:10 UTC
MRU->OS: when a bookmarked text is selected by e.g. double clicking the bookmark
in the Navigator and copying to clipboard, then the bookmark information will be
lost when the content is pasted anywhere else.
Comment 2 bjoern.michaelsen 2009-02-23 18:20:19 UTC
This might be a duplicate of 99278. Or at least the same root cause.
Comment 3 hawkhunter2002 2009-02-24 07:17:08 UTC
Created attachment 60419 [details]
Bookmark_Sender File 1 of 2
Comment 4 hawkhunter2002 2009-02-24 07:18:06 UTC
Created attachment 60420 [details]
Bookmark_Receiver File 2 of 2
Comment 5 hawkhunter2002 2009-02-24 07:23:06 UTC
Example-Documents with a macro demonstratig the problem
Store the files in the same folder open the Bookmark_Receiver.odt and run the
macro twice or more.
You will see the real Problem the macro add more and more text becaus of the
Problem 
Comment 6 Marcus 2017-05-20 11:19:49 UTC
Reset assigne to the default "issues@openoffice.apache.org".