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


User aw changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|STARTED                   |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Oct 15 09:45:06 +0000 
2008 -------
AW: problem is that the ControlPrimitive2D::operator== does not detect
XControlModel changes which includes properties. There are three ways to fix 
that:

(1) Use a copy of the properties from XControlModel for ControlPrimitive2D, not
the XControlModel itself. Thus, the changes would get recognized

(2) use a propertyChangeListener at the ControlPrimitive2D which reacts on
property changes at the XControlModel and e.g. remembers change in a local bool
to return false at the next comparison

(3) At the tooling providing the primitives (the VOCs and VCs), where the
comparison is needed, use the derived classes for FormControls (which exist) to
do the extra test on property change. This may also result in flushing the
cached primitives at the VOC/VC on property change. That would guarantee to get
a fresh created primitive sequence on next request

(1) is too expensive, (2) works (tried that and committed as SVN tag 262201 to
have the code on demand). Removed again since this does not meet the purpose of
a primitive. The primitive represents the graphical information of a
visualizable object at the time the primitive was created, nothing more.
I imlemented and tested (3). Works well. committed. Done.

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