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


User fs changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|''                        |'mab,mav'
--------------------------------------------------------------------------------
             Assigned to|dbaneedsconfirm           |pb
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Thu May 22 12:30:11 +0000 
2008 -------
fs->pb: The message box is raised in SfxObjectShell::DoLoad, when the document
which is being loaded has "later" ODF version than the current OOo version uses.

There's a number of problems here:

- The code checks whether the document was loaded with an interaction
  handler. Well, nowadays *every* document is loaded with an interaction
  handler, because the LoadEnvironment code adds a dummy interaction handler,
  even if the caller didn't pass one.
  Thus, the check does not work, it always evaluates to TRUE.

- Raising the dialog *bypassing* the interaction handler sounds like a
  hack to me. This should be some kind of interaction request which is given
  to the handler - finally, exactly this is the purpose of an interaction
  handler - allow to handle interactions, instead of letting the core code
  do this itself.

- Raising the dialog during loading the document sounds questionable to me,
  to. I would expect this is done when the first non-hidden controller is
  attached to the document. However, this touches the much wider field of
  how to generall handle interactions during loading documents. In the past,
  we introduced MediaDescriptor properties like MacroExecutionMode and
  UpdateMode for every kind of interaction we anticipated during loading,
  an analogous situation here would be to introduce some kind of
  FileFormatWarningMode. However, I really think this approach doesn't
  scale, and the problem should be solved more generally ... Well, in a
  later life, perhaps.

- For really fixing the problem between 3.0-generated documents and a
  2.4-installation, we would need to fix 2.4. However, I don't really think
  this issue is worth a micro-update.
  So, I suggest the fix is made, but only for "future" releases, in that if
  a 3.0 encounters a document which was written with a 3.x, the message
  box is properly routed via the interaction handler.
  When you (or whoever in your team is responsible for this) implemented this,
  please send the bug back to us, so we can introduce an "fake handler"
  which silences this particular interaction from without our spreadsheet
  driver.

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

Reply via email to