Bug 115658 - LibreOffice Writer get stuck when I copy a formula+text line
Summary: LibreOffice Writer get stuck when I copy a formula+text line
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-12 17:01 UTC by Piero Chessa
Modified: 2018-03-06 18:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
As requested, a file containing a formula. (9.91 KB, application/vnd.oasis.opendocument.text)
2018-02-15 18:04 UTC, Piero Chessa
Details
Screencast movie of the bug (1.93 MB, video/mkv)
2018-02-20 16:48 UTC, Piero Chessa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piero Chessa 2018-02-12 17:01:07 UTC
Description:
The program get stuck every time that I
1. select a line containing a formula and some text 
2. give the ctrl-C, copy, command

Steps to Reproduce:
1.select a line containing a formula and some text 
2.give the ctrl-C, copy, command
3.

Actual Results:  
The LibreOffice window fades and the program get stuck

Expected Results:
copy the slected line and go on working!


Reproducible: Always


User Profile Reset: Yes



Additional Info:
[Information automatically included from LibreOffice]
Locale: it
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 Piero Chessa 2018-02-12 17:17:36 UTC
Same bug also by simply copying a formula (no text included in the selected string)
Comment 2 Xisco Faulí 2018-02-14 10:02:18 UTC Comment hidden (obsolete)
Comment 3 Piero Chessa 2018-02-15 15:12:21 UTC
I confirm the bug after profile reset
Comment 4 Xisco Faulí 2018-02-15 17:36:50 UTC Comment hidden (obsolete)
Comment 5 Piero Chessa 2018-02-15 18:04:15 UTC
Created attachment 139931 [details]
As requested, a file containing a formula.

The attached file causes my Writer to get stuck.

This is my version:
Versione: 6.0.1.1
Build ID: 1:6.0.1~rc1-0ubuntu0.16.04.1~lo1
Thread CPU: 8; SO: Linux 4.13; Resa interfaccia: predefinito; VCL: gtk2; 
Versione locale: it-IT (it_IT.UTF-8); Calc: group

OS Ubuntu 16.04 LTS
Comment 6 Xavier Van Wijmeersch 2018-02-15 21:05:28 UTC
no repro

Version: 6.0.2.0.0+
Build ID: df72c65fdaf5f1276d1759ba3e7eec83eaaa2d20
CPU threads: 2; OS: Linux 4.14; UI render: default; VCL: kde4; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:libreoffice-6-0, Time: 2018-02-15_02:20:53
Locale: nl-BE (en_US.UTF-8); Calc: group
Comment 7 Xisco Faulí 2018-02-16 11:25:21 UTC
I can't reproduce it in

Version: 6.0.1.1
Build ID: 1:6.0.1~rc1-0ubuntu0.16.04.1~lo1
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

nor in

Version: 6.1.0.0.alpha0+
Build ID: 48d3ff5c498f8f186d4ee72871af379010403442
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

Are you sure it's reproducible if you call LibreOffice like 'soffice --safe-mode
' ?
Comment 8 Piero Chessa 2018-02-16 11:54:13 UTC
Re-tested in safe mode. I confirm the bug
Comment 9 Xisco Faulí 2018-02-20 10:27:38 UTC
Does it happen if you call LibreOffice like SAL_USE_VCLPLUGIN=gen soffice ?
Comment 10 Piero Chessa 2018-02-20 14:42:05 UTC
I called SAL_USE_VCLPLUGIN=gen soffice and tried.
The bug persists.

Maybe should I add that everything works fine if I select the formula as an object (by clicking on it) and then copy it. The bug is generated only when I try to copy a formula which is anchored to the textline and selected as a piece of text.
I tested and confirm this behaviour in the three (standard, safe and SAL_USE_VCLPLUGIN=gen) modes.
Comment 11 Xisco Faulí 2018-02-20 14:44:40 UTC
(In reply to Piero Chessa from comment #10)
> I called SAL_USE_VCLPLUGIN=gen soffice and tried.
> The bug persists.
> 
> Maybe should I add that everything works fine if I select the formula as an
> object (by clicking on it) and then copy it. The bug is generated only when
> I try to copy a formula which is anchored to the textline and selected as a
> piece of text.
> I tested and confirm this behaviour in the three (standard, safe and
> SAL_USE_VCLPLUGIN=gen) modes.

Could you please create and attach a screencast showing the steps?
There are various free screencast software available for use, including Camstudio (Windows), Jing (Mac), Simple Screen Recorder (Linux) or screencast-o-matic.com (Web).
Comment 12 Piero Chessa 2018-02-20 16:48:46 UTC
Created attachment 140019 [details]
Screencast movie of the bug

Here is a screencast documentation of object copy working fine vs text copy going stuck
Comment 13 Timur 2018-02-22 15:36:48 UTC
Also no repro in Ubuntu 16.04 x64. 
Piero, if you don't figure out the problem, others are not likely to do it.
Comment 14 Piero Chessa 2018-02-23 18:26:06 UTC
After some testing I found:
same bug when I select and copy
- any OLE object anchored as a character
- an anchored text box

On the other hand the bug doesn't arise when I select and copy
- an anchored shape
- an anchored frame
- an anchored fontwork
- a comment
- a footnote pointer

Meanwhile I have uninstalled and reinstalled the whole suite
Comment 15 Piero Chessa 2018-03-06 18:10:04 UTC
Bug is solved in update 6.0.2.1
Comment 16 Xisco Faulí 2018-03-06 18:35:44 UTC
(In reply to Piero Chessa from comment #15)
> Bug is solved in update 6.0.2.1

Thanks for retesting with the latest version.
Setting to RESOLVED WORKSFORME as the commit fixing this issue hasn't been identified.