Apache OpenOffice (AOO) Bugzilla – Issue 80862
OOo closes abruptly when closing Internet Explorer (IE)
Last modified: 2009-12-31 18:42:53 UTC
This problem occurs in some Windows machines but not in others. It also only occurs with IE. Using firefox I cannot reproduce it. So far I'm unable to figure out what makes these machines susceptible. The problem is easily reproduced: - Fire up Internet Explorer - Open any page containing a link to a OOo file (.odt, .ods, whatever) - Click on the link and wait for OOo to open the document - Close the IE window and see that the OOo window closes abruptly shortly thereafter This is a problem because some applications use IE to open any HTTP link. For example, when a user reads an email in Outlook 2000 and clicks on a link to a OOo file, Outlook fires up an IE process to open the link. Then IE fires up an OOo instance to open the file. Then IE exits and causes OOo to close too in a fraction of a second, leaving no time for the user to actually read the document. So far, we're telling the users to either switch to firefox as the default browser or to copy the link URL and paste it manually in a IE windows that can be left open until after reading the document. I've seen the problem in a few machines. This is the configuration of a particular one: CPU: Pentium 4 3.00GHz RAM: 256MB OS: Windows XP Professional SP2 (Portuguese) IE: 6.0.2900.2180.xpsp_sp2_gdr.070227-2254 OOo: 2.2.1 (Portuguese language pack) I'm going to attach a file generated by procmon (http://www.microsoft.com/technet/sysinternals/utilities/processmonitor.mspx) which captured the syscalls and registry activities of the processes involved: iexplore.exe and soffice.bin. (There were also a soffice.exe process but procmon didn't catch any activity from it.) I started the capture when the IE and OOo windows were already open, just before I closed IE via "File -> Exit". When I run procmon on a machine that doesn't suffer from this problem I don't see any activity from the OOo processes. Just before submitting this issue I upgraded IE to version 7.0.5730.11 and tried again. The problem still happens with IE7. Gustavo.
Created attachment 47654 [details] ZIP containing a CSV file generated by procmon
The problem is easily reproduced: - Fire up Internet Explorer - Open any page containing a link to a OOo file (.odt, .ods, whatever) - Click on the link and wait for OOo to open the document - Close the IE window and see that the OOo window closes abruptly shortly thereafter I confirm this issue with : - I.E 6.0.2900.2180.xpsp_sp2_gdr.070227-2254 and 2.3.1 - I.E 6.0.2900.2180.xpsp_sp2_gdr.070227-2254 and 2.4 build OOH680_m2 Same behaviour when : You click to a link with OpenDocument in Outlook. You click to a link with OpenDocument in Word, Excel, Powerpoint => They all go throw I.E 6.0 so I was wondering how the closing in OOo is handled ? I think this issue is linked to the problem with target blank and IE, please see : http://www.openoffice.org/issues/show_bug.cgi?id=83333 Maybe I.E starts a process to load OOo and then the process stop, OOo catch the SIGTERM, SIGINT and close directly ? Any tips ?
Can't reproduce using 2.3.1 on WinXP - closing IE with .odf document open does not affect any other OpenOffice windows. gnustavo,aladdin2k7, please specify if you can repro the problem with 2.3.1 or latest dev builds (from http://download.openoffice.org/680/index.html?intcmp=1235)
kpalagin : - I.E 6.0 problem occurs when you click on a link with target=_blank (please check #83333) - Same behaviour when : You click to a link with OpenDocument in Outlook. You click to a link with OpenDocument in Word, Excel, Powerpoint.
I reproduce it : closing IE 6.0 with .odf document open does close OOo. Using OOo 2.3.1 and OOo-dev 2.4 (OOH680_m4)
I can confirm this is still an issue for OOo 2.4. I can reproduce it on my workstation (WinXP SP2, IE7) as well as on a virtual machine (WinXP SP2, IE6). One of our customers is also experiencing this problem on Win2k with IE6. It seems that the Office process is run as a child of the IE process, because the document will always be opened in a separate frame, even if there is currently a frame open with only an empty document.
TM->MAV: reproducible in a m9 build. Please have a look, thanks !
The problem seems to be that the IE uses the OOo as OLE link server in this case. And let the server be closed when IE is closed.
IE does not close the link explicitly in this case, so the document should stay alive. Fixed in mav44 cws.
mav->tm: Please verify the issue.
checked and verified in cws mav44 -> OK !
Will be released for 3.2 according to EIS[1] ? [1] https://tools.services.openoffice.org/EIS2/cws.ShowCWS?logon=true&Id=7703&Path=DEV300%2Fmav44
Thanks ! Works with OOO310_m2. P.S = Please close related issue 83333.
closed
*** Issue 83333 has been marked as a duplicate of this issue. ***