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.
If you run IDE to show bundle properties annotation runide.exe -nosplash -J-Dorg.openide.util.NbBundle.DEBUG=true and invoke popup menu on a folder, you see "Refresh Folder" label there. BUT if you run IDE regularly, you see only "Refresh". I wonder where is that "Refresh" label from. In class org.openide.actions.FileSystemRefreshAction there is the following NbBundle.getBundle(org.openide.loaders.DataObject.class).getString ("LAB_Refresh"); so, one could expect that there should "Refresh Folder" from org.openide.loaders.Bundle.properties. What is the magic?
Jesse, you may know what's wrong because it starts in build 20030826, i.e. after your changes in actions.
I have no idea why anything would have changed as a result of my actions work, but anyway the label "Refresh" is from the special refresh action (org.netbeans.core.ExFsRefreshAction) put on ExLocalFileSystem's - the kind of FS you get when you mount a directory explicitly - or JAR files. If you have a plain LocalFileSystem, you get "Refresh Folder". Has nothing to do with bundle debug mode AFAIK. One or the other label should be chosen for consistency.
I am sorry for blaming you for that :-) Anyway, in bundle debug mode there is "Refresh Folder" and in regular IDE there is "Refresh" (both for the sampledir FS). Would it be a solution "ExFsRefreshAction extend FileSystemRefreshAction" and do not override getName() method? Just a guess.
"I am sorry for blaming you for that" - well, certainly something I did might have caused a change in some action. The code is behaving the way it is written if it shows "Refresh" for ExLFS (e.g. a regular mount you added) and "Refresh Folder" for LFS (e.g. sampledir), as it does for me; no idea why it would have behaved otherwise *before* now, since "Refresh" on ExLFS has been in place for a while. "Anyway, in bundle debug mode there is "Refresh Folder" and in regular IDE there is "Refresh" (both for the sampledir FS)." - I just tried a dev build with a fresh userdir and sampledir has "Refresh Folder". With bundle debugging, sampledir shows "R. F." from loaders.Bundle as expected; another mount shows "R." from core.Bundle as expected. I just tried with an Aug 21st dev build, and the behavior is the same. Maybe your tests were somehow broken before.
Fixed in trunk: /cvs/core/src/org/netbeans/core/Bundle.properties,v <-- Bundle.properties new revision: 1.372; previous revision: 1.371
Verified.