apache / apache/netbeans

UI scaling factor does not adjust when screen disconnects

Open
#8,918 2 comments 0 reactions 0 assignees View on GitHub
kind:bug needs:triage os:linux pending-response UI
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 27

### What happened

After disconnecting the external monitor, NB is moving to the laptop screen, and nothing is readable due resolution.

Image

Floating windows after moving NB to another screen (external) is displaying on the origin screen.

Image

### Language / Project Type / NetBeans Component

_No response_

### How to reproduce

After disconnecting the monitor and moving NB to the laptop screen, recount resolution the same way as after restarting NB app.

The best behavior for floating windows could be similar to "find in project" window.

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

Apache NetBeans 27

### Operating System

Linux/Ubuntu

### JDK

javac 25

### Apache NetBeans packaging

Apache NetBeans Snap Package

### Anything else

_No response_

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

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the monitor disconnect and screen-move scenarios described in the issue on Linux/Ubuntu with the Snap package. Investigate how NetBeans recalculates UI scaling and repositions floating windows across screens; done means readable UI scaling after disconnection and floating windows appearing on the active screen.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.