You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Turyn, Michael (JIRA)" <xa...@incubator.apache.org> on 2007/06/01 20:24:16 UTC

[jira] Commented: (XAP-392) Widgets: Window: Title bar throws error in IE7 when clicked

    [ https://issues.apache.org/jira/browse/XAP-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500838 ] 

Turyn, Michael commented on XAP-392:
------------------------------------

This is some code run as a result of a connect with someone's onClick event.  I'm having trouble tracing it back far under IE7; I'm looking at it under Firefox/Venkman:  there appears to be an exception there too, as well as when the window is initially closed, and a few at startup.  When the window is closed, the error message seems to stem from trying to destroy the node for an object (a Dojo widget?) that has already removed it from itself.

Preliminary work indicates that the bug filed here may be from PopupManager.onClick, where it's trying to locate if a click is over the currently active menu 'm':
                      ||||||||||||||||||||||||||||||||||||||||||||||                
if(dojo.html.overElement(m.domNode,e)||dojo.html.isDescendantOf(e.target,m.domNode)){[....]

Guess: Dojo still thinks the active menu is one from the window that's been closed.
 

This is a place where a non-xapMin, uncompressed, build is a good idea for debugging.

> Widgets: Window: Title bar throws error in IE7 when clicked
> -----------------------------------------------------------
>
>                 Key: XAP-392
>                 URL: https://issues.apache.org/jira/browse/XAP-392
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: Windows and Dialogs
>            Reporter: Trevor Oldak
>            Priority: Critical
>
> Open the XAP window widget component test in IE7 and click a title bar. The following error is shown
> Line: 11269
> Character: 1
> Code: 0
> Error Message: 'offsetWidth' is null or not an object
> URL: http://localhost:81/XAP_testing68/.dist/samples/xap/examples/widgets/widget_loader.html?xalFile=window.xal

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.