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.
Development build #200606200200 of NetBeans 5.5 Mac OS X version 10.4.6, JDK 1.5.0_06 build #64 Description: ============ Mac OS users have bad luck trying to use code completion when they want to customize breakpoint and change/setup some condition because whenever they press CTRL+Space the code completion window shows up behind the actual dialog - see the screenshot to get what I mean. The strange thing is that it works fine in "Evaluate Expression" dialog. On the other hand the same problem happens in GUI designer when one wants to e.g. write some pre-init code of some component or so. If you can't do anything about it, please reassign accordingly. Please note that I have not found any workaround for this issue. Steps to reproduce: =================== 1. Create new Java application project with main class. 2. Toggle breakpoint at some line. 3. Right click the breakpoint icon in the gutter and choose "Breakpoint|Customize" from popup menu. 4. Type this. into "Condition" textfield and wait for code completion. 5. It will be displayed in the background.
Created attachment 31340 [details] Code completion shown behind actual dialog.
This is a problem of the code completion. We do not create those dialogs in debugger.
The Customize Breakpoint dialog now uses a regular JTextField where the code completion does not work so the problem is no longer present there but it's still relevant for GUI Designer. I've tested on Linux in pre-init code and it works fine. This shows that the javax.swing.PopupFactory.getPopup(owner=null) does not work correctly for modal windows on Mac. Not sure whether javax.swing.PopupFactory.getPopup(owner!=null) would make a difference. Closing as invalid for now.