elementary / elementary/gala

Not remembering windows sizes and positions for apps

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

Description

### What Happened?

Elementary doesn't seem to remember window sizes and positions for windows and apps, opening at random positions and sizes mostly at the bottom of the screen and not stacking on top of each other like Windows Operating System (image attached below for reference).

![Image](https://github.com/user-attachments/assets/b3c090ab-3e1a-41dd-99d1-7b3432b9478f)

### Steps to Reproduce

Firefox

1. Open Firefox and Maximize it.
2. Click the burger menu and open "New Private Window" (should open maximized).
3. Click Restore Down (restore window to normal) on Private Window.
4. The Private Window restores down to the bottom of the screen on the right side on a dual monitor setup and the window size is much larger than the original window.

Web (Default Browser)

1. Open Web, maximize it and then close it.
2. Open Web again (should open maximized).
3. Open Incognito (Should open maximized).
4. Restore Down Incognito window to normal (it restores down to the bottom right of the screen instead)
5. Now Restore Down the normal Web window and it restores down to the bottom of the screen same as incognito.

Files App

1. Open Files App and maximize it.
2. Close Files App while maximized.
3. Open Files App again (should open maximized).
4. Restore Down Files App (it restores to the bottom right of the screen instead, not remembering the normal window position).

### Expected Behavior

When I move and resize a window of apps, it should remember their size and positions for the current session and all future sessions even after a reboot/shutdown (unless moved or resized by the user, or freshly reinstalled).

The new instances of the app should stack slightly lower and on top of each other like in Windows Operating System (see attached image above).

When I close an app in maximized state, opening the app again should open in maximized window state. And restoring down should return to its normal window position and size.

### OS Version

8.x (Circe)

### OS Architecture

amd64 (on most hardwares)

### Session Type

Secure Session (Wayland, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell

```

### Hardware Info

_No response_

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.