Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 229740 - Failure of Seamonkey to Open *.doc file with Open Office
Summary: Failure of Seamonkey to Open *.doc file with Open Office
Status: CLOSED DUPLICATE of bug 229739
Alias: None
Product: Fedora
Classification: Fedora
Component: mozplugger
Version: 5
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Ngo Than
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-02-23 01:25 UTC by John E. Koontz
Modified: 2008-01-13 11:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-01-13 11:37:06 UTC

Attachments (Terms of Use)

Description John E. Koontz 2007-02-23 01:25:07 UTC
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, by the way.

Version-Release number of selected component (if applicable):

seammonkey 1.0.7 (tarball)

[root@inca ~]# uname -a
Linux 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, 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

How reproducible:

Open a .doc file in seamonkey.

Steps to Reproduce:

Open seamonkey, go to, search for nist .doc, open the 
first .doc file.  
Actual results:

Nothing for a long time, and then a suggestion to install Open Office.  

Expected results:

*.doc file opens in browser window.  

Additional info:

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.

Comment 1 Johan Kok 2008-01-13 11:37:06 UTC

*** This bug has been marked as a duplicate of 229739 ***

Note You need to log in before you can comment on or make changes to this bug.