Bug 88837

Summary: Crash opening document with spaces in file name
Product: LibreOffice Reporter: Kevin Suo <suokunlong>
Component: Android ViewerAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: raal, robinson.libreoffice
Priority: medium    
Version: 4.5.0.0.alpha0+ Master   
Hardware: ARM   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: ODT without spaces in the filename
ODT with spaces in the filename

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.