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 202952 - Scrolling to drag and drop files on the Projects view does not work properly
Summary: Scrolling to drag and drop files on the Projects view does not work properly
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 7.0.1
Hardware: All All
: P4 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-02 16:41 UTC by mjr_1974
Modified: 2011-11-03 09:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mjr_1974 2011-10-02 16:41:35 UTC
Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Linux version 2.6.35-30-generic running on amd64
Java; VM; Vendor = 1.6.0_26
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.1-b02

When dragging some files from a package that is visible in the Projects view to another that is not visible a smooth and constant scrolling is expected to happen when the cursor reaches a zone at the end of the view. I consider this zone to be too small and when the cursor triggers the scrolling, it just shows one or two additional nodes, so I need to move it up and down again several times to actually get to the package in which I want to drop the files.
Comment 1 Jaroslav Tulach 2011-10-14 19:10:31 UTC
Swing related issue.
Comment 2 Stanislav Aubrecht 2011-10-19 11:25:14 UTC
see TreeView, line 2190. the insets define the active auto-scroll zones
Comment 3 Jaroslav Tulach 2011-11-03 09:09:23 UTC
OK, try experiement with the code as Standa suggested, come back with a patch that works better. Without your help, I leave it as it is.