Bug #9001 2006-10-04 02:03

rathapolk

Untitled1 in Open Files tree after save as

Once I have added a new empty file to a project, an Untitlled(N) file is created and C::B asks for saving the file. After I save the file as cpp source file, the 'Untitled(N)' still exists in Open Files tree. Moreover It can not be removed from the tree by the context menu. The context menu doesnot popup.

--Next--

Once I have double-click to open the cpp source file in Projects tree, the file is not added to Open Files tree.

Thanks

Category
Application::WrongBehaviour
Group
 
Status
Closed
Close date
2006-10-06 20:15
Assigned to
 
dermeister 2006-10-04 06:45

What version did you use? RC2? A nightly build?

I recently worte three patches to solve problems with the OpenFilesTree. Two of them were applied some weeks ago, the last one is still waiting for it. See here:

https://developer.berlios.de/patch/?func=detailpatch&patch_id=1529&group_id=5358

It should solve your problem.

rathapolk 2006-10-04 16:56

It was a nightly build on 1 oct 2006 (rev3002).

dermeister 2006-10-04 21:15

OK, did you try my patch?

Anyway, the problem you described after --Next-- will be solved by this patch, too. The thing here is: The file is already open, thus (due to a previous patch I wrote) the file is not added to the OpenFilesTree but it is selected if you double-click it in the project tree. But as it has the wrong name it can't be selected.

Once my patch is applied this situation should never appear again thus this problem will be solved, too.

killerbot 2006-10-06 20:15

applied patch [ Patch #1529 ] OpenFileTree was once more not updated correctly, which fixes this bug

rev 3027