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 114059 - Deleting directories with very large number (10k files) of files needs UI feedback
Summary: Deleting directories with very large number (10k files) of files needs UI fee...
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2007-08-28 22:26 UTC by jschek
Modified: 2010-11-23 12:23 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jschek 2007-08-28 22:26:42 UTC
Deleting a directory that contains a very large number of files causes the IDE to be sluggish and does not provides 
very little indication that it's in-progress. The mouse turns to an arrow+hourglass, but no other indications. It 
appears the directory was not deleted. If I attempt to exit the IDE, it will alert me the Delete Action is still in 
progress. The biggest problem with this is the performance hit to the IDE while it's trying to delete the files.

The directory contains 10K+ (sometimes 40K+) output files in several hundred directories. The easy work-around is to 
go to the explorer and delete the files.

The IDE should provide some kind of feedback mechanism (Warning: you have a lot of files--this will take a long time 
to complete" or put a progress-indicator on the status bar like other long running tasks).
Comment 1 Jaroslav Tulach 2010-11-23 12:23:08 UTC
The IDE does shows some signs of background activity and does prevent the corruption of user data (by not allowing the user to exit via close button). I don't believe there is need for anything else, but I am ready to accept a patch.