Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Now available: memory leak patch for Ext 1.1.1

  1. #11

    Default

    firefox 3 seems to run more efficient. Does anyone know if it clears the memory itself on window.close function.

  2. #12
    Sencha Premium Member tjstuart's Avatar
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    457

    Default

    Quote Originally Posted by gkassyou View Post
    firefox 3 seems to run more efficient. Does anyone know if it clears the memory itself on window.close function.
    This is unlikely as Firefox windows/tabs share the same process.

  3. #13

    Default

    Hello,
    First, thanks to tjstuart for help developing the patch for 1.1.1 library's version that fixes the memory issues.?
    In the code below, if field named "sexo" lose focus, the listener begins to trigger mouse click ( mousedown ) events, including, duplicating this event in case of losing it's focus. It is valuable to note that this occurs only in trigger fields.?
    ?Hope you can help me,?

    ?Now, thank your attention?

    ?Arlington Rodrigues?

    HTML Code:
    <html>
    	<head>
    		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    		<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
    		<script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
    		<script type="text/javascript" src="../../ext-all-debug-MEMPATCH.js"></script>
    		<script type="text/javascript">
    			Ext.BLANK_IMAGE_URL = '../../resources/images/default/s.gif';
    			Ext.onReady(function(){
    				var x = 0;
    				var nome = new Ext.form.TextField({
    					allowBlank:false
    				});
    				nome.applyTo('nome');
    				var sexo = new Ext.form.ComboBox({
    					typeAhead:		true,
    					triggerAction:	'all',
    					transform:		'sexo',
    					width:			120,
    					forceSelection:	true,
    					listeners:  {
    									blur: function(c)
    									{
    										console.log(x++);
    									}
    								}
    				});
    				var dtNascimento = new Ext.form.DateField({
    					allowBlank:	false
    				});
    				dtNascimento.applyTo('dtNascimento');
    				nome.focus();
    			});
    		</script>
    	</head>
    	<body>
    		<form id="f1">
    			<input type="text" size="24" name="nome" id="nome" />
    			<select name="sexo" id="sexo">
    				<option value="0">Masculino</option>
    				<option value="1">Feminino</option>
    			</select>
    			<input type="text" size="10" value="03/08/03" name="dtNascimento" id="dtNascimento" />
    		</form>
    	</body>
    </html>

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •