Bug 137402 - Can't select some body text with the mouse, when a comment exists
Summary: Can't select some body text with the mouse, when a comment exists
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 97884 (view as bug list)
Depends on:
Blocks: Selection Multi-Page-View
  Show dependency treegraph
 
Reported: 2020-10-12 01:29 UTC by Luke Kendall
Modified: 2021-08-10 03:13 UTC (History)
4 users (show)

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


Attachments
Very short sample document (86.89 KB, application/vnd.oasis.opendocument.text)
2020-10-12 01:29 UTC, Luke Kendall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Kendall 2020-10-12 01:29:54 UTC
Created attachment 166280 [details]
Very short sample document

Some words in the body of a document cannot be selected, while other words near them can.
Attempting to select portions of the text via the mouse, sets the insertion point to the the chapter heading (or, in the sample document I've provided, it sets it to the footer of the first blank page), and won't allow drag selection or double click selection of many parts of the text.

Some selections can be performed by the arrow keys.

If I delete the comment on the first paragraph, the text can all be selected as usual.

In the sample document, in the following text, I cannot select the words "She flung", "Instantly, confusion", "she reached out", and more.  Basically, it appears that I can't select any of the text near the left of the page.

Some of the sample text:

She flung herself out into welcoming darkness.  Free!
Instantly, confusion overwhelmed relief.  Floating now, she reached out aching fingers to a splinter of crystal, glinting as it spun.  One touch sent it twisting away into a gathering wind.

Please note that this is an excerpt from my new book, so the text is copyright, but I'm happy to grant full use of the text for the purpose of investigating and fixing this bug.
Comment 1 Ming Hua 2020-10-12 01:51:16 UTC
Can not reproduce under Windows 10:
Version: 6.4.6.2 (x64)
Build ID: 0ce51a4fd21bff07a5c061082cc82c5ed232f115
CPU threads: 2; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: zh-CN (zh_CN); UI-Language: en-US
Calc: threaded

With the attached sample document, I can select "She flung" as well as "Instantly, confusion" just as normal.  So probably Linux-specific.

Luke, it would be helpful if you can provide the detailed version information of your LibreOffice like above, which is available in the Help > About LibreOffice dialog, and can be selected and copied.
Comment 2 Luke Kendall 2020-10-12 02:33:08 UTC
Thanks, Ming.

Version: 6.4.6.2
Build ID: 1:6.4.6-0ubuntu0.20.04.1
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-GB (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
Comment 3 Kevin Suo 2020-10-12 08:17:23 UTC
I do not reproduce in:

Version: 6.4.6.2
Build ID: 0ce51a4fd21bff07a5c061082cc82c5ed232f115
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3; 
Locale: zh-CN (zh_CN.UTF-8); UI-Language: en-US
Calc: threaded

Fedora 32
Comment 4 samarthupadhya2309 2020-11-07 12:46:58 UTC
Thank you for reporting the bug. I can not reproduce the bug in

Version: 7.1.0.0.alpha1+
Build ID: 54daa022df46d07171201b3fe236cf3f5726e271
CPU threads: 6; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-11-05_16:52:13
Calc: threaded
Comment 5 Justin L 2020-12-24 07:39:02 UTC
I can reproduce the bug in 7.2+, 7.1 bibisect etc, all the way back to LO 3.5 in bibisect-linux-43all, which is the earliest I can test.
Also reproduced on Windows XP with version 5.4.

The key to reproducing is that you need to be seeing TWO pages on the screen, not just one. So reduce the zoom or whatever it takes to see two-page-view.
Comment 6 Justin L 2020-12-24 07:39:21 UTC
*** Bug 97884 has been marked as a duplicate of this bug. ***
Comment 7 Ming Hua 2020-12-24 10:57:05 UTC
(In reply to Justin L from comment #5)
> The key to reproducing is that you need to be seeing TWO pages on the
> screen, not just one. So reduce the zoom or whatever it takes to see
> two-page-view.
Good catch.  I can indeed reproduce now.

To further clarify, one needs to be in "Multi-page view" mode, and has two pages displayed *left and right* to reproduce.  Merely having two pages shown up and down in the window doesn't work.
Comment 8 Aron Budea 2021-08-10 03:13:38 UTC
Already in LO 3.3.0.