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.
Occurs in build 200908040201 with JDK6u15. When new php project from remote server is created and wrong initial path is chosen, the IDE freezes until the source files are downloaded and the download can't be stopped. This becomes quite an issue, when eg. initial path "/" is chosen, because the IDE is trying to download the entire server and it cant be stooped (the only way is to kill the process).
Ondro, could you please have a look at this issue? I understand it can be issue but currently there's _no_ way to cancel the download (normally, one can click on the progress to cancel it but in this particular case, the wizard window is still visible and has focus and waits for the files). Maybe the new last step (after issue #169781 is fixed) could be used? We could add there a warning or list of files that are going to be downloaded. Thanks.
Yes, last wizard step would be a good way to deal with this. Also, the cancel button should probably be used to display a warning: "Do you want to cancel download of remote files? [yes] [no]"
> Also, the cancel button should probably be used to display a warning: "Do you want to cancel download of > remote files? [yes] [no]" IMHO not doable, reason explained in my previous comment.
I see. Can we display a progress indication in the last wizard step with a way (button?) to cancel the process then?
We agreed that I will add a list of files to be downloaded to the last step - Ondro, could you please advice which UI form would be the best? Thanks.
Please add a new wizard step, saying: --------------- WIZARD PANE ---------------- Confirmation The following files will be downloaded after you click finish. The download process can not be cancelled once started! ------------------------------------- | FILE FOLDER | file1.php / | file2.php / | file3.php / | file1.php /backup/ | file2.php /backup/ | ... ------------------------------------- These files will be automatically synchronized with the server every time you run or debug the project. ----------- END OF WIZARD PANE -------------- Note that this is the UI to be presented when there is AT LEAST ONE file to be downloaded. When there is nothing to be downloaded, it should be handled as a corner-case and user should be warned what's wrong .. and should not be allowed to continue.
As agreed with Ondřej, the files will be shown with their full "relative" paths (as in Upload/Download dialogs).
*** Issue 169781 has been marked as a duplicate of this issue. ***
Fixed, please verify. Thanks. http://hg.netbeans.org/web-main/rev/ae6aaa1df5c3
Integrated into 'main-golden', will be available in build *200908121401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ae6aaa1df5c3 User: Tomas Mysik <tmysik@netbeans.org> Log: #169818: When wrong project is chosen in Wizard, the download is unstoppable
Verified, the list of files is shown and when confirmed, the listed files are downloaded.