Bug 125557 - Mouse Selection Misbehaves if Last Cell Has Comment
Summary: Mouse Selection Misbehaves if Last Cell Has Comment
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-28 14:52 UTC by Gunter Ohrner
Modified: 2020-11-09 19:03 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file which can be used to reproduce the issue. (8.27 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-05-28 14:52 UTC, Gunter Ohrner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gunter Ohrner 2019-05-28 14:52:51 UTC
Created attachment 151744 [details]
Example file which can be used to reproduce the issue.

(Reproducable at least in LOOL Calc in its incarnation as Collabora CODE 4.0.4.)

1. If I mouse-drag a selection
2. and lift the button on a cell *which has a comment*,
3. the "mouse up" event apparently is not registered
4. and the selection will continue to be expanded / resized
   during further mouse movements, *without the right mouse
   button being pressed*.

This is even more confusing as it will take a second or two after the comment popup disappears, until the selection visible starts changing again.

We noticed this behaviour as it caused a mess-up of a table document we use. :-(



Expected behaviour: If I mouse drag a selection and lift the right mouse button, the selection shall stop changing, no matter if the last cell of the selection has a comment or not.


Please refer to the attached "test case" document: It only has three filled cells, one with a comment. If you select from A1 to A3, stop the mouse, lift the button and then continue moving the mouse, the selection will also continue to follow the mouse after a short delay.
Comment 1 Aron Budea 2019-09-13 04:00:55 UTC
Confirmed.

LOOLWSD master (git hash: f7079c96)
LOKit   LibreOfficeDev 6.4.0.0.alpha0 (git hash: 61b757f)
Comment 2 Gunter Ohrner 2020-11-09 18:16:43 UTC
I cannot reproduce that with LOOL 6.4 any more.

Fixed?



LOOLWSD
6.4.0 (git hash: 2e195e5)
Angeboten von: a5ee88c4

LOKit
Collabora Office 6.4-7 (git hash: 0f7375b)
"Ubuntu 18.04.5 LTS"
Comment 3 Aron Budea 2020-11-09 19:03:11 UTC
Seems so, thanks for retesting, let's close as WFM.