Comment 5 for bug 243390

Revision history for this message
In , Bammzilla-a (bammzilla-a) wrote :

> What is the wrong path being sent? Is KDE/Gnome sending the Unix path to Wine
> instead of the Windows path?

Sorry for the late reply, lost access to the Internet for a few days. Yes KDE is sending the Unix path to Wine; can't test for Gnome at the moment.

Here's what I did: I whipped up a quick Visual Basic program whose only line is "MsgBox Command". This will display whatever is given as the command line parameters. I compiled it as "param.exe". I then created a Wine shortcut to param.exe, and associated *.doc files with it. After clicking on a document on the desktop, a message box popped up with the following message:

/home/bamm/Desktop/test.doc

Wine should automatically translate a Unix path to the corresponding Windows path. I was hoping to see the following result:

z:\home\bamm\Desktop\test.doc OR simply,
d:\Desktop\test.doc (since I have D: mapped to my home folder in winecfg).

Curiously, this bug only affects certain apps. Examples are Word Viewer, Excel Viewer, and IrfanView.

Powerpoint Viewer is not affected, for some reason. One can associate pptview with ppt files and the files are opened with no problem. However I do not understand how PPT Viewer got it right, since my test above shows that a random windows program like param.exe gets sent the Unix path.