Download it now!
Bug 132192 - A comment at end of the line isn't included in a mouse selection
Summary: A comment at end of the line isn't included in a mouse selection
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, implementationError
Depends on:
Blocks: Writer-Comments
  Show dependency treegraph
 
Reported: 2020-04-17 13:28 UTC by Telesto
Modified: 2020-06-30 12:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (9.48 KB, application/vnd.oasis.opendocument.text)
2020-04-17 13:29 UTC, Telesto
Details
Screencast (171.98 KB, video/mp4)
2020-04-21 12:43 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-04-17 13:28:35 UTC
Description:
Comment at the end of a line can't be move with drag/drop 

Steps to Reproduce:
1. Open the attached file (source: bug 98442)
2. Drag the part with the comment to a different area; comment should with the text

Actual Results:
Doesn't work

Expected Results:
Should work


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 4475bcd83aac7e033fc5250f268eb922bd471e7b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

but not in 
3.5.7
Comment 1 Telesto 2020-04-17 13:29:11 UTC
Created attachment 159659 [details]
Example file
Comment 2 Dieter 2020-04-21 11:41:36 UTC
I can't confirm it with

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 1c9ced04189c9d23ffea05d5570960b54b05ef28
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: CL

You can mark text without the comment or with the the comment.
Comment 3 Telesto 2020-04-21 12:43:55 UTC
Created attachment 159785 [details]
Screencast
Comment 4 Dieter 2020-04-21 13:09:49 UTC
You don't include the comment in your selection. Put the cursor at the end of the paragraph. Move with right arrow to the right (appearance of the comment line changes). Now select text with arrow to the left.

I think the problem is, that there is no way to mark a comment at the end of a paragraph with the mouse (haven't tried with touchpad).
Comment 5 Telesto 2020-04-21 13:52:40 UTC
The mouse selection did work in 3.5.7
Comment 6 Telesto 2020-04-24 21:18:29 UTC
Also in
Versie 4.0.0.3 (Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89)
Comment 7 Buovjaga 2020-06-08 15:55:11 UTC
Bibisected with Linux 43all to range https://git.libreoffice.org/core/+log/06f20d73da21342046a480a6b22af69901351328..51065497ea83e90764860784dc6e193faaf0d673

Has SwPostItField related commits.

Adding Cc: to Miklos Vajna
Comment 8 Miklos Vajna 2020-06-30 12:14:32 UTC
I'm not sure this is a bug. Try the same with bookmarks, currently the annotation mark and bookmark behavior is consistent: neither of them is moved if you drag the selection that is exactly the range of the mark.

I think the above commit started to expose this behavior for comments, as before comments with a text range did not share code with bookmarks.