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.
Trunk build w/ jdk 1.4.2-b28. The VCS filesystem (VCS generic w/ CVS profile) was already mounted when the IDE started. I just expanded the nodes in the explorer, ran Tools/Diff on the "list" file (and a file from another FS). Then a new file was created in this directory where list resides. I wanted to refresh this directory to see the new file, but Refresh is not visible in the popup menu... See the attached picture.
Created attachment 12280 [details] Screenshot of the IDE where Refresh is missing in the popup
OK, you may say that the directory is "Local" but there MUST be a way to refresh it...
Hmm, that's it. The directory is [Local]. Refresh on [Local] directories was intentionally disabled, because it will fail. On the other hand, I agree, that there should be some way to refresh the [Local] directory. We should probably make another command for that, which will be enabled just on [Local] folders and will call fo.refresh().
Well, this should be probably fixed in vcscore module. When the Refresh (LIST) command will not be enabled, it can provide the simple fo.refresh() instead. But, shouldn't it have a different display name? It's functionality is different so it could be confusing.
IMHO listing the command "Refresh folder" directly in the popup, not under CVS sub-popup, could be enough. But if you find a better display name, it will be even better.
That's a good idea. It will be logical if there is either: Find... --------------- Refresh Folder --------------- CVS -> Commit VCS Filesystems ... --------------- or: Find... --------------- CVS -> Refresh VCS Filesystems ------- --------------- Commit ... I hope that this will not be confusing for users.
*** Issue 38071 has been marked as a duplicate of this issue. ***
Gabo, is this an acceptable solution? This is an annoying problem for users.
Fixed as proposed in the main trunk: /cvs/vcscore/src/org/netbeans/modules/vcscore/actions/Bundle.properties,v <-- Bundle.properties new revision: 1.34; previous revision: 1.33 RCS file: /cvs/vcscore/src/org/netbeans/modules/vcscore/actions/RefreshLocalFolderAction.java,v done Checking in actions/RefreshLocalFolderAction.java; /cvs/vcscore/src/org/netbeans/modules/vcscore/actions/RefreshLocalFolderAction.java,v <-- RefreshLocalFolderAction.java initial revision: 1.1 Checking in DefaultVcsFactory.java; /cvs/vcscore/src/org/netbeans/modules/vcscore/DefaultVcsFactory.java,v <-- DefaultVcsFactory.java new revision: 1.17; previous revision: 1.16
Verified in build 20040126-1116.