http://bugs.winehq.org/show_bug.cgi?id=19385
Summary: the 'wine start' launcher does not open MS Office documents that have spaces in their path Product: Wine Version: 1.1.26 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: rockorequin@hotmail.com
MS Office 2007 installs without problems, but if you try to open a file (eg a .docx file) from nautilus and the file has a space in its path, MS office says that it cannot find the file.
The launcher for docx files is ~/.local/share/applications/wine-extension-docx.desktop:
[Desktop Entry] Type=Application Name=Microsoft Office Word MimeType=application/vnd.openxmlformats-officedocument.wordprocessingml.document Exec=/usr/bin/wine start /ProgIDOpen Word.Document.12 %f NoDisplay=true StartupNotify=true
Example case:
1. Create a document and save it as /tmp/test document/test.docx.
2. Try to open the file from nautilus (wine should have set up Word 2007 to be the default; if not, select 'Open With' and 'Microsoft Word').
3. MS Word starts up but complains it can't find /tmp/test.docx and document/test.docx, ie it is receiving the filename as two separate arguments.
On a perhaps related note, you also cannot open the document with the command line:
wine "c:\Program Files\Office12\Microsoft Office\WINWORD.EXE" "`winepath -w "/tmp/test document/test.docx"`"
since Word complains with the same error message as above.
This is on Ubuntu 9.04 (amd64).