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 116628

Summary: moving opened files tab in the editor is very slow
Product: platform Reporter: madiot <madiot>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: VERIFIED FIXED    
Severity: blocker CC: anebuzelsky, dsimonek, issues
Priority: P3 Keywords: PERFORMANCE, PLAN
Version: 6.x   
Hardware: Macintosh   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 123110    

Description madiot 2007-09-25 09:29:21 UTC
open 5/10 java files from a java project containing about 150 files.
try to shuffle the tabs, getting the orange outline of the tab is already slow to appear
and moving it to desired location is both slow and imprecise.

i always had this problem for as far as netbeans 4, but now testing in 6beta would have thought something should be done
to address this.
Comment 1 David Simonek 2007-10-08 13:55:25 UTC
*** Issue 96658 has been marked as a duplicate of this issue. ***
Comment 2 Stanislav Aubrecht 2007-11-01 16:14:32 UTC
btw, i noticed that even resizing of the main nb window isn't very smooth either. perhaps it's a general apple jdk issue.
Comment 3 David Simonek 2007-11-30 11:03:11 UTC
Description:
- we need to check glass pane handling, either remove it completely or use faster technique
- consider to get rid of JDK DnD support, we don't need to move windows to other applications, perhaps just checking
user gesture for drag start and tracking movement will be cheaper

Time estimation: 3 man weeks if we decide to rewrite DnD support

 
Comment 4 Stanislav Aubrecht 2008-01-10 11:48:55 UTC
fixed

/cvs/core/windows/src/org/netbeans/core/windows/view/dnd/WindowDnDManager.java,v  <--  WindowDnDManager.java
new revision: 1.28; previous revision: 1.27
done
Checking in EnhancedDragPainter.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/dnd/EnhancedDragPainter.java,v  <--  EnhancedDragPainter.java
new revision: 1.5; previous revision: 1.4
done
Checking in DropTargetGlassPane.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/dnd/DropTargetGlassPane.java,v  <--  DropTargetGlassPane.java
new revision: 1.18; previous revision: 1.17
done
Comment 5 Lukas Hasik 2008-02-07 10:32:54 UTC
*** Issue 126270 has been marked as a duplicate of this issue. ***
Comment 6 Lukas Hasik 2008-02-07 12:43:54 UTC
v