Bug 138094

Summary: Comments attached to captions are misplaced - show up too high.
Product: LibreOffice Reporter: TorrAB
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: buzea.bogdan, dgp-mail, jluth
Priority: medium Keywords: preBibisect
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 106179    
Attachments: file with misplaced comment
screenshot of comments
captionComment2.odt: comment is placed high, not directly across from anchor.

Description TorrAB 2020-11-09 17:01:04 UTC
Description:
In cmntHigh.odt, comment ‘*,Sol’ is placed too high; it should be closer to Fig·10. To achieve this:
	**delete ‘*,Sol’ (^x), hit Esc, comment disappears —OK;
	**with cursor at ‘Fig·10’, insert new comment (~^c): comment reopens where it was!
	Conclusion: user should be able to position a comment (by dragging it?).


Steps to Reproduce:
1.delete comment
2.insert comment
3.

Actual Results:
comment reopens where it was

Expected Results:
comment should open near its anchor


Reproducible: Always


User Profile Reset: No



Additional Info:
none
Comment 1 TorrAB 2020-11-09 17:03:39 UTC
Created attachment 167148 [details]
file with misplaced comment
Comment 2 TorrAB 2020-11-09 17:09:59 UTC
Created attachment 167149 [details]
screenshot of comments
Comment 3 Dieter 2020-11-24 08:10:29 UTC
Attached document has only two visible comments. Navigator shows four comments, but I can see only two of them. Could you please recheck?

An alternative idea is, that LO should place comments in the same order as text the refer to. What do you think?

=> NEEDINFO
Comment 4 Justin L 2020-11-30 08:01:47 UTC
Likely inherited from OOo.
Comment 5 Justin L 2020-11-30 08:03:04 UTC
Created attachment 167665 [details]
captionComment2.odt: comment is placed high, not directly across from anchor.
Comment 6 Justin L 2023-05-17 14:33:43 UTC
repro 7.6+
as comment 5's example shows, the comment from a caption can even come before comments placed in the normal text above it.