PDA

View Full Version : [FIXED] Window: Tools in ghost/drag proxy disappear



cpag
7 Aug 2015, 12:44 AM
Dear Sencha Support team,

it seems if you drag a window around, the tools of its ghost panel are not rendered.
The first time it works, but at the second attempt, the ghost panel tools disappear.

Steps to reproduce:

Drag the window around -> ghost panel header shows tools
Drop the window
Drag the window again -> ghost panel header tools disappear


In the ghost method of Ext.window.Window, there is a suspendLayouts and resumeLayouts call for the ghost panel header.
If we change the resumeLayouts call to resumeLayouts with the flushOption set to true it works for us.



ghost: function(cls) {
...
ghostHeader.suspendLayouts();
...
ghostHeader.resumeLayouts(); // change this to: ghostHeader.resumeLayouts(true);
...

return ghostPanel;
}


A basic example is attached as a single html file:
52992

Thank you in advance,
Florian Brusius
CP Corporate Planning AG

joel.watson
15 Aug 2015, 10:51 AM
Thanks for the report! I have opened a bug in our bug tracker.