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 243218 - The php editor is not remembering all of the php files that have been left open when NB is closed down and then booted up.
Summary: The php editor is not remembering all of the php files that have been left op...
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
: 242788 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-24 14:42 UTC by markhorner
Modified: 2016-07-07 07:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (64.26 KB, text/plain)
2014-03-24 14:42 UTC, markhorner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markhorner 2014-03-24 14:42:08 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 8 version 6.2 running on x86
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) Client VM 24.45-b08

The php editor is not remembering all of the php files that have been left open when NB is closed down and then booted up.

For example: when working with the php editor on a new php project I leave three files open when I close down NB. 

When I next open NB, the three files are open in the editor, as one excepts. Now when I open another two files, for example, I have five files open when I next close down NB. 

However, this time when I open NB the editor instead of opening five files opens only the three earlier files.
Comment 1 markhorner 2014-03-24 14:42:12 UTC
Created attachment 146274 [details]
IDE log
Comment 2 Ondrej Brejla 2014-03-25 09:14:15 UTC
Not sure, but imho project area, right? :/
Comment 3 Tomas Mysik 2014-03-25 10:01:51 UTC
Not PHP specific, IMHO... Please evaluate, thanks.
Comment 4 markhorner 2014-03-25 11:19:21 UTC
I can verify that from my experience it is not specific or limited to php files. It also affects html files, but it does not affect js files.
Comment 5 markhorner 2014-03-27 23:15:22 UTC
Expanding on this issue, I note also that the state of the treeviews (Projects and Services) do not retain their state when NB is closed. I have not tested Navigator treeview. 

This issue appears to be a variation of the issue I raised at 242788. And so I now think both issues stem from a common issue and can be merged under the issue heading of "IDE not saving state". I will mark 242788 as a duplicate because this issue (243218) has attracted the comments (nb: I do not know how to change the issue title, however). 

I went back and tested this issue on NB7.4 (NetBeans IDE 7.4 (Build 201310111528)), where I did not have any of these issues prior to installing 8.0. However, these issues now appear in NB7.4 and that leads me to assume (rightly or wrongly) that there is a common config file shared by both versions which might explain why the issue now surfaces in NB7.4. And it also leads me to assume that the issue originated in NB8.0.

This is a worrisome issue because it is very time consuming to reset the IDE to its state previous to when it was closed down and it is also frustrating when I cannot recall the precise state of the IDE.
Comment 6 markhorner 2014-03-27 23:19:22 UTC
*** Bug 242788 has been marked as a duplicate of this bug. ***
Comment 7 Ondrej Brejla 2014-05-21 18:29:28 UTC
Sorry, not sure why Marian reassigned it back to PHP when user said that it doesn't work for other files either...
Comment 8 Tomas Mysik 2014-05-23 06:18:04 UTC
Nothing to do with PHP. Please evaluate or reassign to the proper component. Thanks.
Comment 9 Martin Balin 2016-07-07 07:30:43 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss