Bug 119401 - Selecting text with hyperlink takes only first letter and tries to move it
Summary: Selecting text with hyperlink takes only first letter and tries to move it
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Hyperlink Selection
  Show dependency treegraph
 
Reported: 2018-08-21 13:01 UTC by david.cortes.rivera
Modified: 2020-07-05 08:34 UTC (History)
2 users (show)

See Also:
Crash report or crash signature: https://crashreport.libreoffice.org/stats/crash_details/2e61f7fb-7f2e-43eb-b9e8-634b500ed4c9


Attachments
file that shows the problem (12.65 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-08-21 13:01 UTC, david.cortes.rivera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david.cortes.rivera 2018-08-21 13:01:10 UTC
Created attachment 144346 [details]
file that shows the problem

If I create some document with a hyperlink in MS word and then open the same document in LO writer, when I try to select the text that has the hyperlink with the mouse, it will, instead of selecting as I move the mouse, select only the first letter and then try to move it to wherever the mouse is moving while holding the click.

Attached is a simple example. In order to reproduce it:
-Open the file with LO Writer.
-Shift the current focus towards the end of the sentence.
-Try to select the word "click" by pointing the mouse at the beginning of it (right before the "c"), clicking it, and moving the mouse to the right while holding the click.

Expected behavior:
-Should highlight and select the word "click" as you move the mouse to the right.

Actual behavior:
-Selects "c", then moves it around. If moving it at first and then doing Ctrl + Z, next time one tries to do the same it behaves as expected.
Comment 1 Dieter 2018-08-21 13:32:13 UTC
Can't reproduce it with

Version: 6.0.6.2 (x64)
Build-ID: 0c292870b25a325b5ed35f6b45599d2ea4458e77
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group

Does an update to LO 6.0.6 solve your problem?
Comment 2 david.cortes.rivera 2018-08-21 13:41:36 UTC
(In reply to Dieter Praas from comment #1)
> Can't reproduce it with
> 
> Version: 6.0.6.2 (x64)
> Build-ID: 0c292870b25a325b5ed35f6b45599d2ea4458e77
> CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
> Gebietsschema: de-DE (de_DE); Calc: group
> 
> Does an update to LO 6.0.6 solve your problem?

Updated to 6.1.0.3 and the problem is still present.
Comment 3 Jacques Guilleron 2018-08-22 10:11:18 UTC
I don't reproduce either with
LO 6.2.0.0.alpha0+ Build ID: 380d0fda99ff664de8443cfc33c7c86bca18134c
CPU threads: 2; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-08-16_23:10:54
Locale: en-US (fr_FR); Calc: CL
Comment 4 david.cortes.rivera 2018-08-22 10:16:32 UTC
(In reply to Jacques Guilleron from comment #3)
> I don't reproduce either with
> LO 6.2.0.0.alpha0+ Build ID: 380d0fda99ff664de8443cfc33c7c86bca18134c
> CPU threads: 2; OS: Windows 6.1; UI render: default; 
> TinderBox: Win-x86@42, Branch:master, Time: 2018-08-16_23:10:54
> Locale: en-US (fr_FR); Calc: CL

Any chance that you could try the linux version?
Comment 5 Timur 2018-08-22 11:04:57 UTC Comment hidden (obsolete)
Comment 6 david.cortes.rivera 2018-08-23 11:18:10 UTC
(In reply to Timur from comment #5)
> Also no repro Win/Lin. 
> Looks more like a mouse issue than bug.
> Please try another mouse or computer.

Tried 2 different mice + the touchpad, and the problem still persists.
Comment 7 Xisco Faulí 2018-08-25 14:19:48 UTC
Reproduced in

Version: 6.2.0.0.alpha0+
Build ID: e78a6c4231cfb33643b45442b786e1e31b2781a8
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: threaded

and with gtk
Comment 8 Xisco Faulí 2018-08-25 14:31:41 UTC
Also reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.10; Render: default; 

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

Note: it happens 2/3 times out of 5...
Comment 9 QA Administrators 2019-09-02 09:26:50 UTC Comment hidden (obsolete)
Comment 10 david.cortes.rivera 2019-09-02 16:50:43 UTC
Bug is still present, but what's worse, now sometimes it crashes Writer instead of just annoyingly moving the text.

Version: 6.3.0.4
Build ID: 1:6.3.0-2
CPU threads: 16; OS: Linux 5.2; UI render: GL; VCL: kde5; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 11 Ayar 2020-07-03 13:54:20 UTC
This bug is still present, I was going to add a bug report but I found this thread instead so I'm reporting it here. As David Cortes points out, Writer crashes when doing the thing.

However to reproduce the it doesn't need to be a selection from the start of the hyperlink.

Version: 6.4.0.3
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: CL