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


User mba changed the following:

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




------- Additional comments from [EMAIL PROTECTED] Thu Oct 12 00:44:16 -0700 
2006 -------
The problem is that when the dialog is opened the frame of the OLE object gets a
"Deactivate" event. Usually we ignore these events as we are relying on the
activate events that follow, except in those rare cases where no activate event
appears. This will be the case when a subframe (like an OLE object) is
deactivated, the parent frame was active before (though not UI-active) and so
doesn't get an activate event. To detect this case we must know which window has
the focus at the time when we receive the deactivation. In our current case the
focus isn't set in the deactivation so we can't check this. For safety reasons
the code then didn't ignore the event and deactivated the frame of the OLE
object. When the dialog is closed we again get ana activation but the timing is
not sufficient for the testtool.
As the temporary deactivation is wrong anyway I now ignore deactivates also if
no OOo window has the focus at that time. I don't see any use case where this
could be wrong.

The interesting thing is that this code is quite old and I have no idea why it
created a problem only in this CWS. If I find some time I will check this in
"plain" m185.

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