element-hq / element-hq/element-web

v1.11.68 update causes Element window to move upwards and left when toggling visibility

Open
#32,096 1 comment 0 reactions 0 assignees View on GitHub
A-Electron O-Occasional S-Minor T-Defect Z-Linux Z-Upstream
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

0. Update Element from 1.11.67 to 1.11.68.
1. Move the Element window to a known position. I moved it to the bottom right of the screen so that it snaps to the task bar and the edge of the screen.
2. Click on the tray icon to hide the window.
3. Click on the tray icon to show the window again.

### Outcome

#### What did you expect?
The Element window should re-open in the previous position, touching the task bar and the edge of the screen in my case. Repeatedly hiding and showing the window will keep the it in the same position.

#### What happened instead?
The Element window has moved upwards and slightly to the left. The amount it moved upwards is exactly the same as the height of the top window decoration. The amount it moved left is exactly the same as the width of the left/right window decoration. Repeatedly hiding and showing the window will make it crawl across the screen until it reaches the top left corner of the screen. Doing this in a multi-monitor setup will not make the window move to a different monitor.

#### Further information
The issue appeared after updating the element-desktop package from 1.11.67 to 1.11.68 yesterday and then restarting Element. No other packages were updated at the same time.

### Operating system

Debian Linux (Bookworm), with Mate desktop and its Marco window manager

### Application version

Element version: 1.11.68; Crypto version: Rust SDK 0.7.0 (068a0af), Vodozemac 0.6.0

### How did you install the app?

Element Debian repository (https://packages.element.io/debian/), followed the instructions from https://element.io/download#linux

### Homeserver

_No response_

### Will you send logs?

No

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.