Red Hat Bugzilla – Bug 229740
Failure of Seamonkey to Open *.doc file with Open Office
Last modified: 2008-01-13 06:37:06 EST
Description of problem:
In FC5, using mozplugger 1.7.3 from seamonkey 1.0.7, viewing a *.doc file with
oowriter 2.0.2, the document fails to open and a message eventually appears
suggesting that OpenOffice be installed. This happens in seamonkey and
seamonkey mail, both. Both ooffice and oowriter work from the command line.
It appears that the problem arises from the definition of OO(), since
substituting something else fixes the problem (mnostly).
No problem in firefox 188.8.131.52, by the way.
Version-Release number of selected component (if applicable):
seammonkey 1.0.7 (tarball)
[root@inca ~]# uname -a
Linux inca.bitl.nist.gov 2.6.18-1.2257.fc5smp #1 SMP Fri Dec 15 16:33:51 EST
2006 i686 i686 i386 GNU/Linux
[root@inca ~]# rpm -qa | grep seamonkey
[root@inca ~]# /usr/local/seamonkey/seamonkey -version
SeaMonkey 1.0.7, Copyright (c) 2003-2006 mozilla.org, build 2006121112
[root@inca ~]# rpm -q mozplugger
[root@inca ~]# cat /etc/fedora-release
Fedora Core release 5 (Bordeaux)
[root@inca ~]# rpm -qa | grep openoff
[root@inca ~]# rpm -q firefox
Open a .doc file in seamonkey.
Steps to Reproduce:
Open seamonkey, go to http://www.google.com, search for nist .doc, open the
first .doc file.
Nothing for a long time, and then a suggestion to install Open Office.
*.doc file opens in browser window.
It appears that either of these steps corrects the problem:
In /etc/mozpluggerrc under case
application/x-msword:doc,dot:Microsoft Word Document
application/msword:doc,dot:Microsoft Word Document
repeat noisy swallow(oowriter): oowriter "$file"
Or, change OO() from
define([OO],[swallow(OpenOffice) fill: openoffice -nologo $1 "$file"
swallow(OpenOffice) fill: ooffice -nologo $1 "$file"
swallow(OpenOffice) fill: soffice -nologo $1 "$file"])
define(OO,[repeat noisy swallow(oowriter) fill: oowriter "$file"
repeat noisy swallow(openoffice) fill: openoffice "$file"
repeat noisy swallow(ooffice) fill: ooffice "$file"
repeat noisy swallow(soffice) fill: soffice "$file"])
I should add that this fix is not perfect. I am not sure if it should be OO
or [OO] in the macro, and, while this works some times, I also sometimes get a
failure of the swallow. In these cases I see the splash screen in the browser
window, but oowriter brings up its own Window. Also, sometimes I am asked to
recover the .doc file.
*** This bug has been marked as a duplicate of 229739 ***