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 228989 - Please Save Netbeans State every once in a while
Summary: Please Save Netbeans State every once in a while
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-25 07:45 UTC by tomzi
Modified: 2013-04-30 09:30 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2013-04-25 07:45:32 UTC
Steps
1) Open Netbeans, open some files within Netbeans
2) Shutdown computer via 'Ubuntu Shutdown'
3) Restart and open Netbeans

.---> Netbeans does not open the files I had open before I shutdown the computer




Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Linux version 3.5.0-27-generic running on amd64
Java; VM; Vendor = 1.7.0_21
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Comment 1 Marian Mirilovic 2013-04-25 08:24:32 UTC
I do not think we will ever do such level of persistence, leaving for WS ....
Comment 2 tomzi 2013-04-26 06:39:48 UTC
Well currently NB seems only to 'remember' it's last state when you close it 'correctly'. I don't know what Linux does differently, maybe just killing the processes? However when shutting down in linux netbeans definately does not remember it's last state.
Comment 3 Stanislav Aubrecht 2013-04-30 09:30:07 UTC
Close NetBeans before shutting down Ubuntu and you'll get your editors restored after restart. NetBeans needs some time to exit gracefully so I guess Ubuntu just kills the process if it doesn't quit fast enough.