Bug 88837 - Crash opening document with spaces in file name
Summary: Crash opening document with spaces in file name
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: ARM All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-28 01:24 UTC by Kevin Suo
Modified: 2015-05-26 13:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
ODT without spaces in the filename (10.34 KB, application/vnd.oasis.opendocument.text)
2015-01-28 11:34 UTC, Robinson Tryon (qubit)
Details
ODT with spaces in the filename (8.97 KB, application/vnd.oasis.opendocument.text)
2015-01-28 11:35 UTC, Robinson Tryon (qubit)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Suo 2015-01-28 01:24:13 UTC
LibreOffice Android Viewer crashes when open files which has spaces in the file names.

Steps to reproduce:
1. Produce a new ODT file "LibreOffice Android Viewer.odt";
2. Try to open with LibreOffice Android Viewer.

---> Crashes.

Does not crash if you change the filename to "LibreOfficeAndroidViewer.odt".
Comment 1 Kevin Suo 2015-01-28 01:29:54 UTC
Version: 4.5.0.0.alpha0+
Build ID:7fe28b2c7b9a1fd5718e1f5b6562cf93902d6be0
Device: Galaxy Note3 (SM-N9008V)
Android Version: 4.4.2

P.S. How can I copy the Version and Build ID strings from the "about" dialog?
Comment 2 Robinson Tryon (qubit) 2015-01-28 11:34:19 UTC
Created attachment 112856 [details]
ODT without spaces in the filename
Comment 3 Robinson Tryon (qubit) 2015-01-28 11:35:02 UTC
Created attachment 112857 [details]
ODT with spaces in the filename
Comment 4 Robinson Tryon (qubit) 2015-01-28 11:37:13 UTC
(In reply to Kevin Suo from comment #1)
> P.S. How can I copy the Version and Build ID strings from the "about" dialog?

Take a look at Bug 88633 - "android: can't copy version from about dialog on phones in portrait mode". Perhaps you can do it in landscape mode?
Comment 5 raal 2015-01-28 11:41:52 UTC
I can confirm crash with Version: 4.5.0.0.alpha0+
Build ID: 802b80fcd378d5788adff1c7c98af526651a30c2
Android 4.1.1
filename "simplechart test.ods"
Comment 6 Christian Lohmaier 2015-05-26 13:59:00 UTC
worksforme in current version (neither spaces, nor umlauts, nor kanji are a problem). Feel free to reopen if you can still reproduce.