apache / apache/netbeans

Recovering from sleep destroys functionality in some editor windows (Windows 11)

Open
#9,167 6 comments 0 reactions 0 assignees View on GitHub
kind:bug needs:triage os:windows
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 28

### What happened

Recovering from sleep destroys functionality in some editor windows, this is happening in latest Windows 11 pro. Never happened in windows 10 (NetBeans 27), but I am not sure though if it is NetBeans version related. It is very frequent in my case. Editor window loose ability to use find (ctrl+F) and right click does not work. Closing and reopening the specific file, restores editor functionality. I am not sure but those editors affected might me those that have been previously edited in the current NetBeans session. Has anyone using windows 11 experienced such an issue?

### Language / Project Type / NetBeans Component

_No response_

### How to reproduce

I am not sure how to reproduce. For me just a lid close can do this easily. Run as administrator does not help. It might be a Windows 11 only issue.

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Windows 11 pro

### JDK

25

### Apache NetBeans packaging

Apache NetBeans binary zip

### Anything else

It happens very often. Opening the Find (ctrl+F) that brings the Editor Find bottom panel, prevent this sometimes, and this probably has to do with what is the active editor. So as a workaround I try to open Find in all editor windows I have open. I am used to have many open files, more that 30 but I do not think number of open editors is related.

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

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure in NetBeans editor windows on Windows 11 after closing and reopening the laptop lid, focusing on files already edited during the session. Check whether Ctrl+F and right-click stop working and whether reopening the affected file restores them; done means editor functionality remains available after resume without reopening files.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.