rem: if ((new QxClient).isMshtml()) { conf += "height=" + (this.getHeight()  - this._chromeBorderSize) + ","; } else { conf += "height=" + this.getHeight() + ","; 
add: if ((new QxClient).isMshtml()) { if (this.getShowMenubar()) { conf += "height=" + (this.getHeight() + (this.getAllowScrollbars() ? -20 : -8)) + ","; } else { conf += "height=" + this.getHeight() + ","; }; } else { conf += "height=" + this.getHeight() + ","; 
context: proto.open = function(){  /*   -----------------------------------------------------------------------------    PRE CONFIGURE WINDOW  -----------------------------------------------------------------------------  */     var conf = "dependent=yes,";    if (isValidNumber(this.getWidth())) {    if ((new QxClient).isMshtml()) {      conf += "width=" + (this.getWidth() - this._chromeBorderSize) + ",";          } else {      conf += "width=" + this.getWidth() + ",";          };  };     if (isValidNumber(this.getHeight()))   {    if ((new QxClient).isMshtml()) {      conf += "height=" + (this.getHeight()  - this._chromeBorderSize) + ",";          } else {      conf += "height=" + this.getHeight() + ",";          };  };    if (isValidNumber(this.getLeft())) {    conf += "left=" + this.getLeft() + ",";  };    if (isValidNumber(this.getTop())) {    conf += "top=" + this.getTop() + ",";  };      /*    http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx    Changes to Functionality in Microsoft Windows XP Service Pack 2    Part 5: Enhanced Browsing Security    URLACTION_FEATURE_WINDOW_RESTRICTIONS    Allow script-initiated windows without size or position constraints    Code: 2102        */    conf += "resizable=" + (this.getResizeable() ? "yes" : "no") + ",";  conf += "status=" + (this.getShowStatusbar() ? "yes" : "no") + ",";  conf += "location=" + (this.getShowLocation() ? "yes" : "no") + ",";  conf += "menubar=" + (this.getShowMenubar() ? "yes" : "no") + ",";  conf += "toolbar=" + (this.getShowToolbar() ? "yes" : "no") + ",";  conf += "scrollbars=" + (this.getAllowScrollbars() ? "yes" : "no") + ",";  conf += "modal=" + (this.getModal() ? "yes" : "no") + ",";  /*   -----------------------------------------------------------------------------    TIMER  -----------------------------------------------------------------------------  */  this._isOpened = false;  this._isLoaded = false;  this._readyState = 0;  /*   -----------------------------------------------------------------------------    BLOCKER  -----------------------------------------------------------------------------  */    if (this.getModal()) {    window.application.getClientWindow().getClientDocument().block(this);  };    /*   -----------------------------------------------------------------------------    OPEN WINDOW  -----------------------------------------------------------------------------  */  this._window = window.open("about:blank", "w" + this.toHash(), conf);    if (!this._window)   {    this.debug("Window could not be opened. It seems there is a popup blocker active!");        // release window again    if (this.getModal()) {      window.application.getClientWindow().getClientDocument().release(this);    };        throw new Error("popupblocker");      };    this._timer.restart();};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/b63f3be1cc4adae0195fb8b3313c3115baf41b98/QxNativeWindow.js/buggy/qooxdoo/source/script/core/QxNativeWindow.js