This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
reproducible with 061011_8 some dialogs related to work with diagrams seems to have main window as parent, some "good" dialogs have diagram window as parent stepswhere it looks worst: 1. turn on sdi mode 2. prepare screen as shown on attached screenshot (main window should be a bit larger than diagram editor) 3. press export as image from toolbar export as image dialog appears above diagram editor and blocks it and main window (it's ok) 4. try 'Zoom...' or 'Properties' or 'Layout|properties' from diagram context menu result good 5. press any layout button editor goes behind main window, It may be hard to bring it back (and impossible until layoput dialog opened) I can set always on top for editor window with my graphics driver and if I do that I'll get somethink like hangs after step 5 because layout dialog will be behind editor window (ESC to closee dialog works fine). The same problem exists for 'Associate With','Print Preview','Apply Desing Pattern'
Created attachment 35133 [details] initial state
Created attachment 35134 [details] after layout invocation
The root cause is that JCenterDialog (super class for those dialogs that caused the issue) uses IDE main window as the parent for the popup dialog, instead,it should take the parent of the activated top component.
sdi mode is not supported in NB6.0, can't reproduce it with trunk build in order to test the fix.
Correction. UI mode option was still available in NB 6.0 02/17/07 build. checked in to trunk and tested on NB5.5 as well.
SDI mode has been removed in NB6 M8 so this issue can't be verified from its original scanerios. Verifying other dialogs working properly.