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


User fs changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|''                        |'cl,nn'
--------------------------------------------------------------------------------
             Assigned to|fs                        |os
--------------------------------------------------------------------------------
        Target milestone|OOo Later                 |OOo 2.4
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Dec 10 14:44:25 +0000 
2007 -------
Both issue 76341 and this one here have effectively the same root cause:

Writer tries to keep the read-only-ness of the complete document in sync with
the design-mode of the form controls. That is, when the document is switched to
edit mode, Writer decides to also switch the form layer to design mode. When the
document is switched to read-only-mode, Writer decides to switch the form layer
to alive mode. That's the reason for this issue here.

Then, this switching of the form layer mode happens in fact asynchronously,
which is the reason for issue 76341.

fs->os: While the latter behaviour makes sense (form controls should be in alive
mode when the document is read-only), I'd say that when the document is switched
to edit mode, it should respect the ApplyFormDesignMode setting of the document
(available as document property, or as GetOpenInDesignMode at the FmFormModel).
This property controls whether newly opened documents should have their form
controls in design (TRUE) or alive (FALSE) mode.

fs->cn,cl: I don't know whether a similar coupling - switching the document to
edit mode implies switching its form controls to design mode - exists in your
applications. If so, you might want to fix this, too.

Since Issue 76341 was targeted to 2.4, and this issue here claims to block issue
76341, I let it inherit the 2.4 target.

fs->chanon: Note that the fix I suggested above, assuming os will implement it,
implies that in your documents, you need to set the "Open in Design Mode"
setting to ON. Currently, it's set to OFF. In the OFF case, I consider it a
perfectly legal behavior that when the document is switched from read-only to
edit mode, the form controls are in design mode. Finally, this is pretty much
what the "Open in Design Mode" setting is designed for.

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