[Bug 19385] New: the 'wine start' launcher does not open MS Office documents that have spaces in their path

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 20 03:09:27 CDT 2009


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 at winehq.org
        ReportedBy: rockorequin at 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).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list