mattermost / mattermost/desktop

[Bug]: Fullscreen size but not fullscreen, after restart of app

Open
#3,285 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Type/Bug Windows
Dominant language
TypeScript
Stars
2.3k
Forks
980
Avg merge
1d 5h
Merged PRs (30d)
30

Description

### Checks before filing an issue

- [x] This issue doesn't reproduce on web browsers (such as in Chrome). If it does, [issue reports go to the Mattermost Server repository](https://github.com/mattermost/mattermost-server/issues).
- [x] I have checked the [issue tracker](https://github.com/mattermost/desktop/issues) and have not found an issue that matches the one I'm filing.
- [x] This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
- [x] This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
- [x] This issue reproduces on the most recent [stable version](https://github.com/mattermost/desktop/releases/latest), or the most recent [prerelease version](https://github.com/mattermost/desktop/releases) of the Mattermost Desktop App.
- [x] I have read the [contribution guidelines](https://github.com/mattermost/desktop/blob/master/CONTRIBUTING.md).

### Mattermost Desktop Version

5.10.2

### Operating System

Windows 11 x64

### Mattermost Server Version

10.2.0

### Steps to reproduce

1. Open Mattermost Desktop
2. Make it full screen
3. Exit it fully from the tray
4. Open it again
5. Minimize it
6. Open it again (maximize it)

The windows is not roughly the size of fullscreen, but it is not. and causes clicks at the corners and edges to affect the other windows behind.

This is especially painful when clicking on the far top-right corner to close it, but then you accidentally close the fullscreen window behind it.

### Expected behavior

Fullscreen stays fullscreen after app restart, or maintains the smaller size that it normally would be. NOT nearly fullscreen size but not fullscreen

This screenshot is from the exact far top-right of the screen.
![Image](https://github.com/user-attachments/assets/7f13ee88-1741-4c71-8978-e0382f721141)

### Observed behavior

Fullscreen size but not fullscreen.

This screenshot is from the exact far top-right of the screen.
![Image](https://github.com/user-attachments/assets/cdfc8541-5034-4477-8d23-633b044804c8)
As you can see, the windows has a small distance from the corner; sometimes it's more left (like the image), and sometimes more right (like below).

![Image](https://github.com/user-attachments/assets/d692cab0-1f22-478f-a6f7-904c2dafb761)

### Log Output

```shell
---
```

### Additional Information

Please.
I'm hurting...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Windows 11 flow: enter fullscreen, exit from the tray, reopen, minimize, and restore the window. Trace how fullscreen and window bounds are saved and restored; done means a restarted app remains truly fullscreen or returns to its normal non-fullscreen size without exposing windows behind it.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.