apache / apache/netbeans

Save opened tabs / session every 5 minutes or so

Open
#8,643 7 comments 0 reactions 0 assignees View on GitHub
kind:feature needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Please save the current session every now and then (e.g. every 5 minutes). Perhaps number of minutes could be an option in prefs.

Currently, when the app crashes, all my tabs are gone. So saving only during closing is not sufficient. It would be really great to have peace of mind.

### Use case/motivation

All my tabs are gone after NB crashes. There might be various causes, but for me, it was issues with AWT like the ones described here: https://github.com/apache/netbeans/issues/8236 and possibly related: https://github.com/adoptium/adoptium-support/issues/1203.

The system might crash occasionally too. There might be a power outage (sometimes long enough that even the UPS battery isn’t sufficient).

### Related issues

https://github.com/apache/netbeans/issues/8236

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing where NetBeans saves the current session during application closing and where preferences are defined; then determine how periodic saving and its interval would fit those existing paths. Done means tabs and session state can be recovered after a crash or power loss, with the interval configurable if supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.