To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=78747 Issue #|78747 Summary|toolkit: awt - okbutton ... Component|gsl Version|680m215 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|cd Reported by|mmeeks
------- Additional comments from [EMAIL PROTECTED] Thu Jun 21 11:05:54 +0000 2007 ------- If you instantiate an OKButton or a CancelButton using the 'awt' you never get an 'actionPerformed' callback on your awt::XActionListener when the button is clicked :-) This follows from the code; but is it a feature ? ;-) cf. toolkit/source/awt/vclxwindows.cxx (VCLXButton::ProcessWindowEvent): ... case VCLEVENT_BUTTON_CLICK: maActionListeners.actionPerformed( aEvent ); also vcl/source/control/button.cxx (OKButton::Click): // Ist kein Link gesetzt, dann schliesse Parent if ( !GetClickHdl() ) ... omit amazing groping around inside window hierarchy ;-) ... else // !!! PushButton::Click(); Since the toolkit code never connects the 'ClickHdl' - we never get PushButton::Click called (which emits the VCLEVENT_BUTTON_CLICK event). So - it's broken :-) Interestingly the HelpButton omits the 'else' clause here. --------------------------------------------------------------------- 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]