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.

Bug 193530

Summary: Breakpoint properties dialog - condition text box/combo box looks like broken
Product: debugger Reporter: michal.owsiak
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.0   
Hardware: Macintosh (x86)   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: textbox/combo box margin issue
Condition text field is smaller than regular one

Description michal.owsiak 2010-12-17 07:48:22 UTC
Use-case:

1. Start debugger session
2. Put breakpoint in any place in code that will be executed
3. Open breakpoints list
4. Select breakpoint and choose it's properties

Condition text box/combo box looks like broken (see screen shoot)
Comment 1 michal.owsiak 2010-12-17 07:59:22 UTC
Created attachment 104183 [details]
textbox/combo box margin issue
Comment 2 Martin Entlicher 2010-12-17 12:03:55 UTC
This is Mac-specific, the condition field is too high and the expand icon is too close.
Comment 3 michal.owsiak 2010-12-17 12:07:14 UTC
Created attachment 104206 [details]
Condition text field is smaller than regular one
Comment 4 michal.owsiak 2010-12-17 12:07:37 UTC
On Linux (Suse 11.3) this field is also "broken"
Comment 5 Martin Entlicher 2010-12-17 12:20:32 UTC
I see, the same narrow field is displayed on Ubuntu with the default GTK L&F.
Comment 6 Martin Entlicher 2011-01-06 16:47:14 UTC
I do not think this can be really fixed. Every Look and Feel draws the combobox with a custom editor in a different way. I didn't find a way how to make the editor not to overlap the icon. This problem is only on Aqua L&F.
I've made some subtle changes, but it does not seem to improve anything.
changeset:   185879:087e92d7bdbb
http://hg.netbeans.org/main/rev/087e92d7bdbb
Comment 7 Quality Engineering 2011-01-07 08:00:57 UTC
Integrated into 'main-golden', will be available in build *201101070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/087e92d7bdbb
User: mentlicher@netbeans.org
Log: #193530 An attempt to improve the painting of condition combo-box.