Cloning window might go wrong
Posted: Fri Jul 01, 2011 08:41
I use the Window::clone to clone new window, but some properties in new window are not correct.
It seems that clone() will clone un-banned properties from src to dst window, including `LookNFeel' property.
And, it seems that Cloning `LookNFeel' may cause some properties to be overwritten again.
our solution is to ban the property `LookNFeel' in Window::addStandardProperties(). Well, it might not be a nice solution.
It seems that clone() will clone un-banned properties from src to dst window, including `LookNFeel' property.
And, it seems that Cloning `LookNFeel' may cause some properties to be overwritten again.
our solution is to ban the property `LookNFeel' in Window::addStandardProperties(). Well, it might not be a nice solution.