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 217137 - local history doesn't work with files not associated with projects
Summary: local history doesn't work with files not associated with projects
Status: REOPENED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Localhistory (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-21 09:14 UTC by tylik
Modified: 2014-10-10 15:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch (2.78 KB, patch)
2014-10-10 15:13 UTC, Ondrej Vrabec
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tylik 2012-08-21 09:14:30 UTC
When I used Netbeans 6.9.1 I was able to browse local history for any file, either it was part of the NB project or a single file, not associated with any project. With Netbeans 7.2 local history for files not in project disappeared. Does anyone else has this problem or is it just a new behavior of the local history plugin?
Comment 1 Tomas Stupka 2012-09-04 16:33:12 UTC
i've tried 7.2 and also a current dev build and worked for me.

> project. With Netbeans 7.2 local history for files not in project disappeared.
what exactly does this mean? you can't find the action anymore, or are no history entries created?

don't get me wrong, but just in case please note, that the "Local History" was renamed to "History" in the popup and main menu

thanks
Comment 2 tylik 2012-09-04 17:34:24 UTC
> project. With Netbeans 7.2 local history for files not in project disappeared.

I'm using Netbeans to edit remote files. I don't create Netbeans project, but simply open remote file and start editing. In this case history is not remembered at all. There are no history entries. 
In Netbeans 6.9 this feature worked fine.

Can you confirm that your Netbeans copy works fine in such cases?
Comment 3 tylik 2012-09-04 17:55:21 UTC
Local files are not rememberd also, if they are not part of project.
Comment 4 Tomas Stupka 2012-09-12 11:31:48 UTC
> I'm using Netbeans to edit remote files. I don't create Netbeans project, but
> simply open remote file and start editing. In this case history is not
> remembered at all. There are no history entries. 
> In Netbeans 6.9 this feature worked fine.
please describe your setup - how do get the remote file, etc 

thanks
Comment 5 Tomas Stupka 2012-09-18 15:00:32 UTC
any update on this?
Comment 6 Tomas Stupka 2012-10-25 19:48:00 UTC
no response from reporter for a long time. closing.
Comment 7 rjolly 2014-10-02 14:02:30 UTC
I have the same problem (in 7.4). To open a file not in a project you can use the Favorites window.
Comment 8 Ondrej Vrabec 2014-10-10 15:13:22 UTC
Well, i can reproduce at some point only with already open files. When the IDE starts and automatically opens files opened in a previous session then Local History does not work for them. It may be easily fixed when you close the file and reopen it again. Does that help?
If yes then my patch may help.
Comment 9 Ondrej Vrabec 2014-10-10 15:13:41 UTC
Created attachment 149839 [details]
patch