Apache OpenOffice (AOO) Bugzilla – Issue 46489
API: toolkit.UnoControlDialog::com::sun::star::awt::XWindow::addWindowListener()
Last modified: 2013-02-24 21:09:35 UTC
while calling the method setVisible(false) or setVisible(true) the XWindowListener::windowResized() was called.
To reproduce this behavior just start your office with parameter "-accept=socket,host=0,port=8100;urp;" and call inside a solar shell: checkapi -o toolkit.UnoControlDialog::com::sun::star::awt::XWindow
It's not a bug: VCL doesn't call the initial resize event before a Window really becomes visible. That's why you get the event when calling setVisible().
re-open, set back to CN
The concept of the test is to create a dialog and set it visilble. Then the part of the interface test set the dialog unvisble and visible. In both actions the wrong listener was called. So this could not be a initialize problem.
ok, then I will have a look at that...
...
cd: Accepted.