elementary / elementary/gala

Resuming laptop from sleep with external monitor connected doesn't retain configuration

Open
#1,488 2 comments 2 reactions 0 assignees View on GitHub
Incomplete Multiple Displays
Dominant language
Vala
Stars
302
Forks
83
Avg merge
1d 1h
Merged PRs (30d)
7

Description

### What Happened?

I upgraded from Elementary 5.1 to 6.1.

My laptop's main display is running at 3200×1800 resolution with HiDPI×2. I regularly plug an external 4K monitor, which is autoconfigured just as expected (position, resolution, and HiDPI).

I put my laptop to sleep multiple times a day, by closing the lid and turning off the external monitor. Coming back later from sleep, by opening the lid and turning the external monitor on, leads to a complete reconfiguration of the displays with nonsensical values after I login:

- Both monitors are reduced to HiDPI×1;
- The main monitor displays some kind of picture in picture (the whole screen is displayed on the monitor _and_ duplicated to the top-left quarter of the monitor)
- The top-menu and dock are moved to the external monitor.

I must reach for the settings, manually modify everything (move screens around, select the main monitor, select the HiDPI) every time _multiple_ times a day.

### Steps to Reproduce

Go to sleep with external monitor connected and turn it off. Turn the computer back on and log in. Screens are a mess.

### Expected Behavior

The last known display configuration is maintained or reapplied.

This used to be working flawlessly in Elementary 5. I never had to access the display settings.

### OS Version

6.x (Odin)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

Dell XPS 15 9530 (Haswell, integrated HD Graphics 4600) with and external 4K Dell monitor.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.