Bug 165883 - Double-clicking and dragging doesn't mark text under mouse pointer
Summary: Double-clicking and dragging doesn't mark text under mouse pointer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-23 20:24 UTC by daniel.schaaaf
Modified: 2025-04-14 00:24 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Mark and drag does only work for Writer text but not other LO components or text boxes (115.37 KB, image/gif)
2025-03-23 20:25 UTC, daniel.schaaaf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description daniel.schaaaf 2025-03-23 20:24:23 UTC
Description:
Universally, double-clicking a word does mark the whole word. Dragging the mouse pointer while holding the double-click will mark all full words from the originally marked word up to the word under the mouse pointer. Writer text, and even Windows Explorer or Notepad behave like this. Other LO components and Writer text boxes do break this behaviour and just don't do anything (see attached GIF).

This seems to be a bigger issue that affects LO behaviour in general. Writer does behave as expected from legacy LO and other Windows software, but other LO components and text boxes in Writer behave in an unexpected way. See bugs 165880 and 165877.

Steps to Reproduce:
1. Type several words of text into Calc or any text box.
2. Double-click and hold the first word.
3. Drag the mouse pointer towards the right, over the following words.

Actual Results:
The originally double-clicked word gets marked, but not the other words.

Expected Results:
All full words from the originally marked word up to the word under the mouse pointer should be marked.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 16; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL threaded
Comment 1 daniel.schaaaf 2025-03-23 20:25:16 UTC
Created attachment 199983 [details]
Mark and drag does only work for Writer text but not other LO components or text boxes
Comment 2 Juan Q. 2025-03-24 00:35:15 UTC
Hello Daniel,

Thank you for reporting the bug. I can confirm that the bug is present in latest stable windows version and master.

Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1d8ff7bd62249ad0f825eaca18ea524d9d7c6c2e
CPU threads: 12; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Double clicking and holding to drag and mark words is not consistent in cal or textboxes. 

Changing status to NEW
Comment 3 Brandon H. 2025-03-24 00:49:18 UTC
I can also confirm that this bug is present in Linux as well.

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7b9e27da2033192c628b23e4e1686209e951dadb
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 Brandon H. 2025-04-14 00:24:27 UTC
I tried bibisecting repos win32-5.4, win32-6.1, win64-7.6, win64-24.8, win64-25.2, but they all reproduce the bug when checking the oldest and master commit. I can't check previous repos due to a slow download speed.