Re: [api-dev] Bug? - Closing OOo will close multiple documents

2008-12-04 Thread Tobias Krais
Hi Mikhail,

> Which target do you use while opening the second document?
> If it is "_blank" then the behavior during second document opening is
> correct. The target means that a new window should be opened for the
> document.

I use "_blank" - otherwise it would not open in a seperate frame. The
thing I point on is that closing the first frame also closes the second
with the opened document.

> The termination of the document window after closing of the backing
> component looks like a bug for me. The mentioned by you 65942 is a
> different problem.

OK. Thanks.

Greetings, Tobias

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [api-dev] Bug? - Closing OOo will close multiple documents

2008-12-04 Thread Mikhail Voitenko

Hi Tobias,

Which target do you use while opening the second document?
If it is "_blank" then the behavior during second document opening is 
correct. The target means that a new window should be opened for the 
document.


The termination of the document window after closing of the backing 
component looks like a bug for me. The mentioned by you 65942 is a 
different problem.


Best regards,
Mikhail.

On 12/04/08 11:13, Tobias Krais wrote:

Hi together,

I have the following strange behaviour:
1. Open a document (e.g. an odt file) via API and then close the
document (only the document, not the OOo frame). Thus an empty OOo frame
remains (in OOo3 the OOo app chooser is loaded in the frame).
2. Open again a document via API. The document is not loaded in the
first frame - a new one is opened. Now close the remaining frame from
point 1. Closing it will also close our document of point 2!

This does not occur if you open the documents with a file explorer! It
only occurs when opening via API.

I do not know if issue 65942
(http://www.openoffice.org/issues/show_bug.cgi?id=65942) is related to
this thing here.

Do you think this is a bug?

Greetings, Tobias

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]