To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49370


User fs changed the following:

                  What    |Old value                 |New value
================================================================================
                        CC|'artietee'                |'artietee,fs'
--------------------------------------------------------------------------------
               Assigned to|fs                        |mav
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed May 18 00:52:50 -0700 
2005 -------
fs->mav:
When the frame of the form is closed, a .uno:CloseFrame is dispatched. This is
handled by your interceptor to change to RUNNING state, which results in
DocumentHolder::CloseFrame, which closes the frame.
In this whole chain, there are no veto possibilities. In particular, the
|suspend| method of the controller in the frame is not called at all.

Comparing what happens in a "normal" text document containing form controls,
|suspend| is in fact the difference. The usual handling for .uno:CloseFrame in
the framework code is to first call |suspend| on the controller, then close the
frame. Within the suspend, we (our form shell, more precise) get the chance to
ask the user, and possibly veto the closing.
I think something similar should happen for embedded objects, too.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
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]

Reply via email to