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

Document app cant open xlsx files [released]

asked 2017-02-13 13:34:58 +0200

Wallinniklas gravatar image

After the new update I am not able to open xlsx files with the native Jolla document app. When trying to open a xlsx file, it is only loading, and later the app is minimized.

It worked fine before the update. Does someone else have this issue?

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by molan
close date 2018-05-01 15:31:38.432029

2 Answers

Sort by » oldest newest most voted

answered 2017-02-13 14:16:33 +0200

Nrsisti gravatar image


This is currently known issue and we are tracking this bug. We are sorry for the issues this may cause. :)

edit flag offensive delete publish link more



thank you for the fast response! :)

Wallinniklas ( 2017-02-13 15:10:58 +0200 )edit

@Nrsisti opening a .pptx attachment opens the notes instead of the documents application. Is this related?

I have made a new entry here: https://together.jolla.com/question/156884/regression-pptx-attachments-cannot-be-opened/

saturn ( 2017-02-13 22:07:21 +0200 )edit

answered 2017-02-20 18:36:28 +0200

updated 2017-02-22 18:12:45 +0200

I've found the root of this crash. It's when calling QLocale().timeFormat().simplified() in the parser in Calligra. It was working before with Qt5.2.

The following code is segmentation faulting when compiled with -std=c++0x (the default for sailfish-office and the calligra suite):

#include <QLocale>
#include <stdio.h>

int main(int argc, char ** argv)
  fprintf(stderr, "'%s'\n", QLocale().timeFormat().simplified().toLocal8Bit().data());
  return 0;

I've proposed a temporary work around in Calligra in the mean time.

EDIT: after discussion, this may be related to a compiler bug. The workaround is quite simple, just make a copy of the string before calling simplified() on it. It has been accepted upstream. Spreadsheets should work again in a near future !

edit flag offensive delete publish link more

Question tools



Asked: 2017-02-13 13:34:58 +0200

Seen: 880 times

Last updated: Feb 22 '17