Bug 139673 - EDITING: Selection of words by double click and mouse move in Calc comments
Summary: EDITING: Selection of words by double click and mouse move in Calc comments
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Selection
  Show dependency treegraph
 
Reported: 2021-01-16 10:26 UTC by Roland Kurmann
Modified: 2022-04-13 01:10 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Kurmann 2021-01-16 10:26:51 UTC
Description:
Calc does not support selecting several words in comments by double clicking a word and then moving the mouse to select other words. This behavior is supported by Writer and many other editors. Calc should support word selection in comments as well.

Behavior in Writer test:

1. Paste "Lorem ipsum dolor sit amet, consectetur adipisici elit" in a Writer document.
2. Double click the word "ipsum" -> the word "ipsum" is selected
4. Move the cursor over "dolor" -> "ipsum dolor" is selected
5. Move the cursor over "sit" -> "ipsum dolor sit" is selected

Steps to Reproduce:
0. Open a Calc spreadsheet.
1. Add a comment to a cell.
2. Paste "Lorem ipsum dolor sit amet, consectetur adipisici elit" into the cell comment.
3. Double click the word "ipsum" -> the word "ipsum" is selected
4. Move the cursor over "dolor"
-> "ipsum dolor" is not selected, only "ipsum" is selected
5. Move the cursor over "sit"
-> "ipsum dolor sit" is not selected, only "ipsum" is selected

Actual Results:
Only one word is selected in comment

Expected Results:
Several words are selected in comment


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.3.1
Build ID: 00(Build:1)
CPU threads: 4; OS: Linux 5.3; UI render: GL; VCL: kf5
Locale: de-CH (en_US.UTF-8); UI: de-DE
Calc: threaded
Comment 1 Roman Kuznetsov 2021-07-30 14:45:32 UTC
Roland, are you sure in this:

1. Paste "Lorem ipsum dolor sit amet, consectetur adipisici elit" in a Writer document.
2. Double click the word "ipsum" -> the word "ipsum" is selected
4. Move the cursor over "dolor" -> "ipsum dolor" is selected
5. Move the cursor over "sit" -> "ipsum dolor sit" is selected

??? I'm not

I see on step 3 that it still selected only "ipsum". After double click on one word I get selected the word and if I move the cursor to another word I still have selected only the one word.

I use

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ac80ec817eb07c77a51bc0729985a473c734182e
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

may be we have another behavior in vcl:kf5 ???
Comment 2 Roland Kurmann 2021-07-30 18:33:21 UTC
Hi Roman

The selection steps in writer work for me also in

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 0f4b14a806b4952da79c7b5b22298e8c8306107c
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: x11
Locale: de-CH (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.1.5.2 (x64) / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 1; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-CH (de_CH); UI: en-US
Calc: threaded

So, not specific to vcl:kf5.

Maybe, I should clarify that the cursor movement is by mouse.
Comment 3 stragu 2022-04-13 01:07:51 UTC
Roman, maybe you tested in Calc and not in Writer?
Calc missing this feature is Bug 127183. I thing that bug definitely needs to be fixed before or at the same time as this bug here: would be weird to have this kind of selection supported in comments but not in the cell!

Confirmed in:

Version: 7.3.2.2 / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

and also:

Version: 6.4.7.2
Build ID: 1:6.4.7-0ubuntu0.20.04.4
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded

but I assume this is inherited from OOo.
Comment 4 stragu 2022-04-13 01:10:03 UTC
(To clarify my comment above: Roman, maybe you tested the working multi-select behaviour in a Calc cell rather than in a Writer document, which is what Roland used to demonstrate the expected behaviour.)