Hello

When I Restored a maximized window, its original position changes prior to being maximized.

Is it a bug?

PHP Code:
 var win2 Ext.create('widget.window', {
        
height200,
        
width400,
        
x450,
        
y450,
        
maximizable:true,
        
title'Constraining Window, plain: true',
        
closablefalse,
        
plaintrue,
        
layout'fit',
        
items: [floater Ext.create('Ext.Component', {
            
xtype'component',
            
floating: {
                
shadowfalse
            
},
            
height50,
            
width50,
            
x175,
            
y75
        
}), constrainedWin Ext.create('Ext.Window', {
            
title'Constrained Window',
            
width100,
            
height100,
            
x20,
            
y20,
            
constraintrue,
            
layout'fit',
            
items: {
                
borderfalse
            
}
        }), 
constrainedWin2 Ext.create('Ext.Window', {
            
title'Header-Constrained Win',
            
width100,

            
height100,
            
x120,
            
y120,
            
constrainHeadertrue,
            
maximizable:true,
            
layout'fit',
            
items: {
                
borderfalse
            
}
        }),{
            
borderfalse
        
}]
    });
    
win2.show();
    
floater.show();
    
constrainedWin.show();
    
constrainedWin2.show();