|
List Info
Thread: When open a especial document, the Impress death
|
|
| When open a especial document, the
Impress death |

|
2007-07-30 20:14:58 |
Hi, all:
There is a bug in the Impress. When I open a especial
document, the Impress will dead. I need some help.
Discription:
[Approach]
1.New a Impress document, and do some
operation;
2.Click "File-Save", save the document
according to the default file type.
3.Do not close the document, and click
"Insert-Object-OLE Object", open the dialog of
"Insert OLE Object", select "Create from
file" and select the check box of "Link to
file", click the "Search" button, pop the
open dialog, select the file that saved just now, and click
the "Open" button, click the "OK" button
in "Insert OLE Object" dialog finally.
4.Save the Impress document, and close the program.
5.when you open the file that modified just now, you
will find that the program dead.
[Result]
the program death.
songzhanjun
2007-07-27
|
|
| Re: When open a especial document, the
Impress death |

|
2007-07-31 03:02:58 |
Hi Song,
if you can make the office play dead, yes that is a bug.
Obviously the
document is recursivle loading itself until your heap is
full and then
will crash.
So what kind of help do you need? Do you want to know how to
file an
issue for that or do you want to
know how to fix that issue? Or something else?
Regards,
Christian
songzhanjun wrote:
> Hi, all:
>
> There is a bug in the Impress. When I open a
especial document, the Impress will dead. I need some help.
>
> Discription:
> [Approach]
> 1.New a Impress document, and do some
operation;
> 2.Click "File-Save", save the
document according to the default file type.
> 3.Do not close the document, and click
"Insert-Object-OLE Object", open the dialog of
"Insert OLE Object", select "Create from
file" and select the check box of "Link to
file", click the "Search" button, pop the
open dialog, select the file that saved just now, and click
the "Open" button, click the "OK" button
in "Insert OLE Object" dialog finally.
> 4.Save the Impress document, and close the
program.
> 5.when you open the file that modified just
now, you will find that the program dead.
> [Result]
> the program death.
>
>
>
>
> songzhanjun
> 2007-07-27
>
>
--
Sun Microsystems GmbH
Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe graphics.openoffice.org
For additional commands, e-mail: dev-help graphics.openoffice.org
|
|
| Re: Re: When open a especial document,
the Impress death |

|
2007-07-31 04:02:08 |
hi Christian,
Thanks for you help. I want to know how to fix the issue.
I did check the code, and didn't know how to modify the
code.
I made more test in Impress and in MS Office PowerPoint
2007, MS Office have another solution to the problem.
TEST 1:
I made the file linked to itself, the approach is same to my
former letter.
TEST 1 result:
In Impress : the operation is success, but the Impress do
not open the saved file forever.
In MS Office: MS Office PowerPoint will pop a dialog with
"PowerPoint do not insert itself".
TEST 2:
I made two files, the first file linked to the second file,
and the second file linked to the first file.
TEST 2 result:
In Impress : the result is same to the TEST 1.
In MS Office: the operation is success. but, it will pop a
dialog when open the file next time, and have a small
problem.
Regards
songzhanjun
2007-07-31
发件人: Christian Lippka - Sun Microsystems Gmbh - Hamburg
发送时间: 2007-07-31 16:09:46
收件人: dev graphics.openoffice.org
抄送:
主题: Re: [graphics-dev] When open a especial document, the
Impress death
Hi Song,
if you can make the office play dead, yes that is a bug.
Obviously the
document is recursivle loading itself until your heap is
full and then
will crash.
So what kind of help do you need? Do you want to know how to
file an
issue for that or do you want to
know how to fix that issue? Or something else?
Regards,
Christian
songzhanjun wrote:
> Hi, all:
>
> There is a bug in the Impress. When I open a
especial document, the Impress will dead. I need some help.
>
> Discription:
> [Approach]
> 1.New a Impress document, and do some
operation;
> 2.Click "File-Save", save the
document according to the default file type.
> 3.Do not close the document, and click
"Insert-Object-OLE Object", open the dialog of
"Insert OLE Object", select "Create from
file" and select the check box of "Link to
file", click the "Search" button, pop the
open dialog, select the file that saved just now, and click
the "Open" button, click the "OK" button
in "Insert OLE Object" dialog finally.
> 4.Save the Impress document, and close the
program.
> 5.when you open the file that modified just
now, you will find that the program dead.
> [Result]
> the program death.
>
>
>
>
> songzhanjun
> 2007-07-27
>
>
--
Sun Microsystems GmbH
Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe graphics.openoffice.org
For additional commands, e-mail: dev-help graphics.openoffice.org
|
|
| Re: When open a especial document, the
Impress death |

