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 186742 - remote file validation is way too slow
Summary: remote file validation is way too slow
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: DBX-Gui (show other bugs)
Version: 7.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: ivan
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-05-26 14:10 UTC by Chihin Ko
Modified: 2014-04-14 19:34 UTC (History)
2 users (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 Chihin Ko 2010-05-26 14:10:36 UTC
debug corefile dialog now has remote file chosen and remote file validation,
for validation, because each key stroke will trigger validation on remote
host, user can not get immediate response of key stroke, we may want to 
reconsider if we want to do this remote file validation or do some optimizatio
here.
Comment 1 Leonid Lenyashin 2010-05-26 14:17:14 UTC
DLight used to have a similar issue. Andrew may be able to share his experience in fixing it.
Comment 2 Vladimir Kvashin 2010-05-26 14:43:44 UTC
My personal NetBeans user experience says (or, better, cries) that file verification on each keystroke isn't right thing to do even without remote. 

Many times I was irritated with very slow NetBeans response, and then thread dump showed me that slow disk operations are made in UI thread. So user may run into the same trouble with just slow file system (e.g. /net/...).

So I believe such problems should be solved on client side - via scheduling a delayed task in a separate thread and disabling OK button (or other controls) until input is verified.
Comment 3 Egor Ushakov 2010-05-26 14:51:27 UTC
Do we need to notify user that validation is in progress?
Comment 4 Vladimir Kvashin 2010-05-26 15:58:18 UTC
Ideally, we should. Usually we have a place where error message is displayed in the case data is not valid - we can show "Validating..." message in it. That's how it is done when adding a new remote tool chain.