Comment 1 for bug 1522167

Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote : Re: documents with passwords crashes and quits apps

Hi and thanks for reporting the issue you found in Document Viewer!

Could you please tell me which version are you using?
In the version 2.0.193-beta (the one released for testing a few weeks ago), there's no error detection and/or recovery, so the app crashes when an exception is raised.

This has been already fixed, and a dialog is shown when something unexpected happens.

Anyway, we don't handle documents with password yet, so I can already confirm your report.

LibreOfficeKit doesn't seem to provide any explicit interface for loading documents protected by a password.
However, the library is under an heavy development and some part of the library is partially undocumented, so I need to check if my assumption is right.

Also, the error detection we have already implemented doesn't consider the scenario you described.

I suspect I'll have to split your report in two parts:
1) Add support for documents protected by a password
2) Properly detect when the loading failed because of the file being protected.

I'll be back again as soon as I have further informations.

Thank you again for taking the time to report this bug!