Bug 1688704 - Zotero makes LibreOffice crashes whenever it tries to update the citations within the documents
Summary: Zotero makes LibreOffice crashes whenever it tries to update the citations wi...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: 29
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-14 09:31 UTC by Aznar
Modified: 2019-08-07 07:42 UTC (History)
4 users (show)

Fixed In Version: Zotero, 5.0.72
Clone Of:
Environment:
Last Closed: 2019-08-07 07:42:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
recording (2.12 MB, video/webm)
2019-03-14 12:18 UTC, Caolan McNamara
no flags Details
Example of a crash (8.18 MB, video/webm)
2019-03-14 12:49 UTC, Aznar
no flags Details

Description Aznar 2019-03-14 09:31:04 UTC
Description of problem: When Zotero tries to update the references from a .odt document opened with LibreOffice-writer, it freezes (without any error message).
It happens at the same time Libreoffice/Zotero asks if we want to update the text of the bibliographic reference.

Version-Release number of selected component (if applicable): 

Libreoffice Writer : Build ID: 6.1.5.2-2.fc29
Zotero : 5.0.61
How reproducible: Everytime

Steps to Reproduce:
1. Open a new Libreoffice Document
2. Start Zotero
3. Insert a reference in to the new document
4. Change the text of the reference in the new document
5. Insert a bibliography in that document
6. Libreoffice/zotero askes if we want to update the reference's text or keep it, and freezes.

Actual results:
Libreoffice freezes.


Expected results:
Updating the documents' references

Additional info:
I've reported the issue to Zotero's forum but a developer thinks it has more to do with Fedora and it's packaging of Libreoffice and its dependencies than Zotero :

https://forums.zotero.org/discussion/comment/328244#Comment_328244

Comment 1 Caolan McNamara 2019-03-14 10:05:23 UTC
a) can you give the third line of libreoffice's help->about, so I can see what vcl plug in in use

b) wrt...
"
3. Insert a reference in to the new document
4. Change the text of the reference in the new document
5. Insert a bibliography in that document
6. Libreoffice/zotero askes if we want to update the reference's text or keep it, and freezes.
"

can you give the exact step by step, with menu entry names etc, guide to reproduce

Comment 2 Aznar 2019-03-14 10:39:52 UTC
a) Version: 6.1.5.2
Build ID: 6.1.5.2-2.fc29
Threads CPU : 4; OS : Linux 4.20; UI Render : GL; VCL: gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group threaded

b)
1) Start Zotero
2) Start Writer
3) Click on Zotero's icon to insert a reference
4) Select a reference and click on Ok.
5) Click on the button Insert a bibliography and validate
6) Modify the text associated with zotero's tag within the text.
7) Save the document and quit
8) Open again the document with LibreOffice
9) Click on Refresh the references
10) The LibreOffice's interface freezes with a loading window being displayed from Zotero.

Ps : what wrt stands for ?

Comment 3 Caolan McNamara 2019-03-14 12:18:01 UTC
Created attachment 1544039 [details]
recording

Comment 4 Caolan McNamara 2019-03-14 12:26:56 UTC
A recording above of my effort

1) Start Zotero
2) Start Writer
3) I have "Add/Edit Citation", I presume that's the right one
4) Select a reference and click on ok
5) I have "Add/Edit Bibliography" ("and validate"? is there a missing step I've left out here)
6) I changed some text in the inserted bibliography as in the video (is that what you mean?)
7) Saved, closed the doc (In another run I closed libreoffice and restarted it)
8) Reopened it
9) Clicked on Refresh
10) bibliography refreshed, no freeze for me

Have I left out a step ? or done something different from what freezes for you ?
Perhaps it matters how many citations are in use or needs a more complicated document structure ?

(wrt, with respect to)

Comment 5 Aznar 2019-03-14 12:47:28 UTC
It's almost that except the step 6) where you should modify the text with the gray background, the textual reference to the bibliography.

«Bla bla bla» (Eistein, 2019)

=> «Bla bla bla» : said Eistein (2019)

Comment 6 Aznar 2019-03-14 12:49:11 UTC
Created attachment 1544044 [details]
Example of a crash

This time, there isn't any message being displayed by the "Zotero integration"'s window, nut usually, there is a 'yes/no' question about whether we want to update the modified citations.

Comment 7 Ben Cotton 2019-05-02 19:47:14 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Ben Cotton 2019-05-28 23:47:16 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 Aznar 2019-05-29 09:04:27 UTC
The problem is still valid for Fedora 29. I guess it has to do with VCL.

Comment 10 Caolan McNamara 2019-05-29 10:34:09 UTC
never got a chance to look at this properly, but feel pretty sure that "has more to do with Fedora and it's packaging of Libreoffice and its dependencies than Zotero" is just idle slander

Comment 11 Aznar 2019-08-07 07:42:18 UTC
Last update of Zotero, 5.0.72, fixed this issue. It had definitely something to do with Zotero and not with Libreoffice nor Fedora...

(I couldn't find the appropriate Status, so I put Closed / Upstream which seems the more suitable.)


Note You need to log in before you can comment on or make changes to this bug.