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.

Bug 90026 - qnav works incorrectly after source file was renamed
Summary: qnav works incorrectly after source file was renamed
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-24 16:38 UTC by dnikitin
Modified: 2013-05-17 08:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
wrong contents of the qnavigator (78.79 KB, image/jpeg)
2006-11-24 16:40 UTC, dnikitin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dnikitin 2006-11-24 16:38:21 UTC
qnav works incorrectly after source file was renamed.

to reproduce:
1) Create any c/c++ project (e.g. sample project Welcome)
2) Open in editor welcome.cc source file
3) Rename welcome.cc in projects tab (e.g. to welcome_edit.cc)
4) Go to editor and add new function to welcome_edit.cc (e.g. "void foo(){}")
5) Press Ctrl+S to save the source file.

Now you can see new function foo() in class view, but foo() is absent in qnavigator.

See attachment.


P.S. There is a workaround. If you will close source file and will open it again
then qnav will work correctly.
Comment 1 dnikitin 2006-11-24 16:40:25 UTC
Created attachment 36275 [details]
wrong contents of the qnavigator
Comment 2 Alexander Simon 2006-12-22 08:22:54 UTC
qnav processes file rename now (model too)