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


User fs changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|fs                        |mba
--------------------------------------------------------------------------------
                  Status|STARTED                   |NEW
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Thu Sep  6 10:21:12 +0000 
2007 -------
fs->mba:
Basically, the slots are disabled since our code thinks that our frame (the
"beamer" frame) is inactive.
When focusing another cell as described in my previous comment, then we get *6*
frame action (XFrameActionListener::frameAction) events from the frame:
- 2 deactivation calls (FRAME_DEACTIVATING resp. FRAME_UI_DEACTIVATING)
- 2 activation calls (FRAME_ACTIVATED resp. FRAME_UI_ACTIVATED)
- 2 deactivation calls

Now the controller assumes that its frame is inactive, which in fact is wrong.

The stack of the last deactivation is as follows:
dbaui::SbaXDataBrowserController::frameAction(...)
dbaui::SbaTableQueryBrowser::frameAction(...)
framework::Frame::implts_sendFrameActionEvent(...)
framework::Frame::deactivate(...)
framework::Frame::setActiveFrame(...)
SfxViewFrame::MakeActive_Impl(...)
SfxTopWindow_Impl::Notify(...)
Window::Notify(...)
DockingWindow::Notify(...)
Window::Notify(...)

Note that the evenbeing notified here is a GETFOCUS event, for the cell control
getting the focus.

For some reason, SfxViewFrame::MakeActive_Impl decides to call a
setActiveFrame(NULL) at the XFrame belonging to SfxViewFrame::Current. Not sure
what this is good for, but that seems (to me) to be the reason for the "beamer"
frame being de-activated.

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