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

Document app cant open xlsx files [released]

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

Wallinniklas gravatar image

After the new update 2.1.0.9 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
14

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

Nrsisti gravatar image

Hello

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

Comments

1

thank you for the fast response! :)

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

@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
11

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

Follow
2 followers

Stats

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

Seen: 880 times

Last updated: Feb 22 '17