As mentioned by reporter, destructor is not called when nsPluginNativeWindowGtk2 gets removed. In consequence window/widget does not get properly removed from gtk widget hierachy.
This patch removed widget properly from hierachy.
I did not change destructor code (which does basically the same, but is not called), but instead set mGtkSocket = 0 in this patch ... so should be safe.
Should be the same on trunk.
Someone can please verify that this fixes 1.8 + trunk build so i can ask for review?
Created attachment 257133
maybe this (1.8 branch)
As mentioned by reporter, destructor is not called when nsPluginNativeW indowGtk2 gets removed. In consequence window/widget does not get properly removed from gtk widget hierachy.
This patch removed widget properly from hierachy.
I did not change destructor code (which does basically the same, but is not called), but instead set mGtkSocket = 0 in this patch ... so should be safe.
Should be the same on trunk.
Someone can please verify that this fixes 1.8 + trunk build so i can ask for review?