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 122008 - Project: Downloaded files are shown in project with delay
Summary: Project: Downloaded files are shown in project with delay
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Andrew Korostelev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-15 14:20 UTC by kozlov
Modified: 2008-02-22 13:11 UTC (History)
3 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 kozlov 2007-11-15 14:20:16 UTC
Reproduced in build071115.

Steps to reproduce:

- create project associated with server;
- invoke download on project.

When downloading process is finished files list appears not immediately.
Comment 1 Andrew Korostelev 2007-11-15 14:30:40 UTC
Not sure it depends on us.
We copy files independently from NB FileObjects.
And project tree listens for changes in Filesystem.
Will look how it can be improved.
Comment 2 Alexei Mokeev 2007-11-20 08:20:12 UTC
Guys, sometimes the delay is up to tens of seconds and it is very bad. Let's make sure that we fix it for 6.0.
Tomasz, do you have any clue, how we can force project to rescan files after download ? 
Comment 3 Tomasz Slota 2007-11-20 09:53:22 UTC
Have you tried calling refresh() on the FileObject of the parent directory and/or calling resfresh on the FileSystem?

Anyways, Radek Matous is the best person to ask questions about the FileObjects API, I am putting him on the CC. 


Comment 4 Andrew Korostelev 2007-11-20 11:11:47 UTC
thanks.
this works perfectly.

I have tried to listen to fs updates in project tree...
have got side effects but not expected result.

fixed.
Now update parent dir. after file is downloaded.
Comment 5 Andrew Korostelev 2007-11-27 12:40:37 UTC
issue is still reproducible for downloading from local server under solaris/linux system.
should be fixed for 6.0
Comment 6 Andrew Korostelev 2007-11-27 12:43:03 UTC
fixed.
it was system-dependent issue. Was not reproducible under windows and mac
Comment 7 kozlov 2007-12-03 17:36:33 UTC
Verified in beta.