Hi OpenLaszlo developers! I have sent this email to dev list few weeks ago, but no one answered. So resending to user list.
I've found a bug in basefocusview. Both 4.0.3 and 3.3.3 versions are affected. I've tested swf8 runtime only. Steps to reproduce: 1. Create application with canvas width and height set to 100%. Compile it with debug enabled. 2. Set focus to some view. 3. Run LzFocus.clearFocus() in debug window to clear focus. 4. Resize browser window. Two warnings are printed: WARNING: base/basefocusview.lzx:234: reference to undefined property 'width' WARNING: base/basefocusview.lzx:245: reference to undefined property 'height' The problem is that setTarget method registers followWidth and followHeight callbacks for canvas onwidth and onheight events. followWidth and followHeight use target attribute and don't check for null. But when focus is cleared target is null. I can not understand this logic. Why we register callbacks for canvas events but use target width/height in the callbacks? There is a similar followXY callback for onx and ony events, but it is registered not for canvas, and is unregistered when focus is cleared. Should width and height handling be done in a similar way? Regards, Dmitry
