-
Bug
-
Resolution: Fixed
-
P2
-
7u4
-
b08
-
x86
-
os_x
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8000422 | 8 | Petr Pchelko | P2 | Closed | Fixed | |
JDK-8018949 | 7u45 | Alexander Zuev | P2 | Closed | Fixed | b01 |
JDK-8000286 | 7u10 | Alexander Zuev | P2 | Closed | Fixed | b12 |
Views and Palette keeps scrolling back to the drag position after DnD.
Reported only with 7u4 on Mac.
In NetBeans, after dragging and dropping something from Projects or Files Views or Palette in GUI designers, when you scroll the View or Palette up/down, it keeps scrolling itself back to the drag position, making it impossible to select nodes/components not visible without scrolling to them.
http://netbeans.org/bugzilla/show_bug.cgi?id=211406
Debugging revealed that the scrolling is caused by java.awt.dnd.DropTarget.DropTargetAutoScroller. This class is responsible for scrolling a tree/list when something is dragged over it. For some reason the timer isn't reset when the item is dropped or the drag is aborted. Seems like JDK bug since it works fine in other JDK versions.
I've created a sample application that demonstrates the problem. The application uses AWT implementation of DND and runs fine under JDK 1.6
Reported only with 7u4 on Mac.
In NetBeans, after dragging and dropping something from Projects or Files Views or Palette in GUI designers, when you scroll the View or Palette up/down, it keeps scrolling itself back to the drag position, making it impossible to select nodes/components not visible without scrolling to them.
http://netbeans.org/bugzilla/show_bug.cgi?id=211406
Debugging revealed that the scrolling is caused by java.awt.dnd.DropTarget.DropTargetAutoScroller. This class is responsible for scrolling a tree/list when something is dragged over it. For some reason the timer isn't reset when the item is dropped or the drag is aborted. Seems like JDK bug since it works fine in other JDK versions.
I've created a sample application that demonstrates the problem. The application uses AWT implementation of DND and runs fine under JDK 1.6
- backported by
-
JDK-8000286 [macosx] Views keep scrolling back to the drag position after DnD
-
- Closed
-
-
JDK-8000422 [macosx] Views keep scrolling back to the drag position after DnD
-
- Closed
-
-
JDK-8018949 [macosx] Views keep scrolling back to the drag position after DnD
-
- Closed
-
- duplicates
-
JDK-2223208 [macosx] Regression in b11: autoscroll after drop
-
- Closed
-
- relates to
-
JDK-7124627 [macosx] Please sync up changes from workspace macosx-port into the jdk7u-osx
-
- Closed
-