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 140740 - [65cat] [editor]Many render issue on insert code dialog tree views
Summary: [65cat] [editor]Many render issue on insert code dialog tree views
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Max Sauer
URL:
Keywords: REGRESSION
: 141085 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-18 13:40 UTC by _ theanuradha
Modified: 2008-07-31 04:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen shot 1 (49.75 KB, image/png)
2008-07-18 13:51 UTC, _ theanuradha
Details
screen shot 2 (48.70 KB, image/png)
2008-07-18 13:59 UTC, _ theanuradha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ theanuradha 2008-07-18 13:40:23 UTC
[ JDK VERSION : 1.6.0_07 ]

[editor]Many render issue on insert code dialog tree views
Comment 1 _ theanuradha 2008-07-18 13:46:25 UTC
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) 

Comment 2 _ theanuradha 2008-07-18 13:51:39 UTC
Created attachment 64956 [details]
screen shot 1
Comment 3 _ theanuradha 2008-07-18 13:57:28 UTC
User case 2 
  1 follow first case first two steps 
  2 now try to invoke "Insert Code.." > "Getter..." or "Setter"
  see screen shot 2
  
   
  
Comment 4 _ theanuradha 2008-07-18 13:59:21 UTC
Created attachment 64958 [details]
screen shot 2
Comment 5 Jan Lahoda 2008-07-18 14:01:49 UTC
Standard explorer views are used in the dialog to my knowledge.
Comment 6 _ theanuradha 2008-07-18 14:09:05 UTC
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 
Comment 7 Petr Dvorak 2008-07-18 15:24:15 UTC
Reproduced - items in the tree view just disappear.
Comment 8 Jan Lahoda 2008-07-18 22:31:25 UTC
Yes, it appears to be really caused by our (java.editor) renderer. Sorry for confusion.
Comment 9 Jan Becicka 2008-07-21 16:58:30 UTC
Happens only for extremely long methods.
Comment 10 Jan Lahoda 2008-07-22 00:07:02 UTC
*** Issue 141085 has been marked as a duplicate of this issue. ***
Comment 11 Jan Becicka 2008-07-23 13:51:44 UTC
regression since 6.1
Comment 12 Jan Becicka 2008-07-23 14:26:17 UTC
Maxi, can you take a look at it? Thanks
Comment 13 Max Sauer 2008-07-30 13:33:28 UTC
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

Comment 14 Quality Engineering 2008-07-31 04:11:08 UTC
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