Hello Niklas:
Thank you very much for your help, as you said, the crash can be fixed by
adding a null pointer check to ScDetectiveFunc::GetDetectiveObjectType, but the
note will then be lost while saving.
I think "Fontwork" is not important to the note, notes are usually not in
the use of "Fontwork", I would like to know whether "Fontwork" can be removed,
or we must solve the problem of the note will be lost while saving.
I look forward to your suggestions, thank you!
Best Regards
Gao Zemin
gaozm
2007-04-19
发件人: Niklas Nebel
发送时间: 2007-04-18 18:47:58
收件人: [email protected]
抄送:
主题: Re: [sc-dev] There is a new bug
gaozm wrote:
> Thank you very much for your help during these weeks, now,there is a new
> bug that we found in the OOo2.1.
> The bug can be described as follows:
> Save the document when the content of the note show "Fontwork", withdraw
> from the process.
> 1, Open a new Calc document.
> 2, Select anyone cell, insert-note, input some characters in the notebox,
> then click another cell.
> 3, View-Show all notes, select the notebox, Right Key mouse click, select
> "Fontwork", the "Fontwork" dialog is activated in the left corner of the page.
> 4, Choose anyone format, Ctrl+s, save the document.
>
> Result: The process exits accidentally.
> I would like to know whether this bug is needed to be fixed, and look forward
> to your suggestions.
The crash can easily be fixed by adding a null pointer check to
ScDetectiveFunc::GetDetectiveObjectType, but the note will then be lost
while saving, because FontWork turns the note shape (caption) into a
different object, which is no longer recognized as a note. So FontWork
should already be disabled for note objects.
Niklas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]