We have moved to a new Sailfish OS Forum. Please start new discussions there.

Word document with table containing hyperlink kills document-reader app

Tracked by Jolla (In release)

asked 2019-08-23 11:18:47 +0300

AkiBerlin gravatar image

updated 2019-08-25 12:05:43 +0300

That is what I observed and can reproduce:

When trying to open a word docx document containing a table with the document-reader app, the app goes berserk (the app "disappears" but runs in the background), the phone becomes hot due to heavy load and the documents app process needs to be killed manually

EDIT: a Word document containing a table with with a hyperlink (email-address) causes the problem. The same table without hyperlink (email address as plain text) does not cause problems

Any solution?

edit retag flag offensive close delete


Can you share the document somewhere ?

Damien Caliste ( 2019-08-24 18:17:38 +0300 )edit

@Damien Caliste: I tried to generate a neutral document from that table that I could share in the public. However, the neutral table does not cause problems. In order to avoid a conflict with the GDPR I contact you PM on TMO

EDIT (next morning): I just managed to generate a neutral "killer"-document without any personal information that I could share with you. Basically it is a Word document containing a table with email-addresses - some of them being hyperlinked

AkiBerlin ( 2019-08-25 00:59:48 +0300 )edit

@AkiBerlin thank you for digging into this. I'll look at correcting the issue during the week and post here about it when ready.

Damien Caliste ( 2019-08-26 11:14:20 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-08-27 16:39:56 +0300

updated 2019-09-03 14:30:00 +0300

Edit _2019-09-03_: Pekka Vuorela accepted and tagged the merge request in Mer. It should be in next SailfishOS version.

Edit _2019-09-02_: patch has been accepted upstream and landed to master. I've created a MR in Mer to propagate the fix into SailfishOS.

The issue is lying in QML components of Calligra, from the origin ;) It is due to an infinite loop in the anchors shape calculation in the QML components. This was happening, only if the anchors was itself inside another shape like a table. I'm submitting a patch upstream to KDE Calligra. When accepted, I'll upgrade the mer package of Calligra. Hopefully, this will not take too much time, so correction will be in next SailfishOS release !

Thanks a lot to @AkiBerlin for providing a minimal reproducer document and highlighting the problem being with a mailto inside a table. It saved a lot of time while searching for the infinite loop.

edit flag offensive delete publish link more



You are great, Damien, thank you!

AkiBerlin ( 2019-08-27 18:29:00 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2019-08-23 11:18:47 +0300

Seen: 254 times

Last updated: Sep 03 '19