Ext version tested:
  • Ext 3.2.1

Adapter used:
  • jquery

css used:
  • only default ext-all.css

Browser versions tested against:
  • IE6
  • IE7
  • IE8
  • FF3.6.10 (firebug 1.5.4 installed)
  • Safari 5.0.1
  • Chrome 6.0.472.63

Operating System:
  • WinXP Pro

  • In Webkit browsers, Sometimes very horizontally long (> 10000px) window with buttons is shown.

Test Case:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<title>Window Test</title>
	<link rel="stylesheet" type="text/css" href="lib/ext.js/resources/css/ext-all.css"/>	
	<script type="text/javascript" src="lib/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="lib/ext.js/adapter/jquery/ext-jquery-adapter-debug.js"></script>
	<script type="text/javascript" src="lib/ext.js/ext-all-debug-w-comments.js"></script>	
	<script type="text/javascript">
Ext.onReady(function() {
	new Ext.Window({
		modal: true,
		title: 'test',
		buttons: ['OK', 'Cancel'],
		html: 'Test'
Steps to reproduce the problem:
  • Using Chrome or Safari, Execute above html.

The result that was expected:
  • Test window displayed.

The result that occurs instead:
  • Long long long long window will be shown.

Possible fix:
Below css code insert.
<style type="text/css">
.x-window .x-toolbar-left {
    width: auto;
or remove .x-toolbar-left{width:100%;} from ext-all.css(line 1863-1865)