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.
when there are some library files in the results in "go to file" dialog and user clicks on them NB to get file name displayed below goes to file system in EDT, see attached stacktrace
Created attachment 124717 [details] stacktrace
Andrew, please, have a look
I would propose to made changes in the infrastructure rather than trying to overcome the problem in the cnd's code... IMO a good solution would be to extend FileDescriptor with a method like String getFilePath() and use it for selection/tooltips.
Created attachment 129195 [details] Proposed fix
not a problem after caching FO in FileBuffer http://hg.netbeans.org/cnd-main/rev/bcec3659efdd *** This bug has been marked as a duplicate of bug 218790 ***
Andrew, after issue #223668 was fixed. May it's still better to provide FO independent file name on our side?
What I cannot understand is why the status of the bug (that I'm working on) is changed by others (vv) while nothing was done for it's resolution yet. Yes, it requires a fix (the proposed one) on our side. Yes, I will do this - I was waiting for a fix in the API.
http://hg.netbeans.org/cnd-main/rev/3c6bd7c5e1c8
Integrated into 'main-golden', will be available in build *201212140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0546c30ff36e User: Andrew Krasny <akrasny@netbeans.org> Log: Bug #218774 - Accessing file system in EDT: selecting library files in go to file dialog Use CsmModelAccessor.getModel().enqueue() instead of own RP for opening a file.