View Full Version : [OPEN-1477] Chrome Ext.Msg.show wrong placing

4 Jan 2011, 5:08 AM
The bug is only in Chrome and I don't undestand what is the reason of bug.
The bug is:'We click on reference "???????? ?? ?????"' than Ext.Msg.show can be shown normal(in right place),
but can place in corner of browser. Bug sometimes appears and somtetimes not appear.
Here is the code of setting handler for link.
And screenshot of bug.

function payMouseDown(event){
animEl: 'payForMonth',
title:'?????????? ?????.',
msg:'??????????, ????????? ????.'
var MainPanel = Ext.getCmp('doc-body');
var p = MainPanel.add(new DocPanel({
id: 'pay-id',
cclass : '??????',
autoLoad: '/pay/qiwi/qiwi-form.html',
iconCls: 'icon-money'

function setHandlers(){
Ext.fly('abackConnection').on('mousedown' , abackConnectionMouseDown);
Ext.fly('payForMonth').on('mousedown' , payMouseDown);


5 Jan 2011, 5:02 AM
Are you using an Ext.state.Manager?

It could be that the state cookie contains information for the window id.

What happens if you configure the window with stateful:false?

5 Jan 2011, 5:20 AM
It seems to me I don't use Ext.state.Manager.
I even don't use it any time.
But I use ExtJs cookie setter and reader.
That is now window that is Ext.Msg.show, but I will try with stateful.
Thanks Condor for many times of help.

5 Jan 2011, 5:31 AM
No, sorry, that can't be it. Ext.MessageBox already creates the window with stateful:false (correct).

What is the exact Ext and Chome versions you are using?

ps. Any specific reason that you are using 'mousedown' instead of 'click'?

5 Jan 2011, 5:42 AM
Ext JS version: 3.3.1
I use mousedown' instead of 'click' just so, I think that is the same or I am wrong?
The ite is here : http://vreshenie.ru/

5 Jan 2011, 6:28 AM
Any specific actions you are taking? I tried several things on the site, but the messagebox always displayed center.

5 Jan 2011, 6:36 AM
No I don't do something special.
I just click on different link(only two works at the moment).
Just 1 hour ago I tried so, wait about 1.5 minites then press only the bug link and message appear in wrong place,
than i refresh page and do the same none bug appear.
That only in Chrome, maybe that is not ExtJS bug but chrome's bug?

5 Jan 2011, 6:53 AM
No, tried waiting, but it still shows correctly.

I need a way to reproduce the problem, otherwise I won't be able to do anything...

5 Jan 2011, 6:57 AM
I will try write video.
Wait for a time please.

5 Jan 2011, 7:38 AM
Here is video