PDA

View Full Version : [FIXED] Desktop Window.restore() does not reset "minimize"



andreym
23 Jul 2009, 11:09 PM
Hello, Ext Team!
When we hide (not close) the window on desktop it calls setData("minimize", true) which is useful to determine whether window was hidden or closed.
But when we restore the window this value is not reset to null, so we cannot use it anymore.
I think it should be either reset on restore or it would be much more better if you make two different kinds of events for Window: Close and Hide.
I want to destroy window on close, but it is hard to implement now because there's no Close event for window.

andreym
24 Jul 2009, 12:17 AM
There's a mistake. I meant not Window.restore() itself (which is for maximized state), but restoring window from minimized state which is performed by taskbar.

sven
24 Jul 2009, 3:09 AM
Fixed in SVN.

ihatecode
24 Jul 2009, 7:27 PM
I noticed this behavior tonight (2.0.1), and found this post. Since I'm relatively new to gxt could someone please tell me how to get the latest from svn? A link to instructions works too.

thanks :)

sven
25 Jul 2009, 7:16 AM
SVN access is avalaible with a support subscription:

http://www.extjs.com/store/gxt/#support-table