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.
[ JDK VERSION : 1.6.0_07 ] [editor]Many render issue on insert code dialog tree views
Steps step 1: Create this class public class ClassWithLongMethodNames { public void printLongLoongLooooooooooooooooooogName() { System.out.println("printLongLoongLooooooooooooooooooogName"); } public void anotherLongLoongLooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooogName() { System.out.println("anotherLongLoongLooooooooooooooooooogName"); } } Step 2 : create this class public class Main { private ClassWithLongMethodNames methodNames; public Main(ClassWithLongMethodNames methodNames) { this.methodNames = methodNames; } } now try to invoke "Insert Code.." > "Delegate" Dialog pops up now first select or hover first method you will see incorrect rendering and now try to select other methods all will going to rendering incorrectly :( this issue affects all code insert dialog ui (I'll attach screen shots)
Created attachment 64956 [details] screen shot 1
User case 2 1 follow first case first two steps 2 now try to invoke "Insert Code.." > "Getter..." or "Setter" see screen shot 2
Created attachment 64958 [details] screen shot 2
Standard explorer views are used in the dialog to my knowledge.
no this is issue is on editor tree views that has customize to show checkboxes I guess that where is lives please correct me If I'm wrong
Reproduced - items in the tree view just disappear.
Yes, it appears to be really caused by our (java.editor) renderer. Sorry for confusion.
Happens only for extremely long methods.
*** Issue 141085 has been marked as a duplicate of this issue. ***
regression since 6.1
Maxi, can you take a look at it? Thanks
Fixed. There is still a minor bug concerning tooltips shown on mouseover when node labels are too long, I'll file a new issue about that. --- http://hg.netbeans.org/main/rev/6941659af004
Integrated into 'main-golden', available in build *200807310201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/6941659af004 User: Max Sauer <msauer@netbeans.org> Log: #140740: [65cat] [editor]Many render issue on insert code dialog tree views