Apache OpenOffice (AOO) Bugzilla – Issue 75600
loop when executing a Basic/UNO dialog in sample document
Last modified: 2007-03-21 14:00:12 UTC
- open the smoketest document (smoketestoo_native/data/smoketestdoc.sxw, or r:\etools\10ertest680.sxw in Hamburg's build environment) - allow macro execution when being asked - press the "Options" button in the document => OOo loops
fs->pl: here is why I assigned this to you: The loops is because there is a window (a dialog, that is) whose parent is *itself*. I.e., somebody calls something like pDialog->SetParent( pDialog ) More precise, this call is in toolkit/source/awt/vclxwindows.cxx:2135: pDlg->SetParent( pDlg->GetWindow( WINDOW_FRAME ) ); What happens here is that the frame window of the dialog is the dialog itself. As a consequence, certain code places in VCL simply loop when they iterate through the parent hierarchy. I don't know whether this is a VCL problem or a toolkit problem. The toolkit code is in there for ages, so I assume some VCL behavior has changed. In general, I'd say that Window::SetParent should not allow to set the window itself as its own parent, to relieve all callers from this task. Additionally, it might be worth investigating what changed in VCL or Toolkit ...
Adding regression keyword. This does not happen in 680m205, but in 680m206. Thus targeting for 2.3.
dulicate to issue 75563 *** This issue has been marked as a duplicate of 75563 ***
closing