Bug 61249

Summary: EDITING: Text range attached to comments is displayed in different colors, if range passes a paragraph boundary
Product: LibreOffice Reporter: Theo <tczillay>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: courrier.oou.fr.mjk, harald.koester
Priority: medium    
Version: 4.0.1.1 rc   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Screenshot of the changed background of lines in WRITER LO4.0
Screenshot of the changed background of lines in WRITER LO4.0
weired things with the header/footerline inserting comments in writer

Description Theo 2013-02-21 20:13:35 UTC
Created attachment 75267 [details]
Screenshot of the changed background of lines in WRITER LO4.0

when I insert a comment on a passage of about 10 lines, the background of lines changes from yellow (my preferred color) to a grey-blue on the top. On the upper edge, there are lines like cutted.
Comment 1 Theo 2013-02-21 20:18:56 UTC
Created attachment 75268 [details]
Screenshot of the changed background of lines in WRITER LO4.0

sorry, got the wrong type
Comment 2 Harald Koester 2013-02-22 13:15:42 UTC
I can confirm this. See step 5 of 

https://bugs.freedesktop.org/show_bug.cgi?id=60769#c5
Comment 3 Theo 2013-02-22 15:21:42 UTC
Created attachment 75324 [details]
weired things with the header/footerline inserting comments in writer
Comment 4 Theo 2013-02-22 15:22:05 UTC
Problem is not fixed in LO 4.0.1.1 yet.
also the problem, that saving the document with these comments in yellow/blue are splitted.

commetns make also funny things with the header/footer-line :-)
Comment 5 Harald Koester 2013-04-09 13:14:37 UTC
Additional info:

This bug occurs if a comment is attached to a text range which begins and ends in different paragraphs. The first part of the text range is marked in the colour of field shadings (Options > LibreOffice > Appearance > Text Document > Field shadings). 
Expected: Yellow, like the last part of the text range.

BTW is it possible to change the background colour of this type of text ranges?

And BTW, if you delete a comment attached to a text range and undo this action, the text range is lost.
Comment 6 manj_k 2013-04-09 14:51:10 UTC
That works for me (on WinXP 32b) with
LibO-Dev 4.0.3.0+ (Build ID: 2c40a112923bf1c4441ea76bb8fe3a7a8aa10be)[2013-04-01], 
due to fixed 'Bug 53442 - VIEWING: Text range annotation limited to a single paragraph'.

*** This bug has been marked as a duplicate of bug 53442 ***