|
2007-07-31 04:35:29 |
songzhanjun wrote:
> hi Christian,
>
> Thanks for you help. I want to know how to fix the
issue.
To know how to fix the issue, you need to debug the issue
and come up
with a solution.
> I did check the code, and didn't know how to modify the
code.
>
Then you need to file an issue so someone else can fix the
issue
> I made more test in Impress and in MS Office PowerPoint
2007, MS Office have another solution to the problem.
>
> TEST 1:
> I made the file linked to itself, the approach is same
to my former letter.
> TEST 1 result:
> In Impress : the operation is success, but the Impress
do not open the saved file forever.
> In MS Office: MS Office PowerPoint will pop a dialog
with "PowerPoint do not insert itself".
>
Yes that seems to be a good and simple solution
> TEST 2:
> I made two files, the first file linked to the second
file, and the second file linked to the first file.
> TEST 2 result:
> In Impress : the result is same to the TEST 1.
> In MS Office: the operation is success. but, it will
pop a dialog when open the file next time, and have a small
problem.
>
What is the small problem?
Regards,
Christian
--
Sun Microsystems GmbH
Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe graphics.openoffice.org
For additional commands, e-mail: dev-help graphics.openoffice.org
|
|
| Re: When open a especial document, the
Impress death |

|
2007-08-01 03:50:08 |
songzhanjun wrote:
> hi Christian,
>
> Thank you for help. I think that I need more help and
advice to fix the issue.
>
>
>> To know how to fix the issue, you need to debug the
issue and come up
>> with a solution.
>>
> I have already debuged the issue for serval days, and I
think the core hasn't error, and the user's operation have a
mistake. What can I do is that when user operate like this,
the process pop a dialog like MS do. do you agree with me?
>
Yes
>> What is the small problem?
>>
> I'm sorry. I'm a young chinese, and my English is so
poor that I can't describe the problem clear.
>
No problem at all, just remember to give as much information
as
possible, this helps a lot understanding what you try to
comunicate.
> When open each of the documents linked to each other,
MS Office PowerPoint will pop a dialog say "Microsoft
Office already confirmed a potential safety problem". I
closed the dialog, the view can't display the OLE object
normally. when I click the view, the process pop that dialog
again.
> do you know what I say about the small problem in MS
Office?
>
You already described it very well. So it looks like MS
Office does some
kind of safety checks, including to look for circular
references in
documents. This would also
be a nice feature to have. This could be done at load time
by gathering
a list of 'parent' documents and when inspecting child
documents, verify
if they are not already
in that list. The xml filter usually take an XPropertySet
where such
information can be supplied to the filter. See sdxmlwrp.cxx
in sd
project as an example how the
XPropertySet is given to the filter.
> Can you give me some advice about how to debug or fix
the issue?
>
Adding a dialog and preventing the user to insert the
actuall document
as an ole object would be a good fix for the first issue.
Fixing that two documents reference each other is a little
bit more
advanced and should be fixed for all applications. So you
should at least submitt three issues describing the problem,
one for
calc, impress and writer. Maybe we can even fix this
in the framework project so the solution for each
application uses the
same base implementation.
Regards,
Christian
--
Sun Microsystems GmbH
Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe graphics.openoffice.org
For additional commands, e-mail: dev-help graphics.openoffice.org
|
|
[1-5]
|
|