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 a read-only file is opened, then the tab shows the filename and r/o (readonly) flag. While the file is still opened and the file is made writable, the tab is not getting refreshed and the r/o flag still exists in the tab. It would be nice if that r/o flag gets removed or added whenever the read-only attribute of the file is changed.
Yes, that right, it doesn't work in NB 5.0 neither. But when you start to edit it, it chenges itself diplay name and it's editable.
I doubt I can implement it. There is no notification that a file changed its state. Also I do not consider this to be significant at all.
Radek, I believe that without some notification from filesystems, I cannot do anything. Can you implement such kind of notification? You watch lastModified, so possibly you could also watch for canWrite and if it changes fire fileChange or fileAttributeChange event?
Reassigning to new module owner jskrivanek.
Possible but may slowdown refresh.
Fixed as issue 129178. *** This issue has been marked as a duplicate of 129178 ***