Issue 74111 - Writer hangs (in a certain warning dialog) when opening a *.ott with special path settings
Summary: Writer hangs (in a certain warning dialog) when opening a *.ott with special ...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.1
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-02 07:10 UTC by israelh
Modified: 2017-05-20 11:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Opening this .ott file causes Writer to hang. (7.25 KB, application/vnd.oasis.opendocument.text)
2007-02-02 07:13 UTC, israelh
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description israelh 2007-02-02 07:10:55 UTC
I am running OpenOffice 2.1 on Windows XP SP2.

In the word processor, I saved a blank document (with customized styles and
formatting) to mydoc.ott (OpenOffice text template).

Then, click File, Open. Select the mydoc.ott. Click Open button. The Open dialog
disappears and the word processor apparently hangs (no more screen updates). The
Windows task manager reports that OpenOffice is "not responding" and it shows
soffice.bin as consuming a majority of CPU cycles for several minutes (before I
killed it). This is reproducible. If there's a way for me to attach the .ott
file, I would.

Thanks.
Comment 1 israelh 2007-02-02 07:13:13 UTC
Created attachment 42657 [details]
Opening this .ott file causes Writer to hang.
Comment 2 michael.ruess 2007-02-02 09:10:14 UTC
Cannot repoduce the problem wih OO 2.1 or OO 2.2 on my WinXP.
Do you have the Font "Georgia" installed on your system?
Does the the "progress bar" (in the status bar) appear before OO freezes?
Comment 3 israelh 2007-02-02 09:33:54 UTC
The font "Georgia" is installed on my system.

Some more details:
After I click the "Open" button, the Open dialog disappears. A new window opens
with a gray background. It has the OpenOffice icon in the left corner of the
title bar but the title is blank. At the bottom of this window, the status bar
appears, "Loading document", and the progress bar progresses from left to right
very quickly. Then the status bar disappears.

After a very long pause (several minutes), a dialog opens asking me to choose an
import filter for file "a1.wps" (filename doesn't matter except that it's the
first file in My Documents). I select one and click OK. Then the same dialog
opens asking me to choose an import filter for file "a2.doc". Maybe this will
continue for every single file in My Documents.

Ok, I know now the workaround: I removed My Documents from the Paths for
Templates (in Tools / Options). Having done this, I can open "My
Documents\mydoc.ott" without any delay.

I still consider this a bug. I would like to store my templates in a directory
that contains other non-template files. But I would also like my templates to
show up in the New / Templates and Documents dialog. It seems to me that
OpenOffice should not try to look at these non-template files in My Documents
when showing me the New dialog or opening a specific template. But I could be
wrong...

Comment 4 kpalagin 2007-02-02 19:10:47 UTC
Confirming with OO 2.1 on WinXP - 
1. Make sure that you have all kinds of files in "My Documents", not just 
those that can be opened by OO.
2. Start Writer, click  Tools, Options, OO.o, Paths, d-click Templates, click 
Add, navigate to "My Documents" and click OK, OK, OK.
3. Save "mydoc.ott" to "My Documents", start Writer, click File, Open, 
navigate to "My Documents" and open "mydoc.ott". OO seems to be trying to open 
all (or at least some) files in My Documents, which causes "Choose Filter" 
dialog to appear.
Correction - I was able to reproduce this only once, on further attempts file 
opened just fine (sometimes with slight delay).
Comment 5 michael.ruess 2007-02-15 13:39:04 UTC
I also achieved it to see the problem - but also only once... it happened when I
opened a write-protected document, clicked the "Edit" button and opened it as
template for a new document.

It is quite sure that the problem is connected to the settings in the
"Options.Path" dialog. OO tries to access files that it is not able to interpret.

I will have further looks how to get this reproducible more than once a year...
Comment 6 israelh 2007-02-15 22:03:38 UTC
The bug only occurred once for me also.

The reason I thought it was recurring was that I kept killing OO when it
happened. But if I let the process complete and open the template, then it works
without delay on subsequent opens.

Perhaps to get it to happen again, it needs to be a fresh install, or maybe a
new XP user.
Comment 7 michael.ruess 2007-04-20 12:53:34 UTC
MRU->HI: please have a look. This is not a problem of a specific Writer template
causing a loop. This problem occurs when a special setting regarding the
Template path has been applied (as described above).
I was able to reproduce this once, but not more. Maybe you can find out
something more with PB.
Comment 8 Marcus 2017-05-20 11:20:11 UTC
Reset assigne to the default "issues@openoffice.apache.org".